From f4589c1c563aac2a3d64132b8ad4bbbf86ef993a Mon Sep 17 00:00:00 2001 From: purocean Date: Thu, 4 Mar 2021 18:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=87=E7=BA=A7=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 704e623b..2e93f0f4 100644 --- a/src/app.ts +++ b/src/app.ts @@ -315,7 +315,9 @@ if (!gotTheLock) { updater.init(() => { // 立即升级,退出程序 - app.exit(0) + if (!isMacos) { + app.exit(0) + } }) setTimeout(() => { updater.autoCheckForUpdates()