quickemu/actions/rebornos

20 lines
565 B
Plaintext

# Template file for 'rebornos'
OSNAME="rebornos"
PRETTY="RebornOS"
BASEDOF="Arch"
HOMEPAGE="https://rebornos.org"
DESCRIPTION="Aiming to make Arch Linux as user friendly as possible by providing interface solutions to things you normally have to do in a terminal"
CREDENTIALS="-"
function releases_() {
echo latest
}
function get_() {
local JSON ISO HASH
JSON=$(curl -s "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json") || return 1
ISO=$(echo "$JSON" | jq -r ".url")
HASH=$(echo "$JSON" | jq -r ".md5")
echo "${ISO} ${HASH}"
}