Go back one Win11 version
This commit is contained in:
parent
566faa97d8
commit
5e4cd1c397
4
quickget
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…
Reference in New Issue
Block a user