YehudaKremer / msix

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

[FEATURE REQUEST] Prepare for upcoming breaking change in Flutter's build directory layout #205

Closed loic-sharma closed 1 year ago

loic-sharma commented 1 year ago

:speech_balloon: Description

In a future release, Flutter Window's build directory layout will change. This will enable Windows Arm64 support. See: https://flutter.dev/go/windows-arm64

Current layout: ./build/windows/runner/<mode>/<app>.exe New layout: ./build/windows/<architecture>/runner/<mode>/<app>.exe

Example using new layout: ./build/windows/x64/runner/Release/gallery.exe

This is a breaking change. For example:

https://github.com/YehudaKremer/msix/blob/0b38499a49e59e9169dcf2adfa546924e7e35615/lib/src/configuration.dart#L24-L25

If possible, package:msix should support both the "old" and "new" layout while the Flutter Windows community migrates to the new build layout. Please let me know if you have any questions about this change! /cc @pbo-linaro.

:question: Platform

Windows

YehudaKremer commented 1 year ago

Hello @loic-sharma

No problem, I will add support for this.

YehudaKremer commented 1 year ago

@loic-sharma Hello again

Msix package version 3.15.0 is now supporting the new and the old folder architecture-layout for Flutter windows build.

Thanks for letting me know about this change.

pbo-linaro commented 1 year ago

That was fast! Good work. We'll keep you updated when the PR for build layout is about to be merged.