Skip to content

feat(tray): consolidate app version + add user feedback to 'Check for Updates' feature#481

Merged
shanselman merged 1 commit into
openclaw:masterfrom
RBrid:user/regisb/VersioningCleanup2
May 21, 2026
Merged

feat(tray): consolidate app version + add user feedback to 'Check for Updates' feature#481
shanselman merged 1 commit into
openclaw:masterfrom
RBrid:user/regisb/VersioningCleanup2

Conversation

@RBrid
Copy link
Copy Markdown
Contributor

@RBrid RBrid commented May 21, 2026

Introduces OpenClaw.Shared.AppVersionInfo as the single source of truth for the app version (resolved at runtime from the tray assembly), and replaces ~9 duplicated version lookups across the UI.

As part of consolidating the version, Package.appxmanifest now carries a sentinel Version="0.0.0.0" and is patched in-place from by a new SyncAppxManifestVersion MSBuild target — but only when actually packaging MSIX (WindowsPackageType=MSIX). Unpackaged dev builds via ./build.ps1 leave the manifest untouched (git stays clean). CI's manifest-patch step was simplified to only handle Identity/Name and DisplayName, since Version now flows through /p:Version=... to the target.

Rewrites the update-check flow as a two-stage pipeline (metadata gate + install flag) with bounded waits, fresh UpdateInfo writes, and catches for COM/Cancel/InvalidOperation exceptions. Adds a ContentDialog so 'Check for Updates' gives visible feedback when the app is current, when a check fails, or (DEBUG) when skipped.

Adds 7 localized Update_* keys across en-us/fr-fr/nl-nl/zh-cn/zh-tw, with a LatinScriptInvariantResourceKeys allow-list so fr/nl keep 'OK' verbatim.

Bumps version to 0.4.7 to match version used by MSIX install.

@RBrid RBrid marked this pull request as ready for review May 21, 2026 01:37
…Updates

Introduces OpenClaw.Shared.AppVersionInfo as the single source of truth for the app version (resolved at runtime from the tray assembly), and replaces ~9 duplicated version lookups across the UI.

Rewrites the update-check flow as a two-stage pipeline (metadata gate + install flag) with bounded waits, fresh UpdateInfo writes, and catches for COM/Cancel/InvalidOperation exceptions. Adds a ContentDialog so 'Check for Updates' gives visible feedback when the app is current, when a check fails, or (DEBUG) when skipped.

Adds 7 localized Update_* keys across en-us/fr-fr/nl-nl/zh-cn/zh-tw, with a LatinScriptInvariantResourceKeys allow-list so fr/nl keep 'OK' verbatim.

Bumps version to 0.4.7.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@RBrid RBrid force-pushed the user/regisb/VersioningCleanup2 branch from 0abd1e7 to f3d3fd2 Compare May 21, 2026 18:14
@shanselman shanselman merged commit 9de3ae0 into openclaw:master May 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants