diff --git a/bin/install-bl b/bin/install-bl index bea3ccd..ef6e708 100644 --- a/bin/install-bl +++ b/bin/install-bl @@ -24,7 +24,7 @@ fi if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then echo "Processing Add-Ons zips..." - cd "$HOME/Add-Ons" || exit 1 + cd /home/container/Add-Ons || exit 1 for zip in *.zip; do [ -f "$zip" ] || continue diff --git a/bin/run-bl b/bin/run-bl index 7b9bb9e..5bb309d 100644 --- a/bin/run-bl +++ b/bin/run-bl @@ -33,7 +33,7 @@ fi if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then echo "Processing Add-Ons zips..." - cd "$HOME/Add-Ons" || exit 1 + cd /home/container/Add-Ons || exit 1 for zip in *.zip; do [ -f "$zip" ] || continue @@ -71,8 +71,8 @@ if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then done fi -# Ensure we're in the correct directory -cd "$HOME" || exit 1 +# Ensure we're in the correct directory (server root where Blockland.exe lives) +cd /home/container || exit 1 if [ ! -f "Blockland.exe" ]; then echo "Blockland.exe not found!"