From b4b09ea5da5f7b6014847ba6556e5fa7684c4c1c Mon Sep 17 00:00:00 2001 From: idk Date: Sat, 3 Apr 2021 18:45:30 -0400 Subject: [PATCH] Try not setting the base dir for now since that seems to be causing it to stall on my wiwindows machine --- java/net/i2p/router/WinLauncher.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/java/net/i2p/router/WinLauncher.java b/java/net/i2p/router/WinLauncher.java index 52f75a2..56cff01 100644 --- a/java/net/i2p/router/WinLauncher.java +++ b/java/net/i2p/router/WinLauncher.java @@ -15,8 +15,6 @@ import net.i2p.router.RouterLaunch; */ public class WinLauncher { - /** this is totally undocumented */ -// private static final String APP_PATH = "jpackage.app-path"; private static final String LOCALAPPDATA = System.getenv("LOCALAPPDATA"); public static void main(String[] args) throws Exception { @@ -31,10 +29,10 @@ public class WinLauncher { System.exit(1); } - System.setProperty("i2p.dir.base", programs.getAbsolutePath()); +// System.setProperty("i2p.dir.base", programs.getAbsolutePath()); System.setProperty("i2p.dir.config", home.getAbsolutePath()); System.setProperty("router.pid", String.valueOf(ProcessHandle.current().pid())); - System.out.println(programs.getAbsolutePath() +"\n\t"+ home.getAbsolutePath() +"\n\t"+ String.valueOf(ProcessHandle.current().pid())); + System.out.println("\t"+programs.getAbsolutePath() +"\n\t"+ home.getAbsolutePath() +"\n\t"+ String.valueOf(ProcessHandle.current().pid())); try { // TODO: See if I need to do anything like this for Windows