mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
20 lines
742 B
Text
20 lines
742 B
Text
# Template file for 'holoiso'
|
|
OSNAME="holoiso"
|
|
PRETTY="HoloISO"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Bring the Steam Decks SteamOS Holo redistribution and provide a close-to-official SteamOS experience"
|
|
HOMEPAGE="https://github.com/HoloISO/holoiso"
|
|
CREDENTIALS="-"
|
|
|
|
|
|
RELEASES="latest"
|
|
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local URL=""
|
|
RELEASE="$(web_pipe "https://github.com/HoloISO/releases/releases" | grep -o -e 'releases/tag/[[:digit:]]\+\(\.[[:digit:]]\+\)*' | head -n 1 | cut -d'/' -f 3)"
|
|
URL=$(web_pipe "https://api.github.com/repos/HoloISO/releases/releases" | jq -r ".[] | select(.tag_name==\"${RELEASE}\") | .body" | sed -n 's/.*\(https:\/\/[^ ]*holoiso\.ru\.eu\.org\/[^ ]*\.iso\).*/\1/p' | head -n 1)
|
|
echo "${URL} ${HASH}"
|
|
}
|
|
|