Go back one Win11 version

pull/242/head
Phil 3 years ago committed by Martin Wimpress
parent 566faa97d8
commit 5e4cd1c397
  1. 4
      quickget

@ -1251,6 +1251,10 @@ function get_windows() {
INDEX=1
fi
if [ "${RELEASE}" -eq 11 ]; then
INDEX=1
fi
echo "Getting Windows ${RELEASE} URL..."
WINDOWS_VERSIONS=$(wget -q -O- "https://tb.rg-adguard.net/php/get_version.php?type_id=1" | jq '.versions | sort_by(-(.version_id | tonumber))')
LATEST_WINDOWS_VERSION=$(echo "${WINDOWS_VERSIONS}" | jq -c 'map(select(.name | contains("Windows '${RELEASE}'")))['${INDEX}']')

Loading…
Cancel
Save