Merge branch 'quickemu-project:master' into master

pull/255/head
guyosi 3 years ago committed by GitHub
commit 7c48090b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      quickget

@ -114,8 +114,8 @@ function list_csv() {
else
FUNC="${OS}"
fi
PNG="https://lukewh.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png"
SVG="https://lukewh.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg"
PNG="https://quickemu-project.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png"
SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg"
for RELEASE in $("releases_${FUNC}"); do
@ -290,7 +290,8 @@ function releases_regolith() {
function releases_rockylinux() {
echo 8.4 \
echo 8.5 \
8.4 \
8.3 \
8.2 \
8.1 \
@ -1275,6 +1276,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