fluffychat/scripts/build-windows.ps1
TheOneWithTheBraid a9819577d6 chore: Windows support
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-08-05 21:35:47 +02:00

12 lines
366 B
PowerShell

flutter doctor
flutter config --enable-windows-desktop
flutter clean
flutter pub get
Write-Output "$WINDOWN_PFX"
Move-Item -Path $WINDOWS_PFX -Destination fluffychat.pem
certutil -decode fluffychat.pem fluffychat.pfx
flutter build windows --release -v
flutter pub run msix:create -c fluffychat.pfx -p $WINDOWS_PFX_PASS --sign-msix true --install-certificate false