Respect installed version update channel

- Derive desktop updater channel from the running app version
- Keep stable builds on latest and prereleases on their own track
- Add tests and release docs for channel matching
This commit is contained in:
Julius Marminge committed 2026-04-15 16:40:51 -07:00
1 parent c9b07d665d
commit b3291cf83e
4 files changed
+91 -5

No files matched your search

+3
View File
@@ -25,6 +25,9 @@ This document covers how to run desktop releases from one tag, first without sig
- Background checks run on startup delay + interval.
- No automatic download or install.
- The desktop UI shows a rocket update button when an update is available; click once to download, click again after download to restart/install.
- Update channel selection:
- Stable builds (`X.Y.Z`) only accept stable updates.
- Prerelease builds (for example `X.Y.Z-nightly.N`) stay on that prerelease track and ignore stable or differently-tagged prerelease releases.
- Provider: GitHub Releases (`provider: github`) configured at build time.
- Repository slug source:
- `T3CODE_DESKTOP_UPDATE_REPOSITORY` (format `owner/repo`), if set.