Fallback to Robust.Server when Watchdog absent

This commit is contained in:
Codex Agent
2025-12-14 09:16:11 +01:00
parent 8b66eca6a3
commit da734d1ffc

View File

@@ -14,7 +14,9 @@ if [ -x "./SS14.Watchdog" ]; then
elif [ -d "./SS14.Watchdog" ] && [ -x "./SS14.Watchdog/SS14.Watchdog" ]; then
cd ./SS14.Watchdog || exit 1
exec ./SS14.Watchdog "$@"
elif [ -x "./Robust.Server" ]; then
exec ./Robust.Server "$@"
else
echo "SS14.Watchdog executable not found in /ss14/publish" >&2
echo "No SS14.Watchdog or Robust.Server executable found in /ss14/publish" >&2
exit 1
fi