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()