From 8d318a2146194936b030f2fb8bf571ec7886f74c Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 9 May 2026 18:08:06 +0800 Subject: [PATCH] fix(updater): fix restart after update --- src-tauri/capabilities/default.json | 1 + src/components/layout/UpdateDialog.vue | 2 +- src/composables/useAppUpdater.ts | 8 ++++++-- src/i18n/locales/en.ts | 5 +++-- src/i18n/locales/zh-CN.ts | 5 +++-- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 26ab9c7b69..3451ced340 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -23,6 +23,7 @@ "fs:default", "fs:allow-write-text-file", "fs:allow-read-text-file", + "process:default", "shell:allow-open", "updater:default", "window-state:default" diff --git a/src/components/layout/UpdateDialog.vue b/src/components/layout/UpdateDialog.vue index 542165f222..09d0565ea1 100644 --- a/src/components/layout/UpdateDialog.vue +++ b/src/components/layout/UpdateDialog.vue @@ -84,7 +84,7 @@ const renderedNotes = computed(() => {