调整升级逻辑

This commit is contained in:
purocean
2021-03-04 18:25:44 +08:00
parent ce0221ba1a
commit f4589c1c56
+3 -1
View File
@@ -315,7 +315,9 @@ if (!gotTheLock) {
updater.init(() => {
// 立即升级,退出程序
app.exit(0)
if (!isMacos) {
app.exit(0)
}
})
setTimeout(() => {
updater.autoCheckForUpdates()