Give the front end its version through the build environment

vite.config.js reads RUNESTONE_VERSION and falls back to package.json.
The installer build sets RUNESTONE_VERSION and writes all four version
files only after the installer exists. Before, it wrote package.json
before the build and restored it after a failure.

The installation guide and CLAUDE.md now say that setup replaces the
installed app in place. The installer no longer shows a maintenance page.
This commit is contained in:
Knotty Wyvern
2026-10-27 22:59:22 -07:00
parent 7914942698
commit 70510a114f
8 changed files with 37 additions and 24 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ Rules from the owner:
## Windows installer
- An existing installation defaults to reinstall, also for the same version. Users never need to uninstall first.
- Setup replaces an existing installation in place, also for the same version. Users never need to uninstall first.
- Reinstall and update preserve workspace files and user settings.
- Keep the protection against version downgrades.