docs: how to build the desktop app, and the packaged macOS launch

This commit is contained in:
shumeiko.it
2026-10-24 19:18:02 +02:00
parent 1f536151d8
commit 3befcd8e9b
2 changed files with 9 additions and 2 deletions

View File

@@ -148,6 +148,10 @@ npm run dev:server # sidecar on http://localhost:3333, serves the UI from
- Workspace packages export their TypeScript source under the `source` condition, which
tsx, Vitest, Vite and the sidecar bundle resolve (P2.1). No `build:packages` is needed
before running or testing; it builds the `dist/` entries for publishing.
- 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.
- 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`.