Files
localsend/scripts/compile_windows_zip.ps1
2024-07-25 12:23:13 +02:00

15 lines
317 B
PowerShell

# UNCOMMENT THESE LINES TO BUILD FROM LATEST COMMIT
# git reset --hard origin/main
# git pull
cd app
fvm flutter clean
fvm flutter pub get
fvm flutter build windows
Compress-Archive -Path build/windows/runner/Release/* -DestinationPath LocalSend-XXX-windows-x86-64.zip
cd ..
Write-Output 'Generated Windows zip!'