mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
POST /api/upgrade found a pending Nix CLI update by searching the upgrade output for "installed with Nix". Rewording that row would silently turn the 409 into a 200, and the dashboard would restart onto the same binary with no advice. The handler now detects the install method first. On Nix it runs `upgrade --skill --force`, since only Nix may replace a store binary, and asks the same version check the update dialog uses whether a newer CLI exists. NixUpgradeNote existed only for the text match, so the CLI row now spells the phrase out.