For AUTO_CURSEFORGE, provide the option to force include mods (#1900)

This commit is contained in:
Geoff Bourne
2023-01-12 20:37:20 -06:00
committed by GitHub
parent 8017379723
commit c0be7dbb95
3 changed files with 14 additions and 2 deletions

View File

@@ -36,13 +36,25 @@ args+=(
)
defaultModExcludes=(
581495 # oculus
363363 # extreme-sound-muffler
448233 # entityculling
574856 # rubidium
441114 # nekos-enchanted-books
521480 # skin-layers-3d
433760 # not-enough-animations
568563 # entity-texture-features-fabric
274259 # carry-on
)
: "${CF_EXLUDE_MODS:=${defaultModExcludes[@]}}"
args+=(--exclude-mods="$CF_EXLUDE_MODS")
defaultModForceIncludes=(
656526 # revelationary
)
: "${CF_FORCE_INCLUDE_MODS:=${defaultModForceIncludes[@]}}"
args+=(--force-include-mods="$CF_FORCE_INCLUDE_MODS")
if ! mc-image-helper install-curseforge "${args[@]}"; then
log "ERROR failed to auto-install CurseForge modpack"
exit 1