Skip to content

An open-source cross-platform alternative to AirDrop

chore: update zip script

Tien Do Name9ee6738cfb6
diff --git a/scripts/compile_windows_zip.ps1 b/scripts/compile_windows_zip.ps1
index 949941c3..dae07467 100644
--- a/scripts/compile_windows_zip.ps1
+++ b/scripts/compile_windows_zip.ps1
@@ -2,11 +2,14 @@
# git reset --hard origin/main
# git pull
+cd app
+
fvm flutter clean
fvm flutter pub get
-fvm flutter pub run build_runner build -d
fvm flutter build windows
Compress-Archive -Path build/windows/runner/Release/* -DestinationPath LocalSend-XXX-windows-x86-64.zip
+cd ..
+
Write-Output 'Generated Windows zip!'
\ No newline at end of file