12 lines
306 B
PowerShell
12 lines
306 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
python -m pip install -r requirements.txt
|
|
|
|
# Generate icon files in project root
|
|
python scripts/make_icon.py
|
|
|
|
# Build single-file exe
|
|
pyinstaller --noconsole --onefile --name CatMode --icon cat.ico main.py
|
|
|
|
Write-Host "Build complete. Find the exe in .\\dist\\CatMode.exe"
|