Closed animator closed 1 year ago
No idea why lint / format (pull_request)
failed 🤷🏻♀️
I think the arch should not be specified by the user, but should be obtained from the current system, just like this. https://github.com/leanflutter/flutter_distributor/blob/6daea51056d48287a6a437be5e77d45611b09a31/packages/flutter_app_builder/lib/src/builders/linux/build_linux_result.dart#L18-L28
The reason I took this route is because it requires minimum code changes and gives more control to the user as arm64
and amd64
are just two architectures, there are plenty more which the current getter in builders/linux/build_linux_result.dart
does not handle. Let me know your thoughts.
Fix for Linux deb packager highlighted in #116
Users can now specify build architecture -
arm64
,amd64
(default if not specified) in themake_config.yaml
file viabuild_arch
option (same option name as used by rpm maker)Tested it by building foss42/api-dash linux builds.