From b1fc2807d22d378d3b6b0f265f6e625a32935fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8A=E6=9D=89=E3=81=88=E3=82=8A=E3=81=84?= <47024820+niechy@users.noreply.github.com> Date: Sat, 21 Feb 2026 19:24:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=8B=E5=8A=A8=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=8E=E8=87=AA=E5=8A=A8=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复在设置页面手动点击"检查更新"后,发现新版本但不会自动开始下载, UI 一直显示"准备下载"转圈的问题。 与 App.tsx 中自动更新检查的行为保持一致,检查到有下载链接时调用 startDownload 开始下载。 Closes https://github.com/MistEO/MXU/issues/8 --- src/components/settings/UpdateSection.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/settings/UpdateSection.tsx b/src/components/settings/UpdateSection.tsx index d0be073..deda283 100644 --- a/src/components/settings/UpdateSection.tsx +++ b/src/components/settings/UpdateSection.tsx @@ -327,6 +327,7 @@ export function UpdateSection() { addDebugLog( `下载来源: ${result.downloadSource === 'github' ? 'GitHub' : 'Mirror酱 CDN'}`, ); + startDownload(result); } else { addDebugLog('无可用下载链接'); }