mirror of
https://github.com/artegoser/pimi-launcher.git
synced 2024-11-05 20:13:59 +03:00
fix: delete timeout of update
This commit is contained in:
parent
15be7e565f
commit
6e83421b38
1 changed files with 2 additions and 4 deletions
|
@ -38,10 +38,8 @@ autoUpdater.on('download-progress', () => {
|
|||
})
|
||||
|
||||
autoUpdater.on('update-downloaded', () => {
|
||||
console.log('Update downloaded; will install in 5 seconds')
|
||||
setTimeout(function () {
|
||||
autoUpdater.quitAndInstall()
|
||||
}, 5000)
|
||||
console.log('Update downloaded')
|
||||
autoUpdater.quitAndInstall()
|
||||
})
|
||||
|
||||
function createWindow() {
|
||||
|
|
Loading…
Reference in a new issue