Skip to content

Commit

Permalink
Added UserLibs Folders inside Melon Folders to Native Library Search
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Oct 11, 2024
1 parent 6e62831 commit 1426562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MelonLoader/Melons/MelonFolderHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ private static void ProcessPath<T>(string path,
string melonUserLibs = Path.Combine(path, "UserLibs");
if (Directory.Exists(melonUserLibs))
{
MelonUtils.AddNativeDLLDirectory(melonUserLibs);
InternalUtils.MelonAssemblyResolver.AddSearchDirectory(melonUserLibs);
LoadMelonsFromFolder<T>(melonUserLibs, false, ref hasWroteLine, ref melonAssemblies);
}
Expand Down

0 comments on commit 1426562

Please sign in to comment.