Skip to content

Desktop: offer updates from GitHub Releases on launch - #25

Merged
HamSanders merged 1 commit into
mainfrom
feat/auto-update
Oct 24, 2026
Merged

HamSanders merged 1 commit into
mainfrom
feat/auto-update

Conversation

@HamSanders

Copy link
Copy Markdown
Owner

Installed copies now check for a newer published release once per launch and offer Install and restart / Later. Models and projects are kept; only the app is replaced.

  • src-tauri/src/updater.rs: check after the server is ready, native dialog, stop the server before install (Windows can't overwrite the running node.exe), restart. Failures are logged and ignored. Checkouts (npm run desktop) never check.
  • tauri.conf.json: updater public key and the releases/latest/download/latest.json endpoint; Windows installs in passive mode.
  • release.yml: when TAURI_SIGNING_PRIVATE_KEY is set, builds with tauri.updater.conf.json so tauri-action signs bundles and attaches latest.json; otherwise warns and builds as before.
  • Docs: DESKTOP.md Updates, RELEASING.md Updater key; changelog entry.

Before the next release: add the TAURI_SIGNING_PRIVATE_KEY repo secret (key has no password).

Tested: cargo check clean; local tauri build with the key produced Soundbox_0.2.0_x64-setup.exe.sig. The install-and-restart flow itself can only be exercised once two signed releases exist.

Tauri updater checks latest.json on the newest published release after the
server is up, asks, then stops the server, installs and restarts. The release
workflow signs update bundles when TAURI_SIGNING_PRIVATE_KEY is set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@HamSanders
HamSanders merged commit 10be022 into main Oct 24, 2026
4 checks passed
@HamSanders
HamSanders deleted the feat/auto-update branch October 24, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant