Skip to content

Commit 65cc470

Browse files
committed
docs: note installer version and use uvx for packaging
1 parent bd2eb16 commit 65cc470

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,21 +144,21 @@ You can build standalone packages so Victoria can be launched without a terminal
144144

145145
### macOS `.app`
146146

147-
1. Install [PyInstaller](https://pyinstaller.org) (`pip install pyinstaller`).
148-
2. Replace `assets/icon.icns` with your desired app icon (ICNS format).
149-
3. Run:
147+
1. Replace `assets/icon.icns` with your desired app icon (ICNS format).
148+
2. Run:
150149

151150
```bash
152151
./package_mac.sh
153152
```
154153

155-
The bundle will be created at `dist/Victoria.app`.
154+
The script uses `uvx pyinstaller`, so no `pip install` is required. The bundle will be created at `dist/Victoria.app`.
156155

157156
### Windows `.exe` and Installer
158157

159-
1. Install PyInstaller (`pip install pyinstaller`) and [Inno Setup](https://jrsoftware.org/isinfo.php) (make sure `iscc` is on your PATH).
158+
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.
160159
2. Replace `assets\icon.ico` with your desired app icon (ICO format).
161-
3. Run `package_win.bat` from Command Prompt or PowerShell:
160+
3. To change the installer version, edit `installer_win.iss` and update `MyAppVersion` on line 2.
161+
4. Run `package_win.bat` from Command Prompt or PowerShell:
162162
163163
```powershell
164164
.\package_win.bat

package_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3-
pyinstaller --noconfirm --windowed --name Victoria \
3+
uvx pyinstaller --noconfirm --windowed --name Victoria \
44
--icon assets/icon.icns \
55
--add-data "crush.template.json:." \
66
--add-data "snowflake.mcp.json:." \

package_win.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
pyinstaller --noconfirm --onefile --name Victoria ^
2+
uvx pyinstaller --noconfirm --onefile --name Victoria ^
33
--icon assets\icon.ico ^
44
--add-data "crush.template.json;." ^
55
--add-data "snowflake.mcp.json;." ^

0 commit comments

Comments
 (0)