Temporarily replace GTNH ServerPacks call with restify+jq (#3938)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-02-15 17:33:46 -06:00
1 parent 4c0fd104c6
commit ac125dc15e
11 files changed
+20 -51

No files matched your search

Regular → Executable
+1 -1
View File
@@ -8,7 +8,7 @@ function getGTNHdownloadPath(){
gtnh_download_path=""
current_java_version=$(mc-image-helper java-release)
if ! packs_data="$(curl -sfL 'http://downloads.gtnewhorizons.com/ServerPacks/?raw')"; then
if ! packs_data="$(restify --tag=a https://www.gtnewhorizons.com/version-history/ | jq -r '.[].href | select(test("Server"))')"; then
logError "Failed to retrieve data from http://downloads.gtnewhorizons.com/ServerPacks/?raw"
exit 1
fi