Update the browser, editor, settings, and installer

This commit is contained in:
Knotty Wyvern
2026-10-12 14:46:21 -07:00
parent 909894b9c8
commit f6eaa52949
163 changed files with 146260 additions and 534 deletions
+15
View File
@@ -186,3 +186,18 @@ Read Rust errors in the terminal that runs `pnpm tauri dev`.
In the Windows development window, press Ctrl+Shift+I to open the web inspector.
Use its console for frontend errors.
See [Tauri's inspector instructions](https://v2.tauri.app/develop/#opening-the-web-inspector).
## Built-in browser runtime
The browser interface lives in `src/lib/browser`. Its Electron runtime, tests, assets, and third-party notices live in `browser-runtime`.
The host no longer needs a sibling Browser checkout. Keep the old checkout until its local work and history no longer need preservation.
1. Run `npm ci --prefix browser-runtime` to install the pinned runtime dependencies.
2. Run `pnpm browser:check` and `pnpm browser:test` for source checks.
3. Run `pnpm browser:test:engine` for native Electron checks.
4. Run `npm --prefix browser-runtime run package` to prepare the runtime.
5. Run `pnpm browser:stage` before a host installer build.
Runtime compilation and staging do not produce a new RuneStone installer version.
The installer includes the staged runtime from `src-tauri/browser-engine`. Follow the project version policy when creating that installer.
Use `scripts/browserInteraction.smoke.mjs` to check the host interface against a real runtime.
Keep its results separate from the native Tauri window checks.