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