From 6c0f1041fd178edb5e05653f32edacb79d5f2fa2 Mon Sep 17 00:00:00 2001 From: Baydock Date: Wed, 14 Dec 2022 12:12:18 -0600 Subject: [PATCH] changed unhollowed modules folder Changed unhollowed modules folder to the new one at MelonLoader/Il2CppAssemblies --- build.ps1 | 4 ++-- src/Loader/MelonLoader/ExplorerMelonMod.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;