mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
test(multiplayer): detect macOS Godot bundle
This commit is contained in:
@@ -4,7 +4,15 @@ set -euo pipefail
|
||||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$root_dir"
|
||||
|
||||
godot_bin="${GODOT_BIN:-godot}"
|
||||
if [[ -n "${GODOT_BIN:-}" ]]; then
|
||||
godot_bin="$GODOT_BIN"
|
||||
elif command -v godot >/dev/null 2>&1; then
|
||||
godot_bin="$(command -v godot)"
|
||||
elif [[ -x "/Applications/Godot.app/Contents/MacOS/Godot" ]]; then
|
||||
godot_bin="/Applications/Godot.app/Contents/MacOS/Godot"
|
||||
else
|
||||
godot_bin="godot"
|
||||
fi
|
||||
logs_dir="$(mktemp -d "${TMPDIR:-/tmp}/cosmic-clash-enet.XXXXXX")"
|
||||
pids=()
|
||||
# Comma-separated selection for local debugging; CI leaves this unset and
|
||||
|
||||
Reference in New Issue
Block a user