Skip to content

Auto-updates

Kangentic checks for new versions on its own, downloads them in the background, and shows where it stands on the Updates page, which Update on the app rail opens.

The app checks published GitHub Releases through electron-updater 5 seconds after launch, then every 15 minutes, and again when the computer wakes or unlocks and when the network comes back. A wake, an unlock, or a reconnect within a minute of the last check does not check again. Check for updates on the Updates page always checks. A new version downloads in the background, and how it installs depends on your platform:

Platform Update Mechanism User Action
Windows electron-updater (NSIS) Restart to update on the Updates page installs it. While Automatic updates is on, a normal quit installs it too, and so does the app’s own restart once you have stepped away
macOS electron-updater The same as Windows, except that the app never restarts into an update by itself where installing needs an administrator’s password. A quit still installs it there, after the password prompt
Linux electron-updater (deb, rpm) Waits for Restart to update, which asks for your password. Nothing installs on quit or by itself

A Mac on macOS 12 or older is not offered v0.44.0 or later. The update feed carries the release’s minimum macOS version, and the updater skips a build the machine cannot open, so the install stays on the last version that runs there. Update macOS to move on (see Installation).

Each machine updates within its own architecture. Since v0.46.0 the macOS feed lists both the Apple Silicon and the Intel build, and the updater takes the one that matches the Mac, so an Apple Silicon Mac never lands on the Intel build under Rosetta. Linux x64 and arm64 each read their own feed.

Linux gained auto-updates in v0.36.0. The deb and rpm builds both carry an update manifest, so electron-updater picks the matching package-manager updater and installs the new package the same way you installed the first one. The one deliberate difference from Windows and macOS: Linux never installs when you quit, and Automatic updates never restarts it on its own. Installing a system package needs elevation (pkexec, gksudo, kdesudo, beesu, or sudo), and a password prompt appearing as the window disappears is a bad moment for it, so the download stays staged until you press Restart to update.

Dismissing that prompt cancels the update rather than failing it. Since v0.40.0 Kangentic recognizes a declined authentication dialog for what it is instead of treating it as a broken install, so declining costs you nothing beyond staying on the version you are running. The download is already staged, so Restart to update is there to press again whenever you are ready. On a desktop with no graphical password prompt at all, the Updates page gives you the command that installs it from a terminal.

Update sits at the foot of the app rail, above News, and is always there. Its cloud icon is the updater’s status: a check mark when Kangentic is up to date, a pulsing cloud while it checks, a download arrow while it downloads, and an exclamation mark in blue once there is something to do. Its tooltip says the same in words, such as “Kangentic is up to date”. It opens the Updates page beside the rail, which replaced the release-notes and What’s New dialogs in v0.67.0. The version pill in the status bar and both update toasts open it too. Escape, a second click on Update, or Projects on the rail closes it.

The page’s header carries the Automatic updates switch. Under it, one card shows where things stand:

  • A status pill: Checking, Downloading, Update ready, Waiting for agents, Up to date, or Can’t install, and Not checked yet before the first check of the run finishes.
  • The version, as in Kangentic 0.69.0, and the day it was released. While a newer version downloads or waits to install, the card shows that version. Otherwise it shows the one you are running.
  • One action. Restart to update once a download is ready, with a lock and the tooltip “Asks for your password” where installing needs one. Cancel while the restart waits for agents. Check for updates the rest of the time.

Under those, the same card lists the release’s notes in the changelog’s four sections: Breaking changes, Features, Fixes, and Other, each with a count. A section of more than six lines shows five and Show N more. Full notes on GitHub opens the release itself.

Earlier releases lists up to ten releases before it, each a collapsed row with its version, its date, and its section counts. A release newer than the one you run carries a New to you chip. A row opens to the same sections, and Older releases on GitHub opens the full list. That list comes from GitHub’s releases API, read once per run when you first open the page, and again only when a newer version turns up. If GitHub cannot be reached it says “Couldn’t load earlier releases.”, and the next time you open the page it tries again. The changelog on this site keeps every release’s notes too.

Nothing opens by itself. Two toasts point at the page instead. When a new version has downloaded, “A new update to Kangentic is available” stays until you close it, with See update. It shows once per version, a newer version that arrives while it is up changes it in place, and nothing toasts while the page is open. After the restart that installed it, a timed “Updated to v0.69.0” toast names the version you came from, and a click opens the page. A fresh install skips that one, because it has not updated from anything.

Restart to update never stops an agent mid-turn. With agents working, the status turns to Waiting for agents, the card reads “2 agents are still working. Kangentic restarts when they finish.”, and Cancel takes its place. Kangentic restarts once every agent on this computer has reached a safe point and stayed there for 3 seconds. An agent on an SSH host does not hold the restart, because quitting leaves it running on the host. With no agent working, the restart is immediate.

Automatic updates is on by default. It is the first card of Settings > Behavior, and the switch in the Updates page’s header is the same setting. While it is on:

  • A normal quit installs a downloaded update on Windows and macOS.
  • Kangentic restarts into a downloaded update by itself once no agent is working and the computer has had no input for 15 minutes. It checks once a minute.
  • It never restarts by itself where installing asks for a password: on Linux, or on a Mac whose app folder your account cannot write. Linux waits for Restart to update, and such a Mac for that or a quit.

Turned off, Kangentic still checks and downloads, and installs only when you click Restart to update. Agents that were running come back after any of these restarts the way they do after a quit, unless Auto-resume agents on restart is off.

To install a specific version:

Terminal window
npx kangentic@0.2.0

The launcher version matches the app version. This downloads the exact matching release.

To roll back to a previous version, run npx kangentic@X.Y.Z with the desired version number. On Windows, the NSIS installer replaces the current version. On macOS, the .app is replaced in ~/Applications/.

On Linux, the package managers disagree about going backwards. Fedora’s dnf install performs the downgrade without complaint, so there npx kangentic@X.Y.Z rolls back on its own. apt install, zypper install, and plain rpm -U all refuse a downgrade, so on those distros download the older artifact from GitHub Releases and run the explicit downgrade command: sudo dpkg -i <file>.deb, sudo zypper install --oldpackage <file>.rpm, or sudo rpm -Uvh --oldpackage <file>.rpm.

An install that cannot update itself shows Can’t install on the Updates page, with the reason in place of Restart to update and the one thing to do about it. The cases below are the ones Kangentic tells you about. Other updater failures are logged and counted but left silent, because there is nothing you could do about them.

  • Verify the release is published (not a draft) on GitHub
  • The app checks every 15 minutes - click Check for updates on the Updates page to check now
  • On macOS, check System Settings > General > Software Update for pending restarts

Kangentic cannot update from a read-only volume

Section titled “Kangentic cannot update from a read-only volume”

On macOS, an app that is still running from the mounted DMG, or from the quarantined copy macOS makes of one, cannot write over itself, so every update fails. Nothing about that is transient: the install stays on its version forever until somebody moves it.

The Updates page says so: “Move Kangentic to Applications to keep it updated.” Drag it there, launch it from there, and updates resume. From v0.43.0 until v0.67.0 a toast said the same, once per run.

An update that cannot be downloaded or unpacked because the disk is full shows Can’t install, with “Free up disk space to install this update.” Before v0.69.0, on a Mac, the update still read as ready, and Restart to update did nothing. The block ends by itself once there is room. Each scheduled check hands the downloaded update to the installer again, and the update installs. A full disk is your computer’s state, so it is counted and never reported as a defect.

macOS needs an administrator to install the update

Section titled “macOS needs an administrator to install the update”

macOS replaces the app with administrator rights when the account running Kangentic cannot write to it or to its folder. The usual case is a copy an administrator put in /Applications, run from a standard account. Restart to update carries a lock there, and Automatic updates never restarts that copy on its own. Clicking it brings up a macOS password prompt. Pressing Cancel leaves you on your version, and Kangentic says nothing, because you just chose that. A refused prompt (a wrong password, or an account that is not an administrator) also leaves you on your version. Before v0.62.0 nothing said why.

The Updates page now says macOS needs an administrator to install this update., where a toast said it from v0.62.0. An administrator who signs in at the prompt lets the update install. So does moving Kangentic to a folder your own account can write to, such as ~/Applications, where npx kangentic installs it. Neither outcome is reported as a defect.

macOS installs an update only when it is signed the same way as the copy you are running. A copy that was changed or re-signed after it was downloaded, such as one signed ad hoc, is no longer signed by Kangentic’s team, so no release can ever match it, and every update is refused. Before v0.58.0 the update still downloaded and offered Restart to update, and the button did nothing.

Since v0.58.0 Kangentic reads how the running copy is signed. When it is not Kangentic’s own, the Updates page says Download Kangentic again to keep it updated., and Download from GitHub opens the latest release. A fresh download is signed by Kangentic again, and updates resume. A copy that is still Kangentic’s own is not told this, because downloading the same release again would not help, and the refusal is reported as one issue instead.

A .deb unpacked outside dpkg, on a host with neither dpkg nor apt, still downloads updates and offers Restart to update, but the install refuses before any elevation prompt. The Updates page then shows the error word for word, Neither dpkg nor apt command found. Cannot install .deb package., with Download from GitHub for the release page. From v0.55.0 a toast showed it. Before that, the button did nothing. Kangentic gives no other advice, because the fix depends on how the package got onto the machine.

A Linux desktop with no graphical password prompt

Section titled “A Linux desktop with no graphical password prompt”

When none of pkexec, gksudo, kdesudo, or beesu is installed, the updater falls back to plain sudo. An app started from the desktop has no terminal for sudo to ask in, so it exits at once: no prompt shows, and the app does not quit. Since v0.60.0 Kangentic checks whether sudo needed a password. If it did, the Updates page says No graphical password prompt, such as pkexec, is installed. and, since v0.67.0, gives the command that installs the package it already downloaded, with Copy. Run it in a terminal:

  • sudo apt install <file> for a .deb, or sudo dpkg -i <file> where there is no apt
  • sudo dnf install <file>, sudo zypper install <file>, or sudo yum install <file> for an .rpm, whichever the machine has

Where none of those is installed, the page offers Download from GitHub instead. Installing a graphical prompt, such as pkexec, lets later updates install in place. On a machine where sudo needs no password, the failure is the package manager’s own and is reported as a defect.

Delete %LOCALAPPDATA%\kangentic-updater\ and restart the app.

The updater keeps its downloads in a cache directory of its own, separate from the app’s data directory (kangentic, without the suffix), so clearing it never touches your projects, boards, or session history. A half-downloaded installer lives in the pending/ subfolder.

Kangentic is free and open source. A star helps other people find it.

Star on GitHub