docs(oss): how to build the Windows desktop installer
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user