瀏覽代碼

Fix incorrect path method in entrypoint

Bepis 6 年之前
父節點
當前提交
9715f8ade1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();