Add Ventoy

This commit is contained in:
zenobit 2023-09-14 18:18:06 +02:00
parent 76eed0b17f
commit f554bcddfd

View file

@ -88,6 +88,7 @@ function pretty_name() {
ubuntustudio) PRETTY_NAME="Ubuntu Studio";;
ubuntu-unity) PRETTY_NAME="Ubuntu Unity";;
vanillaos) PRETTY_NAME="Vanilla OS";;
ventoy) PRETTY_NAME="Ventoy";;
void) PRETTY_NAME="Void Linux";;
voidpup) PRETTY_NAME="Void Puppy";;
vxlinux) PRETTY_NAME="VX Linux";;
@ -262,6 +263,7 @@ function os_support() {
ubuntustudio \
ubuntu-unity \
vanillaos \
ventoy \
void \
voidpup \
vxlinux \
@ -777,6 +779,10 @@ function releases_vanillaos() {
echo 22.10
}
function releases_ventoy() {
echo 1.0.95
}
function releases_void() {
echo current
}
@ -2095,6 +2101,15 @@ function get_vanillaos() {
echo "${URL} ${HASH}"
}
function get_ventoy() {
local HASH=""
local ISO="ventoy-${RELEASE}-livecd.iso"
local URL="https://github.com/ventoy/Ventoy/releases/download/v${RELEASE}"
HASH="$(wget -q -O- "${URL}/sha256.txt" | grep "${ISO}" | cut -d' ' -f4)"
echo "${URL}/${ISO} ${HASH}"
}
function get_void() {
local DATE=""
local EDITION="${1:-}"