fix: harden web ui self-update restart (#552)

This commit is contained in:
Zhicheng Han
2026-05-10 14:18:52 +02:00
committed by GitHub
parent 96c9338f6a
commit 0d14afe9b4
4 changed files with 148 additions and 36 deletions
+3
View File
@@ -37,6 +37,9 @@ export const useAppStore = defineStore('app', () => {
await checkConnection()
}
return res.success
} catch (err) {
console.error('Failed to update Hermes Web UI:', err)
return false
} finally {
updating.value = false
}