update interval is added

This commit is contained in:
richard-loafle 2020-01-23 14:32:46 +09:00
parent 2ac36a830a
commit 0b7cc600da

View File

@ -742,7 +742,10 @@ autoUpdater.on('update-downloaded', info => {
log.info('Update downloaded');
updateWindowService.setDownloadComplete();
autoUpdater.quitAndInstall(true, true);
setTimeout(() => {
autoUpdater.quitAndInstall(true, true);
}, 2000);
});
function appExit() {