Files
localsend/scripts/compile_windows_zip.ps1
2024-11-03 02:35:19 +01:00

15 lines
321 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/x64/runner/Release/* -DestinationPath LocalSend-XXX-windows-x86-64.zip
cd ..
Write-Output 'Generated Windows zip!'