mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Fix missing space, add link for context
This commit is contained in:
parent
66b7f8c362
commit
80d273634a
4
dist/platforms/mac/entrypoint.sh
vendored
4
dist/platforms/mac/entrypoint.sh
vendored
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
UNITY_LICENSE_PATH="/Library/Application Support/Unity"
|
UNITY_LICENSE_PATH="/Library/Application Support/Unity"
|
||||||
|
|
||||||
if [ -d "$UNITY_LICENSE_PATH"]; then
|
if [ -d "$UNITY_LICENSE_PATH" ]; then
|
||||||
sudo mkdir "$UNITY_LICENSE_PATH"
|
sudo mkdir -p "$UNITY_LICENSE_PATH"
|
||||||
sudo chmod -R 777 "$UNITY_LICENSE_PATH"
|
sudo chmod -R 777 "$UNITY_LICENSE_PATH"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
8
dist/platforms/windows/build.ps1
vendored
8
dist/platforms/windows/build.ps1
vendored
@ -162,14 +162,12 @@ $unityProcess = Start-Process -FilePath "$Env:UNITY_PATH\Editor\Unity.exe" `
|
|||||||
-NoNewWindow
|
-NoNewWindow
|
||||||
|
|
||||||
# Cache the handle so exit code works properly
|
# Cache the handle so exit code works properly
|
||||||
|
# https://stackoverflow.com/questions/10262231/obtaining-exitcode-using-start-process-and-waitforexit-instead-of-wait
|
||||||
$unityHandle = $unityProcess.Handle
|
$unityHandle = $unityProcess.Handle
|
||||||
|
|
||||||
while ($true) {
|
while ($true) {
|
||||||
if ($unityProcess.HasExited) {
|
if ($unityProcess.HasExited) {
|
||||||
Start-Sleep -Seconds 5
|
Start-Sleep -Seconds 3
|
||||||
Get-Process
|
|
||||||
|
|
||||||
Start-Sleep -Seconds 10
|
|
||||||
Get-Process
|
Get-Process
|
||||||
|
|
||||||
$BUILD_EXIT_CODE = $unityProcess.ExitCode
|
$BUILD_EXIT_CODE = $unityProcess.ExitCode
|
||||||
@ -195,5 +193,5 @@ while ($true) {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Sleep -Seconds 5
|
Start-Sleep -Seconds 3
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user