浏览代码

Revert "Load all core assemblies in the entrypoint"

0Harmony.dll is causing issues with references

This reverts commit 8cf63db5a2718e1d321916998674e2f74458eafa.
Bepis 5 年之前
父节点
当前提交
669fc65d4c
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      BepInEx.Preloader/Entrypoint.cs

+ 0 - 4
BepInEx.Preloader/Entrypoint.cs

@@ -1,5 +1,4 @@
 using System;
-using System.IO;
 using System.Linq;
 using System.Reflection;
 
@@ -19,9 +18,6 @@ namespace BepInEx.Preloader
 			Paths.SetExecutablePath(args[0]);
 			AppDomain.CurrentDomain.AssemblyResolve += LocalResolve;
 
-			foreach (var dll in Directory.GetFiles(Paths.BepInExAssemblyDirectory))
-				Assembly.Load(dll);
-
 			Preloader.Run();
 		}