mirror of
https://github.com/artegoser/pimi-launcher.git
synced 2024-11-22 11:26:22 +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 () {
|
||||
console.log('Update downloaded')
|
||||
autoUpdater.quitAndInstall()
|
||||
}, 5000)
|
||||
})
|
||||
|
||||
function createWindow() {
|
||||
|
|
Loading…
Add table
Reference in a new issue