You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,12 @@ python3 victoria.py
97
97
This gives you the most control and is the same across macOS, Linux, and Windows (PowerShell).
98
98
All modes store configuration and data in`~/Victoria` (or `%USERPROFILE%\Victoria` on Windows).
99
99
100
+
To refresh the bundled `VICTORIA.md` knowledge base during development, run:
101
+
102
+
```bash
103
+
python3 victoria.py --dev
104
+
```
105
+
100
106
#### Customizing the launch tool
101
107
102
108
Victoria uses the `crush` CLI by default. Set the following environment variables to swap in a different tool or config files:
@@ -140,17 +146,19 @@ After that, it’s double-click and go.
140
146
141
147
## 📦 Packaging for macOS and Windows
142
148
143
-
You can build standalone packages so Victoria can be launched without a terminal.
149
+
You can build standalone packages so Victoria can be launched from Finder. The macOS app opens a terminal window for interaction.
144
150
145
151
### macOS `.app`
146
152
153
+
Before packaging, fetch `VICTORIA.md` from its private repository and place it in the project root. It is ignored by git.
154
+
147
155
1. Run:
148
156
149
157
```bash
150
158
./package_mac.sh
151
159
```
152
160
153
-
The script uses `uvx pyinstaller`, so no `pip install` is required. The bundle will be created at `dist/Victoria.app`.
161
+
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.
154
162
155
163
2. Share the app internally by either wrapping it in a DMG or zipping the bundle:
156
164
@@ -170,6 +178,8 @@ You can build standalone packages so Victoria can be launched without a terminal
170
178
171
179
### Windows `.exe` and Installer
172
180
181
+
Before packaging, fetch `VICTORIA.md` from its private repository and place it in the project root. It is ignored by git.
182
+
173
183
1. Install [Inno Setup](https://jrsoftware.org/isinfo.php) (make sure `iscc` is on your PATH). PyInstaller is invoked via `uvx`, so you don't need to install it.
174
184
2. To change the installer version, edit `installer_win.iss` and update `MyAppVersion` on line 2.
175
185
3. Run `package_win.bat` from Command Prompt or PowerShell:
@@ -178,7 +188,7 @@ You can build standalone packages so Victoria can be launched without a terminal
178
188
.\package_win.bat
179
189
```
180
190
181
-
This produces both a standalone executable (`dist/Victoria.exe`) and an installer (`dist/VictoriaSetup.exe`).
191
+
This produces both a standalone executable (`dist/Victoria.exe`) and an installer (`dist/VictoriaSetup.exe`). The build bundles `CRUSH.md` and `VICTORIA.md` alongside the configuration templates for runtime reference.
182
192
183
193
To upgrade Victoria on Windows, build a new installer with an updated version number and run it; Inno Setup will replace the previous installation automatically while preserving the same AppId.
184
194
Both packaged versions automatically use the `~/Victoria` folder (or `%USERPROFILE%\Victoria` on Windows) for configuration and data.
0 commit comments