DistroHopper/actions/zorin
Claude 6d921d220e
Fix bugs in dh, pclinuxos; add easyos, fedora, mageia, zorin actions
- dh: fix comment with stray '#TODO' in desktop entry
- dh: fix silent unconditional exit bug in renew_ready() and
  renew_ready_vms() (cd || echo; exit 1 → cd || { echo; exit 1; })
- dh: implement distrohopper_about() and help_show() using yad dialogs
- dh: fix renew_supported_vms() logic where execmd was never set when
  editions existed and interminal=yes; separate terminal flag from
  execmd assignment
- dh: detect available terminal emulator (sakura → xterm → x-terminal-emulator)
  instead of hard-coding sakura
- actions/pclinuxos: fix URL variable used before definition in get_()
- actions/: add easyos, fedora, mageia, zorin from TODO/ (complete implementations)

https://claude.ai/code/session_01M2UXTtQwzcGCNRnFiP2efQ
2026-02-28 19:25:15 +00:00

31 lines
720 B
Text

# Template file for 'zorin'
OSNAME=zorin
PRETTY="Zorin OS"
ICON=""
BASEDOF="Ubuntu"
DESCRIPTION="Alternative to Windows and macOS designed to make your computer faster, more powerful, secure, and privacy-respecting"
HOMEPAGE="https://zorin.com/os"
CREDENTIALS="-"
function releases_() {
echo 17 16
}
function editions_() {
echo core64 lite64 education64
}
function get_() {
local HASH=""
local ISO=""
local URL=""
# Process the URL redirections; required for Zorin
URL=$(web_redirect "https://zrn.co/${RELEASE}${EDITION}")
echo "${URL} ${HASH}"
}
function specific_tweaks() {
case ${EDITION} in
education64|edulite64) echo "disk_size=\"32G\"" >> "${CONF_FILE}"
esac
}