# Build the Windows app folder and a zip of it: dist\MTGA Assistant\ and dist\MTGA-Assistant-windows.zip # Requires uv (https://docs.astral.sh/uv/). Run from anywhere: # powershell -ExecutionPolicy Bypass -File packaging\build_windows.ps1 $ErrorActionPreference = "Stop" Set-Location (Split-Path $PSScriptRoot -Parent) uv sync --group build uv run pyinstaller --noconfirm --clean packaging/mtga-assistant.spec $zip = "dist/MTGA-Assistant-windows.zip" if (Test-Path $zip) { Remove-Item $zip } Compress-Archive -Path "dist/MTGA Assistant" -DestinationPath $zip Write-Host "Built dist\MTGA Assistant\MTGA Assistant.exe and $zip"