PrismPlay v0.1.3 — Auto‑update & update UI
Summary
This release adds the auto‑update plumbing and a minimal in‑app update UI.
The app can now check GitHub Releases, notify users of updates, download them on request, and install them on restart.
Highlights
Auto-update runtime wiring (electron-updater) added to the main process (production-only).
Preload API exposes safe update methods:
onUpdateAvailable / onUpdateDownloaded / onUpdateError
downloadUpdate() and installUpdate()
A lightweight Update Banner in the renderer:
Notifies when updates are available.
Downloads updates on demand and offers Install & Restart after download.
Packaging fix: electron-updater added to runtime dependencies and included in the packaged app.
CI & release fixes: published artifacts (exe, blockmap, latest.yml) are produced by the workflow.
Notes & migration
The updater runs only in packaged releases (not in dev mode).
The app checks for updates shortly after startup (~10s).
If you want automatic background downloads instead of user-driven downloads, change autoDownload to true in the main process (optional; we kept manual download as default).
Why install
Users will be notified of new releases and can update without re-running the installer manually.
Reduced friction for delivering fixes and improvements going forward.