去除首次升级时间5秒

This commit is contained in:
yj 2025-02-11 17:34:59 +08:00
parent cc69c3d864
commit 369aaa420c
1 changed files with 1 additions and 3 deletions

View File

@ -717,9 +717,7 @@ function updateHandle() {
}) })
autoUpdater.on('update-available', function (info) { autoUpdater.on('update-available', function (info) {
let messageStr = JSON.stringify({ type: '0' }) let messageStr = JSON.stringify({ type: '0' })
setTimeout(() => { sendUpdateMessage(messageStr)
sendUpdateMessage(messageStr)
}, 5000)
}) })
autoUpdater.on('update-not-available', function (info) { autoUpdater.on('update-not-available', function (info) {