diff --git a/src/main/autoUpdater.js b/src/main/autoUpdater.js index 884afd90..d203555d 100644 --- a/src/main/autoUpdater.js +++ b/src/main/autoUpdater.js @@ -84,6 +84,7 @@ function isUpdateApplicable(now, skippedVersion, updateInfo) { function downloadAndInstall() { autoUpdater.downloadUpdate().then(() => { + global.willAppQuit = true; autoUpdater.quitAndInstall(); }); }