Skip to content

Auto-updater does not work on Linux #68

@ianphil

Description

@ianphil

Description

The auto-updater (electron-updater) does not work on Linux. When an update is available, the update flow fails silently or errors out.

Root Cause

electron-updater on Linux only supports the AppImage format for auto-updates. The current build configuration in forge.config.ts produces .zip and .deb packages for Linux (via MakerZIP and MakerDeb), neither of which support the auto-update mechanism.

Relevant Code

  • forge.config.ts — makers list (lines 58-64): only MakerZIP and MakerDeb for Linux
  • src/main/services/UpdateService.ts — uses electron-updater autoUpdater which requires AppImage on Linux

Possible Fix

Add an AppImage maker (e.g. @electron-forge/maker-appimage or build via electron-builder) to produce .AppImage artifacts for Linux, which electron-updater can update in-place. The .deb maker can be kept for users who prefer system package manager installs (without auto-update).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions