From bfee2e59218c6a87a979275566254e4870e81228 Mon Sep 17 00:00:00 2001 From: zenobit Date: Fri, 15 Dec 2023 19:21:48 +0100 Subject: [PATCH] qg: Add Nitrux --- icons/nitrux.svg | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ quickget | 22 ++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 icons/nitrux.svg diff --git a/icons/nitrux.svg b/icons/nitrux.svg new file mode 100644 index 0000000..a593cd0 --- /dev/null +++ b/icons/nitrux.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + diff --git a/quickget b/quickget index 6f53d7c..6b15977 100755 --- a/quickget +++ b/quickget @@ -98,6 +98,7 @@ function pretty_name() { mxlinux) PRETTY_NAME="MX Linux";; netboot) PRETTY_NAME="netboot.xyz";; netbsd) PRETTY_NAME="NetBSD";; + nitrux) PRETTY_NAME="Nitrux";; nixos) PRETTY_NAME="NixOS";; macos) PRETTY_NAME="macOS";; openbsd) PRETTY_NAME="OpenBSD";; @@ -279,6 +280,7 @@ function os_support() { mxlinux \ netboot \ netbsd \ + nitrux \ nixos \ lubuntu \ macos \ @@ -382,6 +384,7 @@ function os_homepages(){ miyo) HOMEPAGE="https://miyolinux.sourceforge.io/";; netboot) HOMEPAGE="https://netboot.xyz/";; netbsd) HOMEPAGE="https://www.netbsd.org/";; + nitrux) HOMEPAGE="https://nxos.org/";; nixos) HOMEPAGE="https://nixos.org/";; lubuntu) HOMEPAGE="https://lubuntu.me/";; macos) HOMEPAGE="https://www.apple.com/macos/";; @@ -852,6 +855,10 @@ function releases_netbsd() { echo ${NBSD_RELEASES} } +function releases_nitrux() { + echo latest +} + function releases_nixos(){ echo 21.05 21.11 22.05 22.11 23.05 23.11 } @@ -2349,6 +2356,21 @@ function get_netbsd() { echo "${URL}/${ISO} ${HASH}" } +function get_nitrux() { + local HASH="" + local URLBASE="" + local URL="" + local ISONAME="" + local ISO="" + + URLBASE="https://sourceforge.net/projects/nitruxos/files/Release" + URL="${URLBASE}/ISO" + ISONAME="nitrux-nx-desktop-plasma-fefc905b-amd64" + ISO="${ISONAME}.iso" + HASH=$(wget -q -O- "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} + function get_nixos() { local EDITION="${1:-}" local HASH=""