chore: update msix script

This commit is contained in:
Tien Do Nam
2023-10-25 21:04:46 +02:00
parent 203ce94ded
commit 2ea1c6b668
+4 -1
View File
@@ -7,11 +7,14 @@ param(
[string]$CERTIFICATE_PASSWORD
)
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 flutter pub 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
cd ..
Write-Output 'Generated Signed Windows msix!'