From ec7326d84b737000b3a84bb7a874ee277b99da56 Mon Sep 17 00:00:00 2001 From: purocean Date: Fri, 4 Jun 2021 17:45:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20macOS=20=E4=B8=8A?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=87=8D=E5=90=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app.ts b/src/app.ts index 941b0723..69f6a6a8 100644 --- a/src/app.ts +++ b/src/app.ts @@ -315,9 +315,7 @@ if (!gotTheLock) { updater.init(() => { // 立即升级,退出程序 - if (!isMacos) { - app.exit(0) - } + app.exit(0) }) setTimeout(() => { updater.autoCheckForUpdates()