diff --git a/Assets/Scripts/StartServer.cs b/Assets/Scripts/StartServer.cs index ae9af88b25d7723bd284c8e84132ec8b33f0cedc..cc7d23a5590f15fdf07eb9fbe4aef50a04747696 100644 --- a/Assets/Scripts/StartServer.cs +++ b/Assets/Scripts/StartServer.cs @@ -101,25 +101,6 @@ IEnumerator ServerRoutine() proc.UseShellExecute = true; process = Process.Start(proc); -#elif UNITY_STANDALONE_OSX - /* - ProcessStartInfo proc = new ProcessStartInfo();//"open", "sh startServer.sh");// + " \"" +Application.streamingAssetsPath + "\""); - proc.FileName = "/bin/bash"; - proc.WorkingDirectory = Application.streamingAssetsPath; - proc.Arguments = "sh " + Application.streamingAssetsPath+"/startServer.sh"; - proc.CreateNoWindow = false; - proc.UseShellExecute = true; - process = Process.Start(proc); - */ - ProcessStartInfo proc = new ProcessStartInfo(); - String startServerPath = Application.streamingAssetsPath + "/startServer.sh"; - String runWithTerminalPath = Application.streamingAssetsPath + "/startInTerminal.sh"; - proc.FileName = "/bin/bash"; - proc.Arguments = runWithTerminalPath + " /bin/bash " + startServerPath; - proc.CreateNoWindow = false; - proc.UseShellExecute = true; - process = Process.Start(proc); - #else processInfo = new ProcessStartInfo(); processInfo.FileName = "java";