소스 검색

netcore3直接用exe启动

tanghai 6 년 전
부모
커밋
d599f6a1bc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Unity/Assets/Editor/ServerCommandLineEditor/ServerCommandLineEditor.cs

+ 2 - 2
Unity/Assets/Editor/ServerCommandLineEditor/ServerCommandLineEditor.cs

@@ -451,8 +451,8 @@ namespace ETModel
 			
 			if (GUILayout.Button("启动"))
 			{
-				string arguments = $"App.dll --config={this.fileName}";
-				ProcessHelper.Run("dotnet", arguments, "../Bin/");
+				string arguments = $"--config={this.fileName}";
+				ProcessHelper.Run("App.exe", arguments, "../Bin/");
 			}
 			if (GUILayout.Button("启动数据库"))
 			{