game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

Fix shellcheck in macOS preparation script #77

Closed GabLeRoux closed 1 week ago

GabLeRoux commented 1 week ago

Replaced if [ $? -eq 0 ]; then with if softwareupdate --install-rosetta --agree-to-license; then in the check_and_install_rosetta function to check the exit status directly.

Other changes are basically white spaces handled by Jetbrains IntelliJ Idea in there

This is a followup PR on top of #76

CleanShot 2024-06-25 at 16 33 10@2x