Skip to content

fix(updates): .deb and .rpm installs update themselves; release v0.5.2 - #123

Merged
FabioHAraujo merged 2 commits into
mainfrom
fix/linux-auto-update
Nov 11, 2026
Merged

FabioHAraujo merged 2 commits into
mainfrom
fix/linux-auto-update

Conversation

@FabioHAraujo

Copy link
Copy Markdown
Contributor

Why updates did not arrive

  • latest.json only had linux-x86_64-appimage among the Linux platforms: the release never copied the .deb.sig / .rpm.sig, and UpdatePolicy never let Deb/Rpm install, so those copies only got a download notice.
  • Every copy checked only every six hours, and the download only started after the user clicked (the dialog also reopened at every check).

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 is linux-<arch>-deb / -rpm, so a package never receives another format. Arch, Flatpak, Snap and portable copies are unchanged.
  • Release: copies .deb.sig and .rpm.sig; update_manifest.py signs linux-x86_64-deb and linux-x86_64-rpm.
  • Checker: every 10 minutes and on window focus; installable copies download in the background before the dialog opens, and the dialog offers Restart now (installer.install() + relaunch). Each version is announced once; the Help menu still opens it.
  • Tests: Rust policy, manifest and the modal's downloaded state. README and CHANGELOG; version 0.5.2.

🤖 Generated with Claude Code

FabioHAraujo and others added 2 commits November 11, 2026 18:27
…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>
@FabioHAraujo
FabioHAraujo merged commit 94db6c1 into main Nov 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant