From 369aaa420c1e495f4826432b4bcec3aa2f582a42 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 11 Feb 2025 17:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=A6=96=E6=AC=A1=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E6=97=B6=E9=97=B45=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {