Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
[CI-SKIP] Remove debug echo statements from last
Dieser Commit ist enthalten in:
Ursprung
1944b6bd54
Commit
026ee580a3
@ -25,11 +25,8 @@ versionjson="$workdir/Minecraft/$minecraftversion/$minecraftversion.json"
|
|||||||
if [ ! -f "$versionjson" ]; then
|
if [ ! -f "$versionjson" ]; then
|
||||||
echo "Downloading $minecraftversion JSON Data"
|
echo "Downloading $minecraftversion JSON Data"
|
||||||
verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g')
|
verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g')
|
||||||
echo $verescaped
|
|
||||||
verentry=$(curl -s "https://launchermeta.mojang.com/mc/game/version_manifest.json" | grep -oE "{\"id\": \"${verescaped}\".*?\.json")
|
verentry=$(curl -s "https://launchermeta.mojang.com/mc/game/version_manifest.json" | grep -oE "{\"id\": \"${verescaped}\".*?\.json")
|
||||||
echo $verentry
|
|
||||||
jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json)
|
jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json)
|
||||||
echo $jsonurl
|
|
||||||
curl -o "$versionjson" "$jsonurl"
|
curl -o "$versionjson" "$jsonurl"
|
||||||
echo "$versionjson - $jsonurl"
|
echo "$versionjson - $jsonurl"
|
||||||
fi
|
fi
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren