prestium: read i2p port from env

This commit is contained in:
tobtoht
2023-03-04 00:33:08 +01:00
parent 33dd6f3c83
commit 3d7c88e10f
3 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
// Prestium initial config
if (config()->get(Config::firstRun).toBool() && Prestium::detect()) {
config()->set(Config::proxy, Config::Proxy::i2p);
config()->set(Config::socks5Port, 4448);
config()->set(Config::socks5Port, Prestium::i2pPort());
}
if (parser.isSet("use-local-tor"))