Skip to content

An open-source cross-platform alternative to AirDrop

chore: update windows script

Tien Do Nam95e912a4c4e2
diff --git a/scripts/compile_windows_msix_signed.ps1 b/scripts/compile_windows_msix_signed.ps1
index f7a5b287..8f5b12be 100644
--- a/scripts/compile_windows_msix_signed.ps1
+++ b/scripts/compile_windows_msix_signed.ps1
@@ -10,10 +10,9 @@ param(
cd app
fvm flutter clean
fvm flutter pub get
-fvm flutter pub run build_runner build -d
-fvm flutter pub run msix:create --certificate-path ../secrets/windows-tienisto.pfx --certificate-password $CERTIFICATE_PASSWORD
+fvm dart run msix:create --certificate-path ../secrets/windows-tienisto.pfx --certificate-password $CERTIFICATE_PASSWORD
-Move-Item -Path build/windows/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64.msix
+Move-Item -Path build/windows/x64/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64.msix
cd ..