diff --git a/build.ps1 b/build.ps1 index b7a0d22..18d014d 100644 --- a/build.ps1 +++ b/build.ps1 @@ -35,8 +35,8 @@ Move-Item -Path $Path/UnityExplorer.ML.IL2CPP.net6preview.interop.dll -Destinati New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force Move-Item -Path $Path/UniverseLib.IL2CPP.Interop.dll -Destination $Path/UserLibs -Force # (create zip archive) -Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip -ErrorAction SilentlyContinue -7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip .\$Path\* +Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.interop.zip -ErrorAction SilentlyContinue +7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.interop.zip .\$Path\* # ----------- MelonLoader IL2CPP (net472) ----------- dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net472 diff --git a/src/Loader/MelonLoader/ExplorerMelonMod.cs b/src/Loader/MelonLoader/ExplorerMelonMod.cs index 48862e2..e7882d7 100644 --- a/src/Loader/MelonLoader/ExplorerMelonMod.cs +++ b/src/Loader/MelonLoader/ExplorerMelonMod.cs @@ -25,7 +25,7 @@ namespace UnityExplorer public string UnhollowedModulesFolder => Path.Combine( Path.GetDirectoryName(MelonHandler.ModsDirectory), - Path.Combine("MelonLoader", "Managed")); + Path.Combine("MelonLoader", "Il2CppAssemblies")); public ConfigHandler ConfigHandler => _configHandler; public MelonLoaderConfigHandler _configHandler;