github ZenNotes/zennotes v2.43.0
ZenNotes 2.43.0

2 hours ago

ZenNotes 2.43.0: the AUR package finally hears about new versions

One fix so far. On an AUR or tarball install, Check for Updates sat on "Checking…" forever (reported on Discord by unyanda). ZenNotes now reads the release feed itself for those installs and says which version is out, and leaves the install to the package manager that owns the files.

🐛 Fixes

  • The AUR package finally hears about new versions. (reported on Discord by unyanda, Arch + Niri) On a copy installed from the AUR, or from the plain tarball, Check for Updates never came back: the About page showed "Checking GitHub releases for updates…" and stayed there, and the launch-time check never noticed a release either. The app was handing those installs to the AppImage updater, which refuses to run without an AppImage marker and never reports that it refused. Those installs are now their own case. ZenNotes reads the same release feed the real updaters read, compares it with the running version, and says the answer: "ZenNotes 2.44.0 is available. This copy is managed by your package manager, so update it there", with the usual desktop notification once per version, or "You're already on ZenNotes 2.43.0", or a plain error when GitHub cannot be reached. No Download or Install button appears for these installs, on purpose: pacman owns those files, and an app overwriting files its package manager thinks it owns is how installs break. Official packages (deb, rpm, pacman from GitHub) and the AppImage keep their full updater. How to test locally: on Linux, install from the AUR (or unpack the tarball), open Settings, About, and press Check for Updates. Before: "Checking…" forever. After: the answer within a second or two, and the sidebar badge when a version is out.

🧰 For contributors

  • linuxUpdaterFormat now returns managed for a non-system, non-AppImage install; initAppUpdater takes that branch with no electron-updater instance at all, and checkForAppUpdates runs checkManagedInstallForUpdates instead. The feed reader is apps/desktop/src/main/update-feed.ts (latest-linux.yml from the latest release, a two-line parse, a small numeric version compare), with tests. AppUpdateState gained installable; the renderer hides the Download action and the About button when it is false. Dev and perf runs can point the notify-only check at a served feed with ZENNOTES_UPDATE_FEED_URL, which is how every state was verified on a Mac.

Local-first and keyboard-first, as always.

Don't miss a new zennotes release

NewReleases is sending notifications on new releases.