ethangreen-dev / lovely-injector

A runtime lua injector for games built with LÖVE
MIT License
79 stars 11 forks source link

Support nested mod folders #73

Open stupxd opened 2 months ago

stupxd commented 2 months ago

Seems to be the way things are heading /shrug

flakywanderer commented 1 month ago

This is something I meant to say earlier but forgot until now

My idea for the syntax for directory inclusions was something more like an include patch, like this:

[[patches.include]]
files = [
    "foo/bar.toml",
    "foo/baz.toml"
]
directories = [
    "xyzzy",
    "zzyzx"
]
ethangreen-dev commented 1 month ago

I think making nested directories data-oriented is the right approach, but I don't like making it another "patch". The right way to go about this is to standardize some sort of "lovely manifest", which would contain this information instead.

The lovely manifest is the big reason why this PR has not yet been reviewed - quite simply because it doesn't exist yet. I'll give this the review and merge it deserves once we're at a point where we have a design finalized.