提交 275c5ec5 编写于 作者: T tanghai

mac下servercommand命令行错误

上级 9c89bf20
......@@ -12,7 +12,7 @@ namespace MyEditor
{
public class ServerCommandLineEditor: EditorWindow
{
private const string ConfigDir = @"..\Config\StartConfig\";
private const string ConfigDir = @"../Config/StartConfig/";
private List<string> files;
......@@ -354,7 +354,7 @@ namespace MyEditor
string arguments = $"App.dll --appId={startConfig.AppId} --appType={startConfig.AppType} --config=../Config/StartConfig/{this.fileName}";
ProcessStartInfo info = new ProcessStartInfo("dotnet", arguments) { UseShellExecute = true, WorkingDirectory = @"..\netcoreapp2.0\" };
ProcessStartInfo info = new ProcessStartInfo("dotnet", arguments) { UseShellExecute = true, WorkingDirectory = @"../netcoreapp2.0/" };
Process.Start(info);
}
GUILayout.EndHorizontal();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册