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

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

0
scripts/start-deployAutoCF Normal file → Executable file
View File

0
scripts/start-deployFolia Normal file → Executable file
View File

2
scripts/start-deployGTNH Normal file → Executable file
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

0
scripts/start-deployLeaf Normal file → Executable file
View File

0
scripts/start-deployModrinth Normal file → Executable file
View File

0
scripts/start-deployNeoForge Normal file → Executable file
View File

0
scripts/start-deployPoseidon Normal file → Executable file
View File

0
scripts/start-rconcmds Normal file → Executable file
View File

0
scripts/start-setupRbac Normal file → Executable file
View File