DTG: Enable by default on Windows

This commit is contained in:
zzz
2016-09-24 14:54:30 +00:00
parent 1376237e08
commit b123720fa3
2 changed files with 8 additions and 3 deletions

View File

@ -214,7 +214,10 @@ public class ConfigServiceHandler extends FormHandler {
* @since 0.9.26
*/
public boolean isSystrayEnabled() {
return _context.getBooleanProperty(RouterConsoleRunner.PROP_DTG_ENABLED);
// default false for now, except on non-service windows
String sdtg = _context.getProperty(RouterConsoleRunner.PROP_DTG_ENABLED);
return Boolean.parseBoolean(sdtg) ||
(sdtg == null && SystemVersion.isWindows());
}
@Override