Support automatically downloading and upgrading CurseForge modpacks (#1889)

This commit is contained in:
Geoff Bourne
2023-01-08 19:15:24 -06:00
committed by GitHub
parent dd6cda1ae5
commit 48367b7c1f
8 changed files with 119 additions and 28 deletions
+7 -3
View File
@@ -136,11 +136,11 @@ cd /data || exit 1
export ORIGINAL_TYPE=${TYPE^^}
if isTrue "${ENABLE_AUTOPAUSE}"; then
${SCRIPTS:-/}start-autopause
"${SCRIPTS:-/}start-autopause"
fi
if isTrue "${ENABLE_AUTOSTOP}"; then
${SCRIPTS:-/}start-autostop
"${SCRIPTS:-/}start-autostop"
fi
if
@@ -152,7 +152,7 @@ if
then
log "Starting RCON commands"
# shellcheck source=start-rconcmds
${SCRIPTS:-/}start-rconcmds
"${SCRIPTS:-/}start-rconcmds"
fi
if versionLessThan 1.7; then
@@ -196,6 +196,10 @@ case "${TYPE^^}" in
exec "${SCRIPTS:-/}start-deployCF" "$@"
;;
AUTO_CURSEFORGE)
exec "${SCRIPTS:-/}start-autoDeployCF" "$@"
;;
VANILLA)
exec "${SCRIPTS:-/}start-deployVanilla" "$@"
;;