Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AgarimOS #753

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function pretty_name() {
local PRETTY_NAME=""
SIMPLE_NAME="${1}"
case ${SIMPLE_NAME} in
agarimos) PRETTY_NAME="AgarimOS";;
alma) PRETTY_NAME="Alma Linux";;
alpine) PRETTY_NAME="Alpine Linux";;
android) PRETTY_NAME="Android x86";;
Expand Down Expand Up @@ -176,7 +177,8 @@ function list_csv() {
}

function os_support() {
echo alma \
echo agarimos \
alma \
alpine \
android \
archlinux \
Expand Down Expand Up @@ -246,6 +248,14 @@ function os_support() {
zorin
}

function releases_agarimos() {
echo latest
}

function editions_agarimos() {
echo plasma xfce lxqt gnome
}

function releases_alma() {
echo 8.6 8.7 9.0 9.1
}
Expand Down Expand Up @@ -967,6 +977,34 @@ EOF
exit 0
}

function get_agarimos() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""
case ${EDITION} in
gnome)
URL="https://sourceforge.net/projects/agarimos/files/Gnome"
ISO="AgarimOS-Gnome-Catppuccin-Liv-x86_64-6.3.13_1-20230914.iso"
;;
plasma)
URL="https://sourceforge.net/projects/agarimos/files/Plasma"
ISO="AgarimOS-Plasma-Dracula-Live-x86_64-6.3.13_1-20230913.iso"
;;
xfce)
URL="https://sourceforge.net/projects/agarimos/files/XFCE4"
ISO="AgarimOS-XFCE4-Catppuccin-Live-x86_64-6.3.13_1-20230916.iso"
;;
lxqt)
URL="https://sourceforge.net/projects/agarimos/files/LXQT-KWIN"
ISO="AgarimOS-LXQT-KWIN-Dracula-Live-x86_64-6.3.13_1-20230915.iso"
;;
esac

HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}

function get_alma() {
local EDITION="${1:-}"
local HASH=""
Expand Down