Revert "Add support of CF_API_KEY_FILE environment variable" (#3402)

This commit is contained in:
Geoff Bourne
2025-04-05 09:13:18 -05:00
committed by GitHub
parent 04713222c9
commit 5fad540c57
5 changed files with 3 additions and 33 deletions

View File

@@ -24,11 +24,6 @@ set -eu
resultsFile=/data/.install-curseforge.env
if [[ -n ${CF_API_KEY_FILE} ]]; then
CF_API_KEY="$(cat "${CF_API_KEY_FILE}")"
export CF_API_KEY
fi
isDebugging && set -x
ensureRemoveAllModsOff "MODPACK_PLATFORM=AUTO_CURSEFORGE"
@@ -66,7 +61,7 @@ if ! mc-image-helper install-curseforge "${args[@]}"; then
exit 1
fi
applyResultsFile "${resultsFile}"
applyResultsFile ${resultsFile}
resolveFamily
exec "${SCRIPTS:-/}start-setupWorld" "$@"