Skip to content

Commit 9352bb0

Browse files
authored
Merge pull request #23 from ElcanoTek/codex/fix-macos-app-launch-error
docs: note codesign step for mac packaging
2 parents 2be5e92 + 904146a commit 9352bb0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,15 @@ Before packaging, fetch `VICTORIA.md` from its private repository and place it i
131131

132132
The script uses `uvx pyinstaller`, so no `pip install` is required. The bundle will be created at `dist/Victoria.app`. It bundles `CRUSH.md`, `VICTORIA.md`, `crush.template.json`, `snowflake.mcp.json`, and `.crushignore` for runtime reference.
133133

134-
2. Share the app internally by either wrapping it in a DMG or zipping the bundle:
134+
2. Sign the bundle so macOS will load the bundled Python framework:
135+
136+
```bash
137+
codesign --force --deep --sign - dist/Victoria.app
138+
```
139+
140+
Replace `-` with your Developer ID certificate when distributing outside your machine. Without this step, launching the app may fail with a "different Team IDs" error.
141+
142+
3. Share the app internally by either wrapping it in a DMG or zipping the bundle:
135143

136144
* **DMG (polished drag-and-drop):** NOTE: replace "-" with your Developer ID if available
137145
```bash

0 commit comments

Comments
 (0)