Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Failframeit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
Failframeit
Commits
486646d9
Commit
486646d9
authored
4 years ago
by
John Schihada
Browse files
Options
Downloads
Patches
Plain Diff
Adjusted StartServer-Script, macos works just like for windows
parent
bdca228e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Assets/Scripts/StartServer.cs
+0
-19
0 additions, 19 deletions
Assets/Scripts/StartServer.cs
with
0 additions
and
19 deletions
Assets/Scripts/StartServer.cs
+
0
−
19
View file @
486646d9
...
...
@@ -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"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment