Skip to content

Commit

Permalink
Add bazzite
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Oct 12, 2023
1 parent c7e91a0 commit 001bb83
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ function os_support() {
archcraft \
arcolinux \
batocera \
bazzite \
blendos \
cachyos \
centos-stream \
Expand Down Expand Up @@ -282,6 +283,10 @@ function editions_arcolinux() {
echo large small
}

function releases_bazzite() {
echo 1.3.0 1.2.2 1.2.0
}

function releases_blendos() {
local RLIST
RLIST=$(curl -s https://api.github.com/repos/blend-os/blendOS/releases |grep tag_name | grep -o -E '[[:digit:]]+\.[[:digit:]]+' | tr ' \r\n' ' ')
Expand Down Expand Up @@ -1103,6 +1108,22 @@ function get_batocera() {
echo "${URL}/${ISO} ${HASH}"
}

function get_bazzite() {
local HASH=""
local ISO=""
local URL="https://github.com/ublue-os/bazzite/releases/download/v${RELEASE}"

case ${RELEASE} in
1.3.0) DATE="20231012";;
1.2.2) DATE="20231008";;
1.2.0) DATE="20230928";;
esac

ISO="bazzite-38-x86_64-${DATE}.iso"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256sum" | grep 'SHA256' | cut -d' ' -f4)
echo "${URL}/${ISO} ${HASH}"
}

function get_cachyos() {
local HASH=""
local ISO="cachyos-${EDITION}-linux-${RELEASE}.iso"
Expand Down

0 comments on commit 001bb83

Please sign in to comment.