DEM AudioLinFIR Documentation
LinFIR

Updating LinFIR


On this page

LinFIR looks for a new version when it starts, then every four hours while it is open. Help > Check for updates… looks at once and says what it found: LinFIR X is up to date, or why the site could not be read. How the update is applied depends on the platform.

The request reads one small file on demaudio.com (updates/linfir/latest.json) and carries nothing of yours: no identifier, no cookie, only LinFIR and its version as the user agent.

Windows

Windows builds are distributed through the Microsoft Store. Updates are handled entirely by the Store: LinFIR does not check for or install updates itself on Windows. No action is needed: the Store updates the app automatically according to your Windows update settings.

macOS

When a new version is available, a card shows in the bottom-right corner of the main window: LinFIR X is available, the version you run under it, and three choices:

A newer version offered in the corner of the main window A newer version offered in the corner of the main window
  • Install downloads it and installs it (see below).
  • Later puts it off: that version is not offered again by itself, until a newer one is published. Help > Check for updates… offers it again.
  • What's new opens its release notes in a window, with Install and Later at the bottom. The notes are in English.

Install shows each step in the card, with a Stop button until the last one:

The new version downloading, with its Stop button The new version downloading, with its Stop button
  1. Downloading: a progress bar in megabytes. LinFIR stays fully usable meanwhile.
  2. Checking the new version: before anything is replaced, LinFIR checks that the file is the one the site announces (its size and its SHA-256), that it holds LinFIR of that version, that its signature holds in every part, that it is signed by the same developer as the copy you run, and that macOS's Gatekeeper accepts it as a notarized application.
  3. Putting it in place: your copy is moved aside, the new one put in its place, then the old one deleted. Each step moves a whole bundle: if the new one cannot be put in place, yours is put back as it was.

If anything goes wrong, a message says why, and your copy stays as it was. Once installed, the card reads LinFIR X is installed, with:

The new version installed, ready to open The new version installed, ready to open
  • Restart now: LinFIR saves as it does when it quits (with auto-save off, it first asks about the changes not saved), then the new version opens.
  • Later: the new version opens the next time you start LinFIR.

Quitting LinFIR while it downloads or checks stops the install, and your copy stays as it was. LinFIR waits for the last step, which takes a moment, before it quits.

LinFIR must run from a folder you can write to, normally Applications. Opened straight from the Downloads folder after unzipping, macOS runs it from a read-only copy of its own: move LinFIR.app into Applications, open it from there, then install. A copy built from source, signed by no developer, is not updated in the application.

If the update cannot be installed: download the latest version from demaudio.com/linfir/ and install it over your copy. Your .lnf project files are separate from the application and are not affected.

Linux

How LinFIR is updated depends on how it was installed (see Installing LinFIR). The card is the same as on macOS (Install, Later, What's new), and the file is checked against the size and SHA-256 the site announces before anything is installed.

  • .deb or .rpm package: the update is the new package, installed by your system's package manager (apt on Ubuntu and Debian, dnf on Fedora, zypper on openSUSE):

    1. Click Install: LinFIR downloads the new package (progress bar).
    2. Your system asks for the administrator password, as for any system update. Enter it: the package manager installs the new version.
    3. Click Restart now to start the new version.

    If you cancel the password prompt, nothing is changed: LinFIR keeps running the current version, and a message says so.

  • AppImage: Install downloads the new AppImage and puts it in place of yours, under the same name (no password needed), then Restart now starts it. The AppImage must be in a folder you can write to.

A copy of LinFIR started from anywhere else (copied by hand, built from source) or installed by another package manager (the AUR's) is not updated in the application. Installing a newer package or AppImage downloaded from demaudio.com/linfir/ over the current one also updates LinFIR, at any time.