Skip to content

fix(update): real version, update progress, one Windows installer technology - #3

Merged
Hongwei-MB merged 1 commit into
mainfrom
fix/windows-packaging-and-update-ux
Nov 3, 2026
Merged

Hongwei-MB merged 1 commit into
mainfrom
fix/windows-packaging-and-update-ux

Conversation

@Hongwei-MB

Copy link
Copy Markdown
Collaborator

Stamps the release version, adds an update status row (progress/result/unsupported), builds the Windows .msi with Velopack so it self-updates, removes the WiX project, and moves Windows user data out of Velopack's install root (it is emptied on install/uninstall). Local gate: ./build.sh Test green, 0 warnings. The --msi pack step is only verifiable on a Windows runner; a v2.1.1-rc.1 pre-release rehearses it before merge. See docs/superpowers/specs/2026-11-03-windows-packaging-design.md.

…Windows installer technology

Version and update UX
- Publish stamps the release version into the program (dotnet publish -p:Version);
  settings shows it without the build metadata, and 0.0.0-dev for other builds.
- UpdateChecks owns one UpdateState (checking, downloading with progress, ready,
  up to date with time, failed with reason, unsupported, off). Settings > Models
  shows it with check/restart/download-page actions; the tray item opens it.
- A copy not installed by an installer no longer reports "latest": it says it
  cannot update itself and links to the download page.

Windows packaging
- The .msi is built by Velopack (vpk pack --msi, per user) like Setup.exe, so it
  updates itself the same way. The hand-made WiX project, PackMsi and the wix
  tool are removed.
- User data moves out of %LocalAppData%\LiveLingo, which Velopack empties on
  install and uninstall, to %LocalAppData%\AGIBuild\LiveLingo. UserData is the
  single definition of the data folder; UserDataMigration renames settings and
  models over on first start.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Hongwei-MB
Hongwei-MB merged commit 4110104 into main Nov 3, 2026
6 checks passed
@Hongwei-MB
Hongwei-MB deleted the fix/windows-packaging-and-update-ux branch November 3, 2026 12:43
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.

1 participant