小调整。

pull/303/head
王良 2024-04-23 17:08:29 +08:00
parent dee5225ef9
commit 2ffc00425f
1 changed files with 2 additions and 4 deletions

View File

@ -10,9 +10,7 @@ function install (app, api) {
if (fromUser != null) { if (fromUser != null) {
updateParams.fromUser = fromUser updateParams.fromUser = fromUser
} }
if (updateParams.fromUser) { updateParams.checking = true
updateParams.checking = true
}
api.ipc.send('update', { key: 'checkForUpdate', fromUser }) api.ipc.send('update', { key: 'checkForUpdate', fromUser })
}, },
downloadUpdate () { downloadUpdate () {
@ -77,7 +75,7 @@ function install (app, api) {
// title: '暂不支持自动升级', // title: '暂不支持自动升级',
title: '暂不提供自动升级', title: '暂不提供自动升级',
cancelText: '取消', cancelText: '取消',
okText: '打开', okText: '打开链接',
width: 420, width: 420,
content: h => { content: h => {
return <div> return <div>