mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
42 lines
963 B
Text
42 lines
963 B
Text
# Template file for 'cachyos'
|
|
OSNAME="cachyos"
|
|
PRETTY="CachyOS"
|
|
LOGO=""
|
|
ICON="cachy.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/cachyos.png"
|
|
CATEGORY="advanced"
|
|
BASEDOF="Arch"
|
|
DESCRIPTION="Designed to deliver lightning-fast speeds and stability, ensuring a smooth and enjoyable computing experience every time you use it"
|
|
HOMEPAGE="https://cachyos.org"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
RELEASES="latest"
|
|
EDITIONS="desktop handheld"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
# new cdn setup 10/2024
|
|
echo latest
|
|
}
|
|
|
|
editions_() {
|
|
# desktop version now installs different desktop environments
|
|
echo desktop handheld
|
|
}
|
|
|
|
get_() {
|
|
local HASH=""
|
|
local URL=""
|
|
URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep "ISO/${EDITION}" | grep -v 'iso.sha' | grep -v 'iso.sig' | cut -d';' -f2)"
|
|
HASH=$(web_pipe "${URL}.sha256" | cut -d' ' -f1)
|
|
echo "${URL} ${HASH}"
|
|
}
|
|
|
|
config_() {
|
|
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
|
|
}
|