[Feature Request] Allow mods to setup links to other folders within the games path #57
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
priority/P2
only affects developers
So it has been requested that we stop duplicating files inside mods (a reasonable request) to do this we need to look at setting up a link system in the mod.xml so a mod can register links.
Thinking something like
For security both src and destination will be barred from containing,
../
,./
,:
or starting with/
this prevents people from making links outside of the game directory, it will also block links to.exe
,.bat
,.cmd
,.msi
or any other windows executable format (this should outright prevent the mods being loaded and tell the user why)Need to make sure when parsing mod.xml we ignore links for IROs, as IROs are never extracted to the file system for use links won't work they are a file system, system, but maybe a system for the file loader to know that there is a link instead (more research required)
The text was updated successfully, but these errors were encountered: