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
+1 -1
View File
@@ -283,7 +283,7 @@ Before you start the app, set `WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-de
## Built-in browser runtime
The browser interface is in `src/lib/browser/`. The browser engine, its tests, and its notices are in `browser-runtime/`.
The engine is a separate download. Users install it on first use.
The engine is a separate download. Users install it on first use. To build and publish it, see [Build the browser engine](builds.md#build-the-browser-engine).
1. Run `npm ci --prefix browser-runtime`.
2. Run `pnpm browser:check` and `pnpm browser:test`.