去除首次升级时间5秒
This commit is contained in:
parent
cc69c3d864
commit
369aaa420c
4
main.js
4
main.js
|
|
@ -717,9 +717,7 @@ function updateHandle() {
|
|||
})
|
||||
autoUpdater.on('update-available', function (info) {
|
||||
let messageStr = JSON.stringify({ type: '0' })
|
||||
setTimeout(() => {
|
||||
sendUpdateMessage(messageStr)
|
||||
}, 5000)
|
||||
sendUpdateMessage(messageStr)
|
||||
})
|
||||
autoUpdater.on('update-not-available', function (info) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue