The update dialog offered a disabled button when running from an install prefix without a source checkout, and the version file lagged behind the release tag. Add a tarball download + rebuild + reinstall path to the same prefix (sudo only for system prefixes) and bump the version file to 1.3.1.
Introduces a root `version` file holding the current release number so the
CI release workflow has one place to read the version from.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>