The app checks GitHub Releases on launch and updates itself (via
electron-updater). To ship a new version:
cd desktop && npm install(pullselectron-updater).- Create a GitHub personal access token with
reposcope and set it in your shell asGH_TOKEN(electron-builder reads it to upload the release).$env:GH_TOKEN = "ghp_xxx"
- Enable Windows Developer Mode (so the NSIS build can extract signing tools) — Settings → System → For developers.
- Bump
versionindesktop/package.json(e.g.0.1.0→0.1.1). - Build + publish:
This builds the NSIS installer and uploads it +
cd desktop npm run dist -- --publish always
latest.ymlto a GitHub Release. - Done. Installed apps detect the newer version on next launch, download it in the
background, and install on quit (
checkForUpdatesAndNotify).
- Auto-update only works for the installed (NSIS) app — not the unpacked/zipped
win-unpackedfolder. - Builds are unsigned: install shows a SmartScreen warning (More info → Run anyway); updates themselves still apply. A code-signing cert removes the warning.
- Backend/coordinator changes don't need an app release — just restart the coordinator; all clients use it live.