Browse Source

Fix incorrect path method in entrypoint

Bepis 6 năm trước cách đây
mục cha
commit
9715f8ade1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      BepInEx.Preloader/Entrypoint.cs

+ 1 - 1
BepInEx.Preloader/Entrypoint.cs

@@ -15,7 +15,7 @@ namespace BepInEx.Preloader
 		/// </param>
 		public static void Main(string[] args)
 		{
-			Paths.ExecutablePath(args[0]);
+			Paths.SetExecutablePath(args[0]);
 			AppDomain.CurrentDomain.AssemblyResolve += LocalResolve;
 
 			Preloader.Run();