From 3950947f895cec311d793eb40e07f90cb60a9e35 Mon Sep 17 00:00:00 2001 From: Russell Matney Date: Thu, 11 Jan 2024 16:42:12 -0500 Subject: [PATCH] fix: set GODOT_BIN --- addons/gdUnit4/runtest.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/gdUnit4/runtest.sh b/addons/gdUnit4/runtest.sh index c1e55bd1..5eb89ec9 100755 --- a/addons/gdUnit4/runtest.sh +++ b/addons/gdUnit4/runtest.sh @@ -1,9 +1,10 @@ #!/bin/sh if [ -z "$GODOT_BIN" ]; then - echo "'GODOT_BIN' is not set." - echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'" - exit 1 + GODOT_BIN=$(which godot) + # echo "'GODOT_BIN' is not set." + # echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'" + # exit 1 fi $GODOT_BIN --path . -s -d ./addons/gdUnit4/bin/GdUnitCmdTool.gd $*