Electron-420 - Add 'bringToFront' to the ignoreSettings (#337)

This commit is contained in:
Kiran Niranjan 2018-04-13 08:57:43 +00:00 committed by Vishwas Shashidhar
parent 81d9cae5d5
commit b1209083cb

View File

@ -23,7 +23,7 @@ const dirs = new AppDirectory('Symphony');
let userConfig;
let globalConfig;
let ignoreSettings = ['minimizeOnClose', 'launchOnStartup', 'alwaysOnTop', 'url', 'memoryRefresh'];
let ignoreSettings = ['minimizeOnClose', 'launchOnStartup', 'alwaysOnTop', 'url', 'memoryRefresh', 'bringToFront'];
/**
* Tries to read given field from user config file, if field doesn't exist
@ -403,7 +403,7 @@ function readConfigFileSync() {
try {
return JSON.parse(data);
} catch (err) {
console.log("parsing config failed", err);
log.send(logLevels.ERROR, 'config: parsing config failed: ' + err);
}
return null;