Windows does not *seem* to have an application power saving mode that would affect I2P at this time.

This commit is contained in:
idk
2021-05-25 13:50:18 -04:00
parent 10f02140a3
commit 8424727dae

View File

@@ -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);
}