Set flag to quit on auto-update
This commit is contained in:
@@ -84,6 +84,7 @@ function isUpdateApplicable(now, skippedVersion, updateInfo) {
|
||||
|
||||
function downloadAndInstall() {
|
||||
autoUpdater.downloadUpdate().then(() => {
|
||||
global.willAppQuit = true;
|
||||
autoUpdater.quitAndInstall();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user