demonnic / muddler

A build tool for Mudlet package developers
MIT License
40 stars 12 forks source link

Order of sub-folders is not respected #44

Open jmckisson opened 3 days ago

jmckisson commented 3 days ago

When defining a hierarchy of scripts mixed with script folders, the folders seem to be placed at the top of the tree regardless of their position defined in the scripts.json for that directory.

Example scripts json for my MedUI: [ { "name": "CSSMan", "isActive": "yes", "isFolder": "no" }, { "name": "MedPrompt", "isActive": "yes", "isFolder": "no" }, { "name": "Main", "isActive": "yes", "isFolder": "no" }, { "name": "MedieviaTabbedChat", "isActive": "yes", "isFolder": "yes" } ]

Here, MedieviaTabbedChat depends on Main being loaded first, however after being muddled the MedieviaTabbedChat is listed first under the MedUI Tree: image