chore: Windows support

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-07-15 07:39:28 -07:00
commit 542115a1ee
23 changed files with 308 additions and 148 deletions

View file

@ -2,4 +2,11 @@ flutter doctor
flutter config --enable-windows-desktop
flutter clean
flutter pub get
flutter build windows --release -v
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

View file

@ -1,3 +1,5 @@
choco install flutter -y
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
refreshenv
refreshenv
flutter config --no-analytics