YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
276 stars 68 forks source link

[BUG]No "windows-build-args" option #184

Closed KentaIbayashi closed 1 year ago

KentaIbayashi commented 1 year ago

msix version 3.7.0 I want to add an argument when msix:create build windows app.

command flutter pub run msix:create --windows-build-args=--dart-define=FLAVOR=dev and then output is here Unhandled exception: FormatException: Cound not find an option named "windows-build-args"

I also tried to add "windows_build_args: --dart-define=FLAVOR=dev" to pubspec.yaml, but the output is the same.

Any solution?

YehudaKremer commented 1 year ago

Hey You need newer version for that https://github.com/YehudaKremer/msix/blob/main/CHANGELOG.md#380

KentaIbayashi commented 1 year ago

Thank you:) I upgraded msix to 3.8.2 then worked with no error.