electron-201: applied common changes for windows too

This commit is contained in:
Vishwas Shashidhar 2017-11-07 13:31:45 +05:30
parent 94d3a9aa38
commit d8cc2531be
2 changed files with 2 additions and 3 deletions

View File

@ -6,9 +6,6 @@ installPath="$2"
configPath="/Symphony.app/Contents/config/Symphony.config"
newPath=${installPath}${configPath}
## Initial cleanup
sudo rm -f ~/Library/LaunchAgents/Symphony.plist
## Get Symphony Settings from the temp file ##
pod_url=$(sed -n '1p' ${tempFilePath});
minimize_on_close=$(sed -n '2p' '/tmp/sym_settings.txt');

View File

@ -196,7 +196,9 @@ function setStartup(lStartup) {
let launchOnStartup = (lStartup === 'true');
if (launchOnStartup) {
symphonyAutoLauncher.enable();
return resolve();
}
symphonyAutoLauncher.disable();
return resolve();
});
}