From 8424727daeadfb6cdac2fc1496b4ae9f3a1a752b Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 25 May 2021 13:50:18 -0400 Subject: [PATCH] Windows does not *seem* to have an application power saving mode that would affect I2P at this time. --- java/net/i2p/router/WinLauncher.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/java/net/i2p/router/WinLauncher.java b/java/net/i2p/router/WinLauncher.java index 3d8313f..73f2602 100644 --- a/java/net/i2p/router/WinLauncher.java +++ b/java/net/i2p/router/WinLauncher.java @@ -35,16 +35,6 @@ public class WinLauncher { System.setProperty("router.pid", String.valueOf(ProcessHandle.current().pid())); System.out.println("\t"+System.getProperty("i2p.dir.base") +"\n\t"+System.getProperty("i2p.dir.config")+"\n\t"+ System.getProperty("router.pid")); - try { - // TODO: See if I need to do anything like this for Windows - //System.load(resources.getAbsolutePath() + "/libMacLauncher.jnilib"); - //disableAppNap(); - } catch (Throwable bad) { - // this is pretty bad - I2P is very slow if AppNap kicks in. - // TODO: hook up to a console warning or similar. - //bad.printStackTrace(); - } - RouterLaunch.main(args); }