Browse Source

Don't copy unhollower libs during unhollowing

ghorsington 3 years ago
parent
commit
f8e1de2397
1 changed files with 2 additions and 1 deletions
  1. 2 1
      BepInEx.IL2CPP/ProxyAssemblyGenerator.cs

+ 2 - 1
BepInEx.IL2CPP/ProxyAssemblyGenerator.cs

@@ -147,7 +147,8 @@ namespace BepInEx.IL2CPP
 					MscorlibPath = Path.Combine(Paths.GameRootPath, "mono", "Managed", "mscorlib.dll"),
 					SourceDir = Path.Combine(tempDumperDirectory, "DummyDll"),
 					OutputDir = Preloader.IL2CPPUnhollowedPath,
-					UnityBaseLibsDir = unityBaseLibDir
+					UnityBaseLibsDir = unityBaseLibDir,
+					NoCopyUnhollowerLibs = true
 				};
 
 				AssemblyUnhollower.Program.Main(unhollowerOptions);