Goal
Make Tokie auto-update itself in the background after a new GitHub Release is published.
Why
Without auto-update, users stay on whatever version they first downloaded forever. For a pet that grows over time, that means missing balance fixes, new features, bug fixes.
Acceptance
Blockers / dependencies
Hints
- electron-builder publishes the metadata yml when you use
--publish always and publish is configured in build.
- Update server is the GitHub Release itself; no separate server needed.
Goal
Make Tokie auto-update itself in the background after a new GitHub Release is published.
Why
Without auto-update, users stay on whatever version they first downloaded forever. For a pet that grows over time, that means missing balance fixes, new features, bug fixes.
Acceptance
electron-updaterintegrated inelectron/main.ts(check for updates on app start + every N hours).latest-mac.yml/latest.ymlalongside the binary so electron-updater can detect releases.Blockers / dependencies
Hints
--publish alwaysandpublishis configured inbuild.