Linux build fix
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
08b65dd720
commit
2b11b6724b
|
@ -111,6 +111,10 @@ function unity_run_proc($shared_cmd)
|
||||||
$unity_app_path = $app_dir . "Editor/Unity.exe";
|
$unity_app_path = $app_dir . "Editor/Unity.exe";
|
||||||
$cmd = "powershell.exe (Start-Process '$unity_app_path'-ArgumentList '$shared_cmd' -passthru).Id";
|
$cmd = "powershell.exe (Start-Process '$unity_app_path'-ArgumentList '$shared_cmd' -passthru).Id";
|
||||||
}
|
}
|
||||||
|
else if(is_linux())
|
||||||
|
{
|
||||||
|
$cmd = "'$app_dir/Editor/Unity' $shared_cmd > /dev/null & echo $!";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$cmd = "'$app_dir/Unity.app/Contents/MacOS/Unity' $shared_cmd > /dev/null & echo $!";
|
$cmd = "'$app_dir/Unity.app/Contents/MacOS/Unity' $shared_cmd > /dev/null & echo $!";
|
||||||
|
|
Loading…
Reference in New Issue