Skip to content

Auto-update mechanism not working on v1.0.5 #463

@hanneshapke

Description

@hanneshapke

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-68electron-updater initialization, update-available / update-downloaded / error handlers, tray icon swap on update
  • src/frontend/src/electron/electron-main.js:1064-1070checkForUpdatesAndNotify() 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

  1. Reproduce on a packaged 1.0.5 build and capture the [AutoUpdater] console output (the error handler at line 65 should log the cause).
  2. Confirm the release channel actually serves a newer latest-*.yml.
  3. Verify app-update.yml exists inside the 1.0.5 bundle and points at the right feed URL.
  4. Patch whatever is broken and ship a 1.0.6 to validate the upgrade path from 1.0.5 → 1.0.6.

Affected version

  • 1.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions