forked from I2P_Developers/i2p.i2p
2004-10-06 jrandom
* Enable explicit disabling of the systray entirely for windows machines with strange configurations: add -Dsystray.disable=true to the java command line. (thanks mihi!)
This commit is contained in:
@ -49,7 +49,7 @@ public class SysTray implements SysTrayMenuListener {
|
||||
if (!(new File("router.config")).exists())
|
||||
openRouterConsole("http://localhost:" + _portString + "/index.jsp");
|
||||
|
||||
if (System.getProperty("os.name").startsWith("Windows"))
|
||||
if ( (System.getProperty("os.name").startsWith("Windows")) && (!Boolean.getBoolean("systray.disable")) )
|
||||
_instance = new SysTray();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user