Summary
The Electron auto-update mechanism is not working on version 1.0.5. We need to review and fix the auto-updater so existing users on 1.0.5 (and earlier) actually receive new releases.
Code path to review
The auto-updater is set up in the Electron main process:
src/frontend/src/electron/electron-main.js:24-68 — electron-updater initialization, update-available / update-downloaded / error handlers, tray icon swap on update
src/frontend/src/electron/electron-main.js:1064-1070 — checkForUpdatesAndNotify() on launch and hourly checkForUpdates() interval
src/frontend/src/electron/electron-main.js:736 and :1027 — menu items that call autoUpdater.quitAndInstall()
Auto-update is gated behind !isDev and requires the app-update.yml generated by electron-builder, so also verify:
- The
electron-builder publish configuration in package.json (current version: 1.0.5)
- That
app-update.yml is being bundled into the packaged app
- That the published release artifacts (and
latest-mac.yml / latest.yml / latest-linux.yml) are present on the release channel
- Code signing / notarization on macOS —
electron-updater will silently refuse updates if signatures don't match
Suggested next steps
- Reproduce on a packaged 1.0.5 build and capture the
[AutoUpdater] console output (the error handler at line 65 should log the cause).
- Confirm the release channel actually serves a newer
latest-*.yml.
- Verify
app-update.yml exists inside the 1.0.5 bundle and points at the right feed URL.
- Patch whatever is broken and ship a 1.0.6 to validate the upgrade path from 1.0.5 → 1.0.6.
Affected version
Summary
The Electron auto-update mechanism is not working on version 1.0.5. We need to review and fix the auto-updater so existing users on 1.0.5 (and earlier) actually receive new releases.
Code path to review
The auto-updater is set up in the Electron main process:
src/frontend/src/electron/electron-main.js:24-68—electron-updaterinitialization,update-available/update-downloaded/errorhandlers, tray icon swap on updatesrc/frontend/src/electron/electron-main.js:1064-1070—checkForUpdatesAndNotify()on launch and hourlycheckForUpdates()intervalsrc/frontend/src/electron/electron-main.js:736and:1027— menu items that callautoUpdater.quitAndInstall()Auto-update is gated behind
!isDevand requires theapp-update.ymlgenerated byelectron-builder, so also verify:electron-builderpublishconfiguration inpackage.json(current version: 1.0.5)app-update.ymlis being bundled into the packaged applatest-mac.yml/latest.yml/latest-linux.yml) are present on the release channelelectron-updaterwill silently refuse updates if signatures don't matchSuggested next steps
[AutoUpdater]console output (theerrorhandler at line 65 should log the cause).latest-*.yml.app-update.ymlexists inside the 1.0.5 bundle and points at the right feed URL.Affected version