mirror of
https://github.com/purocean/yn.git
synced 2026-10-12 23:31:39 +08:00
调整升级逻辑
This commit is contained in:
+3
-1
@@ -315,7 +315,9 @@ if (!gotTheLock) {
|
||||
|
||||
updater.init(() => {
|
||||
// 立即升级,退出程序
|
||||
app.exit(0)
|
||||
if (!isMacos) {
|
||||
app.exit(0)
|
||||
}
|
||||
})
|
||||
setTimeout(() => {
|
||||
updater.autoCheckForUpdates()
|
||||
|
||||
Reference in New Issue
Block a user