feat: exit with code 1, which is failure for windows

pull/765/head
kijz 2025-03-11 15:22:30 +01:00
parent f0154003a2
commit dc62320a29
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if ($env:SKIP_ACTIVATION -ne "true") {
# If we didn't activate successfully, exit with the exit code from the activation step.
if ($ACTIVATION_EXIT_CODE -ne 0) {
Write-Error "Unity activation failed after $maxRetries attempts with exit code $ACTIVATION_EXIT_CODE"
exit $ACTIVATION_EXIT_CODE
exit 1 # exit code 1 is failure on windows
}
}
else {