Repository navigation
fix(updates): .deb and .rpm installs update themselves; release v0.5.2 - #123
Merged
Merged
Conversation
…ound Copies installed from the .deb or .rpm package were only told a new version existed: the update policy never let native packages install, and the release published neither their updater signatures nor manifest platforms (latest.json only had linux-x86_64-appimage). Now, when dpkg or rpm owns the binary and it was built as that package, the updater installs the new package itself (pkexec asks for the administrator password), as Windows, macOS and the AppImage already did. Arch, Flatpak, Snap and portable copies keep the download link. The app also checks every 10 minutes and when the window regains focus (it waited six hours), downloads the update in the background before showing the dialog, whose "Restart now" installs it right away. Each version is announced once instead of at every check. Release 0.5.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why updates did not arrive
latest.jsononly hadlinux-x86_64-appimageamong the Linux platforms: the release never copied the.deb.sig/.rpm.sig, andUpdatePolicynever let Deb/Rpm install, so those copies only got a download notice.What changes
UpdatePolicy: Deb/Rpm become installable when dpkg/rpm owns the binary and it was built as that package (native_package_updates_itself); the updater target islinux-<arch>-deb/-rpm, so a package never receives another format. Arch, Flatpak, Snap and portable copies are unchanged..deb.sigand.rpm.sig;update_manifest.pysignslinux-x86_64-debandlinux-x86_64-rpm.installer.install()+ relaunch). Each version is announced once; the Help menu still opens it.🤖 Generated with Claude Code