mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
electron-201: applied common changes for windows too
This commit is contained in:
parent
94d3a9aa38
commit
d8cc2531be
@ -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');
|
||||
|
@ -196,7 +196,9 @@ function setStartup(lStartup) {
|
||||
let launchOnStartup = (lStartup === 'true');
|
||||
if (launchOnStartup) {
|
||||
symphonyAutoLauncher.enable();
|
||||
return resolve();
|
||||
}
|
||||
symphonyAutoLauncher.disable();
|
||||
return resolve();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user