diff --git a/packages/gui/src/bridge/update/front.js b/packages/gui/src/bridge/update/front.js index 41e7bca..596fbba 100644 --- a/packages/gui/src/bridge/update/front.js +++ b/packages/gui/src/bridge/update/front.js @@ -61,19 +61,26 @@ function install (app, api) { updateParams.progress = value } + function openGithubUrl () { + api.ipc.openExternal('https://github.com/docmirror/dev-sidecar/releases') + } + function goManualUpdate (value) { updateParams.newVersion = false app.$confirm({ // title: '暂不支持自动升级', title: '暂不提供自动升级', cancelText: '取消', - okText: '确定', + okText: '打开', width: 420, content: h => { - function openGithubUrl () { - api.ipc.openExternal('https://github.com/docmirror/dev-sidecar/releases') - } - return