1.4 KiB
1.4 KiB
1. Packaging Setup
- 1.1 Add Electron Builder and packaging metadata for macOS and Windows targets.
- 1.2 Add app staging script that copies the production renderer, Electron main/preload, assets, Local API, and required helper scripts into a packageable app directory.
- 1.3 Add package scripts for macOS, Windows, current host, and all desktop targets.
- 1.4 Ensure packaged Electron loads local renderer files and sets packaged-mode runtime environment.
2. Runtime Integration
- 2.1 Confirm Local API starts from the packaged app without requiring pnpm, Vite, or a repo checkout.
- 2.2 Confirm writable runtime paths use customer user-data locations in packaged mode.
- 2.3 Keep heavyweight dependency setup routed through Model Center readiness actions.
3. Documentation
- 3.1 Document customer artifact expectations for macOS and Windows.
- 3.2 Document repeatable local/CI build commands, prerequisites, and output paths.
- 3.3 Document signing/notarization requirements and unsigned internal-test limitations.
4. Verification
- 4.1 Run syntax checks for packaging scripts and Electron main/preload files.
- 4.2 Run the web production build.
- 4.3 Build the macOS package on this macOS host.
- 4.4 Attempt or document Windows package build constraints; build on Windows/CI when available.
- 4.5 Smoke-check packaged startup and Local API health where possible.