feat(release): stage GitWorkshop and next node updates

This commit is contained in:
archipelago
2026-09-09 18:15:21 -04:00
parent 973356df16
commit f5c0ba85cd
97 changed files with 5716 additions and 1327 deletions
+8 -3
View File
@@ -914,9 +914,10 @@ async function loadStatus() {
rollbackAvailable.value = res.rollback_available
manifestMirror.value = res.manifest_mirror ?? null
if (res.update_in_progress) {
downloaded.value = true
}
// Mirror the backend in both directions. The old one-way assignment could
// set this after a completed download but never clear it after cancellation,
// leaving the Install button visible until the component remounted.
downloaded.value = res.update_in_progress
} catch (e) {
if (import.meta.env.DEV) console.warn('Failed to load update status', e)
}
@@ -1043,6 +1044,10 @@ async function cancelDownload() {
await rpcClient.call({ method: 'update.cancel-download' })
downloading.value = false
downloaded.value = false
// `update_in_progress` is the backend's staged/installable flag. Leaving
// this true made the card render Install until the next page refresh even
// though cancellation had already removed the partial staging files.
updateInProgress.value = false
downloadPercent.value = 0
downloadStalled.value = false
showStatus(t('systemUpdate.cancelDownloadSuccess'))