BoxedMan/build_windows.ps1

8 lines
331 B
PowerShell

Write-Host "Building BoxedMan for Windows..." -ForegroundColor Cyan
.\.venv\Scripts\pyinstaller.exe boxedman.spec --noconfirm --clean
if ($LASTEXITCODE -eq 0) {
Write-Host "`nBuild successful! Binary location: dist\BoxedMan\BoxedMan.exe" -ForegroundColor Green
} else {
Write-Host "`nBuild failed." -ForegroundColor Red
}