From 5e7e677131cfeffc097c45cfbee1734e07ffe7e8 Mon Sep 17 00:00:00 2001 From: zenobit Date: Fri, 29 Dec 2023 20:48:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Slint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quickget | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 76ce57b..f11f70d 100755 --- a/quickget +++ b/quickget @@ -112,6 +112,7 @@ function pretty_name() { reactos) PRETTY_NAME="ReactOS";; rebornos) PRETTY_NAME="RebornOS";; rockylinux) PRETTY_NAME="Rocky Linux";; + slint) PRETTY_NAME="Slint";; tinycore) PRETTY_NAME="Tiny Core Linux";; truenas-core) PRETTY_NAME="TrueNAS Core";; truenas-scale) PRETTY_NAME="TrueNAS Scale";; @@ -290,6 +291,7 @@ function os_support() { siduction \ slackware \ slax \ + slint \ solus \ spiral \ tails \ @@ -389,6 +391,7 @@ function os_homepages(){ siduction) HOMEPAGE="https://siduction.org/";; slackware) HOMEPAGE="http://www.slackware.com/";; slax) HOMEPAGE="https://www.slax.org/";; + slint) HOMEPAGE="https://slint.fr/";; solus) HOMEPAGE="https://getsol.us/";; spiral) HOMEPAGE="https://spirallinux.github.io/";; tails) HOMEPAGE="https://tails.net/";; @@ -889,6 +892,10 @@ function editions_slax() { echo debian slackware } +function releases_slint() { + echo 15.0 14.2.1 +} + function releases_solus() { echo 4.3 } @@ -1288,6 +1295,9 @@ EOF echo "disk_size=\"2G\"" >> "${CONF_FILE}" echo "ram=\"128M\"" >> "${CONF_FILE}" ;; + slint) + echo "disk_size=\"50G\"" >> "${CONF_FILE}" + ;; truenas-scale|truenas-core) echo "boot=\"legacy\"" >> "${CONF_FILE}" # the rest is non-functional @@ -1340,7 +1350,11 @@ EOF fi echo echo "To start your $(pretty_name "${OS}") virtual machine run:" - echo " quickemu --vm ${CONF_FILE}" + if [ ${OS} == "slint" ]; then + echo -e " quickemu --vm ${CONF_FILE}\nTo start Slint with braille support run:\n quickemu --vm --braille --display sdl ${CONF_FILE}" + else + echo " quickemu --vm ${CONF_FILE}" + fi echo exit 0 } @@ -2374,6 +2388,7 @@ function get_slax() { local ISO="" local URL="" + case ${EDITION} in debian) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x" ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1) @@ -2387,6 +2402,19 @@ function get_slax() { echo "${URL}/${ISO} ${HASH}" } +function get_slint() { + local HASH="" + local ISO="" + local URL="" + + # Change to latest if needed + ISO="slint64-15.0-5.iso" + URL="https://slackware.uk/slint/x86_64/slint-${RELEASE}/iso" + + HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f4) + echo "${URL}/${ISO}" "${HASH}" +} + function get_solus() { local EDITION="${1:-}" local HASH=""