feat: Add Mabox Linux (#1531)

This commit is contained in:
Daniel Napora 2024-12-19 17:27:37 +01:00 committed by GitHub
parent e27aa30804
commit 122992112b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -63,6 +63,7 @@ function os_info() {
linuxmint) INFO="Linux Mint|-|https://linuxmint.com/|Designed to work out of the box and comes fully equipped with the apps most people need.";;
lmde) INFO="Linux Mint Debian Edition|-|https://www.linuxmint.com/download_lmde.php|Aims to be as similar as possible to Linux Mint, but without using Ubuntu. The package base is provided by Debian instead.";;
lubuntu) INFO="Lubuntu|-|https://lubuntu.me/|Complete Operating System that ships the essential apps and services for daily use: office applications, PDF reader, image editor, music and video players, etc. Using lightwave lxde/lxqt.";;
maboxlinux) INFO="Mabox Linux|-|https://maboxlinux.org/|Lightweight, functional and easy to customize Openbox desktop";;
mageia) INFO="Mageia|-|https://www.mageia.org/|Stable, secure operating system for desktop & server.";;
manjaro) INFO="Manjaro|-|https://manjaro.org/|Versatile, free, and open-source Linux operating system designed with a strong focus on safeguarding user privacy and offering extensive control over hardware.";;
mxlinux) INFO="MX Linux|-|https://mxlinux.org/|Designed to combine elegant and efficient desktops with high stability and solid performance.";;
@ -443,6 +444,7 @@ function os_support() {
linuxmint \
lmde \
lubuntu \
maboxlinux \
macos \
mageia \
manjaro \
@ -812,6 +814,10 @@ function releases_lmde() {
echo 6
}
function releases_maboxlinux() {
echo latest
}
function releases_macos() {
echo mojave catalina big-sur monterey ventura sonoma
}
@ -1971,6 +1977,14 @@ function get_lmde() {
echo "${URL}/${ISO} ${HASH}"
}
function get_maboxlinux() {
local HASH=""
local URL=""
URL="https://sourceforge.net/projects/mabox-linux/files/${RELEASE}/download"
URL="$(web_redirect "${URL}" | cut -d? -f1)"
echo "${URL} ${HASH}"
}
function generate_id() {
local macRecoveryID=""
local TYPE="${1}"