leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
772 stars 106 forks source link

AppImage include with wildcard only take first file of results #132

Open h3x4d3c1m4l opened 1 year ago

h3x4d3c1m4l commented 1 year ago

Hi all! Consider the following includes in make_config.yaml:

include:
  - /usr/lib/x86_64-linux-gnu/libgphoto2/*/*.so
  - /usr/lib/x86_64-linux-gnu/libgphoto2_port/*/*.so

I would expect this to include every found file. Currently only the first result of each result is actually included.

image

I might be able to fix this. Would you accept a PR?

h3x4d3c1m4l commented 1 year ago

Also, it does not put the library in the same path, while libgphoto2 probably needs it to be...