You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, auto-updates on Linux are only functional with .deb, .rpm, or .appimage formats due to limitations in both app-builder-lib and electron-updater.
Challenges
Incompatible Update Handling: electron-updater assumes that non-Debian platforms have the dpkg command available and attempts to update via .deb files. This leads to issues on systems like Arch Linux, where users encounter a message stating, "An update has been downloaded and will be installed on exit." Upon closing the app, it prompts for sudo access but fails to complete the update, often resulting in the app disappearing without warning. Users may find themselves stuck in a loop, expecting the app to auto-update when it does not.
Lack of Package Manager Detection: There is no current implementation in electron-updater for detecting the appropriate package manager for updates. This lack of detection creates confusion in selecting the correct files for auto-updates and determining which package manager to use for the update process.
Edit: Found a way to fetch the package-type
The text was updated successfully, but these errors were encountered:
Description
Currently, auto-updates on Linux are only functional with
.deb
,.rpm
, or.appimage
formats due to limitations in bothapp-builder-lib
andelectron-updater
.Challenges
Incompatible Update Handling:
electron-updater
assumes that non-Debian platforms have thedpkg
command available and attempts to update via.deb
files. This leads to issues on systems like Arch Linux, where users encounter a message stating, "An update has been downloaded and will be installed on exit." Upon closing the app, it prompts forsudo
access but fails to complete the update, often resulting in the app disappearing without warning. Users may find themselves stuck in a loop, expecting the app to auto-update when it does not.Lack of Package Manager Detection: There is no current implementation in
electron-updater
for detecting the appropriate package manager for updates. This lack of detection creates confusion in selecting the correct files for auto-updates and determining which package manager to use for the update process.Edit: Found a way to fetch the package-type
The text was updated successfully, but these errors were encountered: