Last reviewed against v0.9.0
source:
internal/updater/ Auto-update
Polls latest.json, offers an in-app banner when a newer release is available, downloads in place, restarts onto the new binary.
Caveat
There is no channel selector (stable / beta / preview) — every release is the same channel. Rollback is manual: re-install an older artifact from releases.shellyard.com/v<version>/.
The updater polls releases.shellyard.com/latest.json and compares the published version against the build-time-pinned AppVersion (set via -X ldflag in scripts/publish.sh).
Flow
When an update is available:
- An in-app banner appears: A new version is available.
- Click Install & Restart.
- The new artifact downloads over HTTPS.
- The app replaces the binary and restarts onto it.
Rollback
There’s no rollback UI. To downgrade:
- Download an older release from
releases.shellyard.com/v<version>/. - Replace the installed binary.
- Relaunch.