mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
fix: 修正 macOS 上升级重启问题
This commit is contained in:
+1
-3
@@ -315,9 +315,7 @@ if (!gotTheLock) {
|
||||
|
||||
updater.init(() => {
|
||||
// 立即升级,退出程序
|
||||
if (!isMacos) {
|
||||
app.exit(0)
|
||||
}
|
||||
app.exit(0)
|
||||
})
|
||||
setTimeout(() => {
|
||||
updater.autoCheckForUpdates()
|
||||
|
||||
Reference in New Issue
Block a user