mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Merge branch 'quickemu-project:master' into master
This commit is contained in:
commit
7c48090b18
1 changed files with 8 additions and 3 deletions
11
quickget
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…
Reference in a new issue