diff --git a/docker/files/docker-dlc.sh b/docker/files/docker-dlc.sh index f589c77..ecaa6af 100755 --- a/docker/files/docker-dlc.sh +++ b/docker/files/docker-dlc.sh @@ -4,6 +4,11 @@ set -eou pipefail # Path to the mod-list.json file MOD_LIST_FILE="$MODS/mod-list.json" +if [[ ! -f "$MOD_LIST_FILE" ]]; then + # Create the mod-list.json file if it doesn't exist + echo '{"mods":[{"name":"base","enabled":true}]}' > "$MOD_LIST_FILE" +fi + enable_mod() { echo "Enable mod $1 for DLC"