- windows/installer.nsi: installs to Program Files, manages system PATH, registers uninstaller - relspec update [--check] [--yes]: compares against the latest release and prompts; on Windows downloads and runs the installer - release workflow builds and uploads relspec-setup-windows-amd64.exe - make installer-windows
732 B
732 B
Windows installer
NSIS script: installer.nsi. Output: build/relspec-setup-windows-amd64.exe.
Build
make installer-windows
Needs makensis (package nsis). CI builds and uploads it on release.
Installer
- Installs
relspec.exeto%ProgramFiles%\RelSpec(admin). - Adds the install dir to the system
PATH; removed on uninstall. - Registers in Add/Remove Programs.
Update check
relspec update # check, prompt, download + run installer (Windows)
relspec update --check # report only
relspec update --yes # no prompt
- Source: latest Gitea release (
pkg/updatecheck). devand commit-hash builds are never reported as outdated.- Non-Windows: prints the release URL.