forked from I2P_Developers/i2p.i2p
DTG: Fix systray menu redraw on Mac;
Switch to AWT by default on Mac; Hide DTG enable form on Mac until we fix headless override in i2prouter
This commit is contained in:
@ -202,7 +202,10 @@ public class ConfigServiceHandler extends FormHandler {
|
||||
public boolean shouldShowSystray() {
|
||||
return !
|
||||
(RouterConsoleRunner.DAEMON_USER.equals(System.getProperty("user.name")) ||
|
||||
(SystemVersion.isWindows() && _context.hasWrapper() && WrapperManager.isLaunchedAsService()));
|
||||
(SystemVersion.isWindows() && _context.hasWrapper() && WrapperManager.isLaunchedAsService()) ||
|
||||
// headless=true is forced in i2prouter script to prevent useless dock icon;
|
||||
// must fix this first
|
||||
SystemVersion.isMac());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user