File tree Expand file tree Collapse file tree 4 files changed +31
-1
lines changed
Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 9696 - name : Validate version
9797 run : python scripts/validate_version.py
9898
99+ - name : Generate application icons
100+ run : |
101+ echo "=== Generating application icons (taskbar/dock) ==="
102+ python scripts/generate_icons.py
103+ if [ -f build/icon.icns ]; then
104+ echo "[OK] icon.icns created for macOS"
105+ elif [ -f build/icon.ico ]; then
106+ echo "[OK] icon.ico created (ICNS may need manual conversion on macOS)"
107+ else
108+ echo "ERROR: No icon file found after generate_icons.py"
109+ exit 1
110+ fi
111+
99112 - name : Build with PyInstaller
100113 run : |
101114 python scripts/build_pyinstaller.py
Original file line number Diff line number Diff line change @@ -148,6 +148,17 @@ jobs:
148148 python scripts/validate_version.py
149149 Write-Host "Version validation completed"
150150
151+ - name : Generate application icons
152+ run : |
153+ Write-Host "=== Generating application icons (taskbar/dock) ==="
154+ python scripts/generate_icons.py
155+ if (Test-Path "build\icon.ico") {
156+ Write-Host "[OK] icon.ico created for Windows"
157+ } else {
158+ Write-Error "icon.ico not found after generate_icons.py"
159+ exit 1
160+ }
161+
151162 - name : Verify Python DLL exists
152163 run : |
153164 Write-Host "=== DEBUG: Verifying Python DLL ==="
Original file line number Diff line number Diff line change @@ -51,3 +51,6 @@ openpyxl==3.1.5
5151# Build tool (PyInstaller for packaging)
5252pyinstaller==6.17.0
5353
54+ # Icon generation (generate_icons.py: logo.png -> icon.ico / icon.icns)
55+ Pillow==11.0.0
56+
Original file line number Diff line number Diff line change 77- build/icon.ico (Windows)
88- build/icon.icns (macOS)
99
10- This script should be run before building the application.
10+ Run before building the application (CI does this automatically).
11+ For local development: run once so the taskbar/dock shows the CuePoint logo
12+ when you run from run_gui.bat or run_gui.command:
13+ python scripts/generate_icons.py
1114"""
1215
1316import sys
You can’t perform that action at this time.
0 commit comments