Update setup.sh

This commit is contained in:
ilyastar9999
2025-12-02 19:09:27 +03:00
parent cec9d0750e
commit 74b74e20f0

View File

@@ -203,7 +203,6 @@ setup_firegex() {
export FIREGEX_PORT="5000"
export DOCKER_MODE="true"
echo "Installing Firegex using official installer..."
sh -c "$(curl -sLf https://pwnzer0tt1.it/firegex.sh)"
@@ -233,9 +232,15 @@ start_game_services() {
PACKMATE_AUTH=$(echo -n "$PACKMATE_WEB_LOGIN:$PACKMATE_WEB_PASSWORD" | base64)
# Resolve SERVICES_DIR to absolute path
if [ "${SERVICES_DIR:0:1}" != "/" ]; then
case "$SERVICES_DIR" in
/*)
# Already absolute path
;;
*)
# Relative path, make it absolute
SERVICES_DIR="$ROOT_DIR/$SERVICES_DIR"
fi
;;
esac
if [ ! -d "$SERVICES_DIR" ]; then
echo "Services directory $SERVICES_DIR does not exist, skipping game services startup."