diff --git a/scripts/run-tests b/scripts/run-tests index a5cc969a77..1ec0677ed2 100755 --- a/scripts/run-tests +++ b/scripts/run-tests @@ -11,7 +11,11 @@ cd $basedir/bin # Scan objects first so that does not happen within a test echo -e "\033[0;36mBuilding OpenRCT2 repository indexes...\033[0m" -./openrct2 scan-objects +if [[ $(uname) == "Darwin" ]]; then + ./openrct2-cli scan-objects +else + ./openrct2 scan-objects +fi if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then # Now run all the tests