From 2ffc00425fd497b30c2e34b92bb5e5cecf849c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Tue, 23 Apr 2024 17:08:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/src/bridge/update/front.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/gui/src/bridge/update/front.js b/packages/gui/src/bridge/update/front.js index cac0dc3..85e5282 100644 --- a/packages/gui/src/bridge/update/front.js +++ b/packages/gui/src/bridge/update/front.js @@ -10,9 +10,7 @@ function install (app, api) { if (fromUser != null) { updateParams.fromUser = fromUser } - if (updateParams.fromUser) { - updateParams.checking = true - } + updateParams.checking = true api.ipc.send('update', { key: 'checkForUpdate', fromUser }) }, downloadUpdate () { @@ -77,7 +75,7 @@ function install (app, api) { // title: '暂不支持自动升级', title: '暂不提供自动升级', cancelText: '取消', - okText: '打开', + okText: '打开链接', width: 420, content: h => { return