From 8b893d11162d7b775c0f6468711aa3be847ff1be Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 20 Sep 2022 01:12:22 -0400 Subject: [PATCH] skip service correction if config is absent --- java/net/i2p/router/WinLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/net/i2p/router/WinLauncher.java b/java/net/i2p/router/WinLauncher.java index 8f1db9d..72a0296 100644 --- a/java/net/i2p/router/WinLauncher.java +++ b/java/net/i2p/router/WinLauncher.java @@ -168,8 +168,8 @@ public class WinLauncher extends CopyConfigDir { } else { return; } - i2pRouter = new Router(routerconf, System.getProperties()); if (isInstalled("i2p") || checkProgramFilesInstall()) { + i2pRouter = new Router(routerconf, System.getProperties()); String newsURL = i2pRouter.getConfigSetting("router.newsURL"); if (newsURL != null) { if (newsURL.contains("win/beta")) {