From 08c4053ef0a9f41b1bf49308d1a66ae1366334a9 Mon Sep 17 00:00:00 2001 From: bakacai Date: Thu, 29 Jan 2026 17:16:27 +0800 Subject: [PATCH 1/2] fix(update): repair software update mechanism --- src/views/SettingsView.vue | 47 ++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index 8800e9d..1167854 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -1,5 +1,5 @@ @@ -326,9 +362,6 @@ onMounted(() => { restart_alt {{ $t('setting.restart_now') }} - From 2c60c6a999ee07768c234e705294569a49e892eb Mon Sep 17 00:00:00 2001 From: bakacai Date: Thu, 29 Jan 2026 18:03:00 +0800 Subject: [PATCH 2/2] fix: revert incorrect behavior change --- src/views/SettingsView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index 1167854..d223402 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -241,7 +241,7 @@ const restartApp = async () => { // 重置更新状态 const resetUpdateState = () => { - downloadStatus.value = 'completed'; + downloadStatus.value = 'idle'; downloadProgress.value = 0; downloadedBytes.value = 0; totalBytes.value = 0;