Ship the browser engine as its own release file

The installer no longer bundles the engine, and the installer script
stops when the bundle names it or when the setup file is over 30 MB.
pnpm build:browser-engine packages the engine, writes a deterministic
ZIP and its record to releases/browser-engine/<version>/, and pins the
ZIP in the host. The installer hooks remove the engine folder that 0.1.48
leaves behind, and uninstall removes the downloaded engine.
This commit is contained in:
Knotty Wyvern
2026-10-29 01:25:53 -07:00
parent c06d48f250
commit aebe700366
18 changed files with 511 additions and 52 deletions
+3 -2
View File
@@ -26,6 +26,7 @@ The [development guide](docs/development.md#architecture) maps the source folder
| `pnpm check:menus` | Menu surface inventory |
| `pnpm smoke [filter...]` | Browser smoke tests (`tests/smoke/`). See [Browser smoke tests](docs/development.md#browser-smoke-tests). |
| `pnpm build:installer --version <version>` | Windows installer. See [Builds](docs/builds.md). |
| `pnpm build:browser-engine --release-url <url> --version <version>` | Browser engine ZIP and its pin. See [Build the browser engine](docs/builds.md#build-the-browser-engine). |
| `pnpm package:plugin <compiled-folder> [output-folder]` | Plugin ZIP |
| `pnpm sdk:build` | Build the plugin SDK in `packages/plugin-sdk/` |
| `pnpm release:sdk --version <version>` | Prepare an SDK release in the public SDK clone. It never pushes. See [SDK releases](docs/releases.md). |
@@ -74,13 +75,13 @@ Rules from the owner:
- Versions use `zz.yy.xx`. A hotfix adds a lowercase letter suffix: `0.2.28a`, then `0.2.28b`.
- Keep the current version during source edits, fixes, documentation, and checks. Instruction-only edits never change it.
- Set the next version only when you produce a build: a RuneStone installer or a plugin ZIP.
- Set the next version only when you produce a build: a RuneStone installer, a browser engine ZIP, or a plugin ZIP.
A regular build increases `xx` by one. A hotfix build increases only the suffix.
- If the build fails, restore the previous version fields. Failed attempts do not use up a version.
- Increase `yy` or `zz` only when the owner directs a release.
- Report a new version only after its artifact exists. Report the full artifact path.
- Completed builds go in `releases/`, outside Git. Never overwrite a release with different contents.
- Repository releases contain only installers or plugin ZIPs, with an empty description.
- Repository releases contain only installers, browser engine ZIPs, or plugin ZIPs, with an empty description.
## Windows installer