feat(ui): add manual update commands and simplify update dialog

This commit is contained in:
xmanrui 2026-08-28 15:32:09 +08:00
parent 45c0a7f77f
commit 57eef234b1
13 changed files with 1050 additions and 41 deletions

View file

@ -201,6 +201,8 @@ export function createUpdateService({
latestVersion: checked?.release.version ?? null,
profileName: environment.profileName ?? null,
environmentKind: environment.environmentKind ?? 'cli',
// Preserve source protection even when restart/recovery takes status priority.
sourceInstall: environment.sourceInstall === true || environment.blockedReason === 'source-install',
canInstall,
blockedReason,
checkedAt: checked?.checkedAt ?? null,