From 486646d9410ae4879668d216ba407ac7ece34298 Mon Sep 17 00:00:00 2001
From: unknown <john.schihada@hotmail.com>
Date: Sat, 16 Jan 2021 13:28:03 +0100
Subject: [PATCH] Adjusted StartServer-Script, macos works just like for
 windows

---
 Assets/Scripts/StartServer.cs | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/Assets/Scripts/StartServer.cs b/Assets/Scripts/StartServer.cs
index ae9af88b..cc7d23a5 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";
-- 
GitLab