diff --git a/main.js b/main.js index a611d85..a2648eb 100644 --- a/main.js +++ b/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) {