LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.41k stars 475 forks source link

Add Search Directory Manager for Native Libraries #153

Open HerpDerpinstine opened 2 years ago

HerpDerpinstine commented 2 years ago

Native Libs only resolve from certain specific locations. Something like the Assembly Resolve Manager has where it allows for specifying custom locations to search would be useful.

HerpDerpinstine commented 2 years ago

A wrapper using AddDllDirectory and RemoveDllDirectory might be viable.