mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-25 16:10:18 +08:00
fix: Windows更新时使用静默安装模式避免NSIS弹出关闭提示导致更新失败(resolve #144)
This commit is contained in:
@@ -209,7 +209,7 @@ const checkUpdate = (win) => {
|
||||
|
||||
setTimeout(() => {
|
||||
setImmediate(() => {
|
||||
autoUpdater.quitAndInstall()
|
||||
autoUpdater.quitAndInstall(true, true)
|
||||
})
|
||||
}, 100)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user