Skip to content

v3.0.2 — In-App Updates

Choose a tag to compare

@github-actions github-actions released this 15 Nov 23:22
· 50 commits to main since this release
v3.0.2
d242e77

A fix release for the updater: Noteriv can now install a new version from inside the app. No release before this one could be installed that way.

⚠️ Things that work differently after updating

  • A copy installed from the .deb or the .rpm, from the AUR or COPR package, or built from source no longer offers Download Update. It shows the new version and an Open Download Page button. Such a copy cannot replace files that a package manager owns, so install the new package the way you installed this one.
  • The release has one more file, Noteriv.app.tar.gz. It is what a macOS copy updates from. To install Noteriv on a Mac, download the .dmg as before.

🔄 Updates

  • Download Update works. Every release from 2.0.0 to 3.0.1 was published without the signatures the updater checks, so it ended in "Download failed" on every kind of install.
  • A copy of 2.1.3 or later can install this release from inside the app: open Settings > General > Updates, press Check for Updates, then Download Update. That goes for the AppImage, an install made by the Windows -setup.exe or .msi, and the macOS app.
  • Versions 2.0.0 to 2.1.2 cannot. They were built with an older signing key and refuse every later release, so Download Update still ends in "Download failed" there. Download this release by hand once; after that, updates install from inside the app.
  • An .msi install is given the .msi, and a -setup.exe install the setup program.
  • An update is installed only when its signature matches the key the app was built with. A file that was changed on the way is refused, and the version you have keeps working.
  • When an update cannot be installed, Settings shows the reason, such as a signature that does not match or a folder that cannot be written to. It used to say only "Download failed".
  • The progress bar counts up while the update downloads. It used to stay near zero.
  • After a download the line names the version, as in "v3.0.3 ready". It used to read "v ready".
  • A .deb or .rpm copy of 3.0.1 or earlier still shows Download Update, and it still fails there. Install the new package instead.
  • The check for a new version when Noteriv starts still shows nothing. Look in Settings > General > Updates to see whether a new version is out.
  • Tested: a published 3.0.1 AppImage found this release, downloaded it, replaced itself and restarted as 3.0.2. The Windows and macOS update files are signed and checked against the app's key, but those installs were not run. If Download Update fails there, please open an issue and say which installer you used.

📎 Other

  • The release build fails when a signature is missing or was made with another key, so a release cannot go out again with updates that no copy would accept.
  • Docs: what the updater does for each kind of install.
  • Bumped the desktop app version to 3.0.2 across package.json, Cargo.toml, tauri.conf.json, and their lockfiles.