diff --git a/Assets/Scripts/StartServer.cs b/Assets/Scripts/StartServer.cs index cc7d23a5590f15fdf07eb9fbe4aef50a04747696..f7ede0500236a8d4b3d23106a5b9411ee8056b9d 100644 --- a/Assets/Scripts/StartServer.cs +++ b/Assets/Scripts/StartServer.cs @@ -88,20 +88,10 @@ IEnumerator ServerRoutine() #if!UNITY_WEBGL - - -#if UNITY_STANDALONE_LINUX - - ProcessStartInfo proc = new ProcessStartInfo(); - proc.FileName = "bash"; - // proc.WorkingDirectory = Application.streamingAssetsPath; - proc.Arguments = Application.streamingAssetsPath+"/startServer.sh";// + " \"" +Application.streamingAssetsPath + "\""; - proc.WindowStyle = ProcessWindowStyle.Normal; - proc.CreateNoWindow = false; - proc.UseShellExecute = true; - process = Process.Start(proc); - -#else + +//#if UNITY_STANDALONE_LINUX +//#elif UNITY_STANDALONE_OSX +//#else processInfo = new ProcessStartInfo(); processInfo.FileName = "java"; processInfo.Arguments = @"-jar " + Application.streamingAssetsPath + "/frameit.jar" + " -bind :8085 -archive-root " + Application.streamingAssetsPath + "/archives"; @@ -110,7 +100,7 @@ IEnumerator ServerRoutine() processInfo.CreateNoWindow = true; process = Process.Start(processInfo); -#endif +//#endif yield return null; #endif while (true)