# Build NiimbotLabel.exe on Windows. # Requires Python 3.10+ from python.org (with tcl/tk, which the installer includes by default). # Run from this folder in PowerShell: .\build-windows.ps1 $ErrorActionPreference = "Stop" if (-not (Test-Path .venv-win)) { py -3 -m venv .venv-win } .\.venv-win\Scripts\python -m pip install --upgrade pip .\.venv-win\Scripts\pip install -r requirements.txt pyinstaller .\.venv-win\Scripts\pyinstaller --noconfirm --clean label_app.spec Write-Host "`nBuilt: dist\NiimbotLabel.exe"