mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
electron-113: fixed issues w.r.t. reinstall cases on windows
This commit is contained in:
@@ -108,7 +108,7 @@ function setupThenOpenMainWindow() {
|
||||
if (!isMac && hasInstallFlag) {
|
||||
getConfigField('launchOnStartup')
|
||||
.then(setStartup)
|
||||
.then(updateUserConfigWin(perUserInstall))
|
||||
.then(() => updateUserConfigWin(perUserInstall))
|
||||
.then(app.quit)
|
||||
.catch(app.quit);
|
||||
return;
|
||||
@@ -121,7 +121,7 @@ function setupThenOpenMainWindow() {
|
||||
// access to the config file
|
||||
let launchOnStartup = process.argv[3];
|
||||
setStartup(launchOnStartup)
|
||||
.then(updateUserConfigMac(process.argv[2]))
|
||||
.then(() => updateUserConfigMac(process.argv[2]))
|
||||
.then(app.quit)
|
||||
.catch(app.quit);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user