Build msix

This commit is contained in:
Hanh 2022-12-14 16:24:31 +08:00
parent f722bd65b5
commit 9bd67de366
1 changed files with 3 additions and 5 deletions

View File

@ -9,15 +9,13 @@ flutter pub run build_runner build
popd
flutter build windows
copy runtime\* build\windows\runner\Release
copy warp_api_ffi.dll build\windows\runner\Release
flutter pub run msix:create
pushd build\windows\runner
move-item Release\YWallet.msix .
rename-item Release ywallet
popd
copy runtime\* build\windows\runner\ywallet
copy warp_api_ffi.dll build\windows\runner\ywallet
pushd build\windows\runner
Compress-Archive -Path ywallet\ -DestinationPath ..\..\..\ywallet.zip
copy YWallet.msix ..\..\..
popd