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).
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-updateron Linux only supports the AppImage format for auto-updates. The current build configuration inforge.config.tsproduces.zipand.debpackages for Linux (viaMakerZIPandMakerDeb), neither of which support the auto-update mechanism.Relevant Code
forge.config.ts— makers list (lines 58-64): onlyMakerZIPandMakerDebfor Linuxsrc/main/services/UpdateService.ts— useselectron-updaterautoUpdaterwhich requires AppImage on LinuxPossible Fix
Add an AppImage maker (e.g.
@electron-forge/maker-appimageor build viaelectron-builder) to produce.AppImageartifacts for Linux, whichelectron-updatercan update in-place. The.debmaker can be kept for users who prefer system package manager installs (without auto-update).