mirror of
https://github.com/purocean/yn.git
synced 2026-10-13 07:38:54 +08:00
fix: 修正 macOS 更新问题
This commit is contained in:
+3
-1
@@ -134,7 +134,9 @@ export function autoCheckForUpdates () {
|
||||
app.whenReady().then(() => {
|
||||
init(() => {
|
||||
// 立即升级,退出程序
|
||||
app.exit(0)
|
||||
setTimeout(() => {
|
||||
app.exit(0)
|
||||
}, process.platform === 'darwin' ? 3500 : 0)
|
||||
})
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user