BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
185 stars 59 forks source link

Fix for InjectorHelper crashing the process when running on MacOS #112

Closed SkySwimmer closed 9 months ago

SkySwimmer commented 9 months ago

While working with MacOS modding, InjectorHelper crashed the process as MacOS uses GameAssembly.dylib instead of GameAsssembly.dll or GameAssembly.so as the class expected

This drafted patch gets around the issue

This is one of my first PRs to a OSS project, feedback is appreciated

SkySwimmer commented 9 months ago

Oops formatting-

SkySwimmer commented 9 months ago

Its breaking, ill re-open if i have a working PR- Sorry!