Linux build fix
Publish PHP Package / docker (push) Successful in 6s Details

This commit is contained in:
wrenge 2024-09-17 17:34:50 +03:00
parent 08b65dd720
commit 2b11b6724b
1 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,10 @@ function unity_run_proc($shared_cmd)
$unity_app_path = $app_dir . "Editor/Unity.exe";
$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
{
$cmd = "'$app_dir/Unity.app/Contents/MacOS/Unity' $shared_cmd > /dev/null & echo $!";