fix the router.config file for the user if they installed un-bundled after bundled. closes #23

This commit is contained in:
idk
2022-09-19 23:53:38 -04:00
parent c4bd64a559
commit 15cbddb5b0

View File

@ -156,6 +156,7 @@ public class WinLauncher extends CopyConfigDir {
// If the user installed the Easy bundle before installing the
// regulalr bundle, then they have a config file which contains the
// wrong update URL. Check for it, and change it back if necessary.
// closes #23
i2pRouter = new Router(routerConfig(), System.getProperties());
if (isInstalled("i2p") || checkProgramFilesInstall()) {
String newsURL = i2pRouter.getConfig("router.newsURL");