YehudaKremer / msix

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

[FEATURE REQUEST] How to use misx with different entry points #143

Closed yahya-uddin closed 2 years ago

yahya-uddin commented 2 years ago

:speech_balloon: Description

Normally if you wanted to build with flutter with a different entrypoint we would use:

flutter build windows -t lib\entrypoint\staging.dart

However it is not possible to do this with "msix:create"

flutter pub run msix:create -t lib\entrypoint\staging.dart # error

Can we update the command so that all unused arguments are passed on to the flutter build. Or alternatively, have a --build-args flag that can be passed onto flutter. e.g,

flutter pub run msix:create --build-args "-t lib\entrypoint\staging.dart"

:question: Platform

All platforms

YehudaKremer commented 2 years ago

You can run

flutter build windows -t lib\entrypoint\staging.dart

then run

flutter pub run msix:create --build-windows false
yahya-uddin commented 2 years ago

Great thanks for fast reply