update interval is added
This commit is contained in:
parent
2ac36a830a
commit
0b7cc600da
|
@ -742,7 +742,10 @@ autoUpdater.on('update-downloaded', info => {
|
||||||
log.info('Update downloaded');
|
log.info('Update downloaded');
|
||||||
|
|
||||||
updateWindowService.setDownloadComplete();
|
updateWindowService.setDownloadComplete();
|
||||||
autoUpdater.quitAndInstall(true, true);
|
|
||||||
|
setTimeout(() => {
|
||||||
|
autoUpdater.quitAndInstall(true, true);
|
||||||
|
}, 2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
function appExit() {
|
function appExit() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user