Set user.dir after getting path

This commit is contained in:
idk
2022-09-03 20:51:33 -04:00
parent 3c8dd9dee9
commit f9a7f8ab2d
2 changed files with 2 additions and 2 deletions

View File

@ -53,6 +53,7 @@ public class WinLauncher {
boolean privateBrowsing = false;
boolean usabilityMode = false;
boolean chromiumFirst = false;
if (args != null && args.length > 0) {
logger.info("checking for private browsing");
if (args[0].equals("-private")) {
@ -100,6 +101,7 @@ public class WinLauncher {
System.setProperty("router.pid", String.valueOf(ProcessHandle.current().pid()));
logger.info("\t" + System.getProperty("i2p.dir.base") + "\n\t" + System.getProperty("i2p.dir.config")
+ "\n\t" + System.getProperty("router.pid"));
System.setProperty("user.dir", programs.getAbsolutePath());
// wupp.i2pRouter = new Router(System.getProperties());
logger.info("Router is configured");