docs(oss): how to build the Windows desktop installer

This commit is contained in:
shumeiko.it
2026-10-26 00:43:27 +01:00
parent ae8233b8f6
commit 5268881f46
2 changed files with 110 additions and 1 deletions

View File

@@ -152,7 +152,8 @@ npm run dev:server # sidecar on http://localhost:3333, serves the UI from
- The desktop app (`app/`) has its own dependencies outside the npm workspaces: run
`npm ci` in `app/` once, then `npm run tauri:build:mac:arm64` (or the script for your
platform). It needs a current Rust toolchain. Set `CI=true` when the build runs without
access to Finder, or the DMG step fails while styling the disk image window.
access to Finder, or the DMG step fails while styling the disk image window. The Windows
installer must be built on Windows: see [docs/oss/build-windows.md](docs/oss/build-windows.md).
- The sidecar registers routes for the files in `dist/` when it starts (`@fastify/static`
with `wildcard: false`), so assets from a later build return 404. Restart the sidecar after
`npm run build`.