Browse Source

Disables keep in task bar default setting for linux because this is uncommon for apps on linux per default

pull/292/head
Michael Weimann 9 years ago
parent
commit
b1cb245f85
  1. 5
      electron/global_settings.js

5
electron/global_settings.js

@ -26,6 +26,11 @@ var globalSettings = {
}
};
if (process.platform === 'linux') {
// default setting for linux: exit app on close
globalSettings.settings.keep_in_taskbar_on_close = 0;
}
try {
//test to see if settings exist
fs.openSync(settingsPathname, 'r+'); //throws error if file doesn't exist

Loading…
Cancel
Save