Browse Source

remove line

pull/3114/head
Daniel Gibbs 5 years ago
parent
commit
f9e88e7ce1
  1. 1
      lgsm/functions/update_minecraft.sh

1
lgsm/functions/update_minecraft.sh

@ -55,7 +55,6 @@ fn_update_minecraft_remotebuild(){
remotebuild=$(curl -s "https://launchermeta.${remotelocation}/mc/game/version_manifest.json" | jq -r '.latest.snapshot')
# Specific release/snapshot.
else
remotebuild=$(curl -s "https://launchermeta.${remotelocation}/mc/game/version_manifest.json" | jq -r '.versions | .[] | select(.id=="${branch}") | .id')
remotebuild=$(curl -s "https://launchermeta.${remotelocation}/mc/game/version_manifest.json" | jq -r --arg branch ${branch} --arg mcversion ${mcversion} '.versions | .[] | select(.type==$branch and .id==$mcversion) | .id')
fi

Loading…
Cancel
Save