mirror of
https://github.com/zeronsh/comet.git
synced 2026-11-16 18:57:19 +00:00
Update detection was late and fragile: the only checker lived in the engine on a 6h monotonic timer (a laptop's sleep stretched it by the whole night), the sidebar compared the release against whichever engine the UI attached to (a daemon of another version hid or faked updates), nothing downloaded until clicked, and several install paths could not update at all. - zeron-update: hourly wall-clock schedule with failure backoff (1m→30m), re-read on window activation; desktop (report-only) checker role; staged payloads are unpacked beside their final name and must answer `--version` with the promised release before they can replace anything; up-front blockers (App Translocation, disk image, unwritable install dir) instead of a failed download; Linux managed installs update from the app; a service daemon restarts into a newer installed binary once idle. - UI: app-level controller with its own checker against this binary; a found release downloads in the background, the strip offers restart, and a staged update installs on quit. "Check for Updates…" under About in the macOS app menu, "Check for updates" in the account menu elsewhere, with a live result dialog. - Linux: the tarball's install.sh uses the self-updating ~/.zeron/app layout. - Windows: per-user Inno Setup installer (LocalAppData, Start menu, zeron://, uninstall entry kept current after in-app updates), built in release and CI, with a silent install/uninstall smoke test. - Fix: closing the window on X11 panicked in the geometry save, skipping the engine drain and any quit hooks. Co-authored-by: wing-anara <wing@anara.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
97 lines
5.3 KiB
97 lines
5.3 KiB