From a267bb7d65ce4acc2998aee90d81527d6f33337c Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 20 Sep 2022 00:09:17 -0400 Subject: [PATCH] also fix backupNewsURL in the case of conflicting bundled and un-bundled intalls --- java/net/i2p/router/WinLauncher.java | 2 +- java/net/i2p/router/WindowsServiceUtil.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java/net/i2p/router/WinLauncher.java b/java/net/i2p/router/WinLauncher.java index b2be9d5..6ef37d8 100644 --- a/java/net/i2p/router/WinLauncher.java +++ b/java/net/i2p/router/WinLauncher.java @@ -176,7 +176,7 @@ public class WinLauncher extends CopyConfigDir { logger.info( "checked router.backupNewsURL config, containes win/beta in a service install, invalid update type"); if (i2pRouter.saveConfig("router.backupNewsURL", - ServiceUpdaterString())) { + ServiceBackupUpdaterString())) { logger.info("updated routerconsole.browser config " + appImageExe()); } diff --git a/java/net/i2p/router/WindowsServiceUtil.java b/java/net/i2p/router/WindowsServiceUtil.java index 6788889..a2411f8 100644 --- a/java/net/i2p/router/WindowsServiceUtil.java +++ b/java/net/i2p/router/WindowsServiceUtil.java @@ -155,6 +155,9 @@ public class WindowsServiceUtil { public static String ServiceUpdaterString() { return "http://tc73n4kivdroccekirco7rhgxdg5f3cjvbaapabupeyzrqwv5guq.b32.i2p/news.su3"; } + public static String ServiceBackupUpdaterString() { + return "http://dn3tvalnjz432qkqsvpfdqrwpqkw3ye4n4i2uyfr4jexvo3sp5ka.b32.i2p/news.su3"; + } public static String ServiceStaticUpdaterString() { return "http://echelon.i2p/i2p/i2pupdate.sud,http://stats.i2p/i2p/i2pupdate.sud"; }