AutoModpack icon indicating copy to clipboard operation
AutoModpack copied to clipboard

Wildcards don't support subdirectories

Open n-zer opened this issue 1 year ago • 0 comments

Bug description

Wildcards in paths only accept files in that exact directory instead of including files in subdirectories as well.

Steps to reproduce

  1. Use default server config (which includes "/config/*" in allowsEditsInFiles)
  2. Add /config/foo/bar.txt to your modpack folder
  3. Start the server
  4. Open the generated auto-modpack.json

Expected behavior

/config/foo/bar.txt should have "editable": true

Actual behavior

/config/foo/bar.txt has "editable": false

Relevant logs

No response

Minecraft & Mod Loader versions

1.21 fabric 0.16.0

Minecraft launcher

No response

Operating system

Windows 10

AutoModpack version

4.0.0-beta11

Other information

No response

Check list

  • [X] I have verified that the issue persists in the latest version of the mod.
  • [X] I have searched the existing issues and confirmed that this is not a duplicate.

n-zer avatar Jul 22 '24 22:07 n-zer