Allow custom modloader versions for auto curseforge (#3759)

This commit is contained in:
Sam Horton authored and GitHub committed 2025-11-23 11:15:39 -08:00
1 parent 85673fb661
commit c26119b512
5 files changed
+82 -28

No files matched your search

+2
View File
@@ -22,6 +22,7 @@ set -eu
: "${CF_MODPACK_MANIFEST:=}"
: "${CF_API_CACHE_DEFAULT_TTL:=}" # as ISO-8601 duration, such as P2D or PT12H
: "${CF_API_KEY_FILE:=}" # Path to file containing CurseForge API key
: "${CF_MOD_LOADER_VERSION:=}" # Override mod loader version
resultsFile=/data/.install-curseforge.env
@@ -66,6 +67,7 @@ setArg --exclude-mods CF_EXCLUDE_MODS
setArg --force-include-mods CF_FORCE_INCLUDE_MODS
setArg --exclude-include-file CF_EXCLUDE_INCLUDE_FILE
setArg --downloads-repo CF_DOWNLOADS_REPO
setArg --mod-loader-version CF_MOD_LOADER_VERSION
if ! mc-image-helper install-curseforge "${args[@]}"; then
logError "Failed to auto-install CurseForge modpack"