feat(uploader): check for updates and fetch the single setup

The Uploader had no update check, so an Uploader-only install never heard of
a new version. Its settings panel gains an Updates row driven by the shared
UpdateFlow: Check on start (opt-out, on for 1.0 settings files), Check now,
Download (the single Chronos setup, or the portable zip of a portable copy,
verified against the release's SHA256SUMS) and Show setup (reveals the
verified file in Explorer; the user runs it). The start-up check is skipped
when Chronos.exe sits beside the Uploader, because the desktop's own notice
covers the same setup; Check now still works there. A newer release found on
start is offered in a toast with Download as its action. The capture scene
shows the notice with a sample release.

Refs #64

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-15 12:55:06 +01:00
1 parent 58ed737310
commit 7181589590
16 files changed
+661 -8

No files matched your search

+15
View File
@@ -103,6 +103,21 @@
<data name="Uploader.Trust.Message" xml:space="preserve"><value>Compare this fingerprint with the one shown on the server.</value><comment>long</comment></data>
<data name="Uploader.Trust.Title" xml:space="preserve"><value>Trust this server?</value></data>
<data name="Uploader.Unit.PerSecond" xml:space="preserve"><value>{0}/s</value></data>
<data name="Uploader.Updates.Available" xml:space="preserve"><value>Version {0} available</value></data>
<data name="Uploader.Updates.Cancel" xml:space="preserve"><value>Cancel</value></data>
<data name="Uploader.Updates.CheckNow" xml:space="preserve"><value>Check now</value></data>
<data name="Uploader.Updates.CheckOnStart" xml:space="preserve"><value>Check on start</value></data>
<data name="Uploader.Updates.Checking" xml:space="preserve"><value>Checking…</value></data>
<data name="Uploader.Updates.Download" xml:space="preserve"><value>Download</value></data>
<data name="Uploader.Updates.DownloadFailed" xml:space="preserve"><value>Download failed</value></data>
<data name="Uploader.Updates.Downloading" xml:space="preserve"><value>Downloading {0:P0}</value></data>
<data name="Uploader.Updates.Failed" xml:space="preserve"><value>Check failed</value></data>
<data name="Uploader.Updates.InProgress" xml:space="preserve"><value>Downloading…</value></data>
<data name="Uploader.Updates.NotVerified" xml:space="preserve"><value>Download not verified</value></data>
<data name="Uploader.Updates.Ready" xml:space="preserve"><value>Version {0} downloaded</value></data>
<data name="Uploader.Updates.ShowSetup" xml:space="preserve"><value>Show setup</value></data>
<data name="Uploader.Updates.Title" xml:space="preserve"><value>Updates</value></data>
<data name="Uploader.Updates.UpToDate" xml:space="preserve"><value>Up to date</value></data>
<data name="Uploader.Watch.Chip" xml:space="preserve"><value>{0} · every {1}</value></data>
<data name="Uploader.Watch.Every" xml:space="preserve"><value>Every {0}</value></data>
<data name="Uploader.Watch.Interval" xml:space="preserve"><value>every {0}</value></data>