diff --git a/electron/global_settings.js b/electron/global_settings.js index 94c04c18..b4f0dcf2 100644 --- a/electron/global_settings.js +++ b/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