mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
batocera
|
|
|
|
batocera 41: https://mirrors.o2switch.fr/batocera/x86_64/stable/41/batocera-x86_64-41-20250106.img.gz
|
|
batocera 40: https://mirrors.o2switch.fr/batocera/x86_64/stable/40/batocera-x86_64-40-20240801.img.gz
|
|
batocera 39: https://mirrors.o2switch.fr/batocera/x86_64/stable/39/batocera-x86_64-x86_64-39-20240304.img.gz
|
|
batocera 38: https://mirrors.o2switch.fr/batocera/x86_64/stable/38/batocera-x86_64-x86_64-38-20231014.img.gz
|
|
batocera 37: https://mirrors.o2switch.fr/batocera/x86_64/stable/37/batocera-x86_64-37-20230617.img.gz
|
|
|
|
# Template file for 'batocera'
|
|
OSNAME="batocera"
|
|
PRETTY="Batocera"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently"
|
|
HOMEPAGE="https://batocera.org"
|
|
CREDENTIALS="-"
|
|
GUEST="batocera"
|
|
IMAGE_TYPE="img"
|
|
RELEASES="41 40 39 38 37"
|
|
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/${RELEASE}"
|
|
ISO="$(web_pipe "${URL}/" | grep -e 'batocera.*img.gz'| cut -d'"' -f2)"
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|
|
|
|
function distro_specific() {
|
|
if [[ ${ISO} = *".gz"* ]]; then
|
|
gzip -d "${VM_PATH}/${ISO}"
|
|
ISO="${ISO/.gz/}"
|
|
fi
|
|
}
|
|
|
|
function specific_tweaks() {
|
|
echo "disk_size=\"8G\"" >> "${CONF_FILE}"
|
|
}
|
|
|
|
|