mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
46 lines
967 B
Text
46 lines
967 B
Text
# Template file for 'reactos'
|
|
OSNAME="reactos"
|
|
PRETTY="ReactOS"
|
|
LOGO=""
|
|
ICON="reactos.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/reactos.png"
|
|
CATEGORY="advanced"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Imagine running your favorite Windows applications and drivers in an open-source environment you can trust"
|
|
HOMEPAGE="https://reactos.org"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
GUEST="reactos"
|
|
|
|
RELEASES="latest"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
echo latest
|
|
}
|
|
|
|
get_() {
|
|
local HASH=""
|
|
local URL=""
|
|
URL="$(web_redirect "https://sourceforge.net/projects/reactos/files/latest/download")"
|
|
echo "${URL} ${HASH}"
|
|
}
|
|
|
|
extract_() {
|
|
if [[ ${ISO} = *".zip"* ]]; then
|
|
unzip -qo "${VM_PATH}/${ISO}" -d "${VM_PATH}"
|
|
rm -f "${VM_PATH}/${ISO}"
|
|
ISO="$(ls -1 "${VM_PATH}/"*.iso)"
|
|
ISO="$(basename "${ISO}")"
|
|
fi
|
|
}
|
|
|
|
config_() {
|
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
echo "disk_size=\"12G\"" >> "${CONF_FILE}"
|
|
echo "ram=\"2048M\"" >> "${CONF_FILE}"
|
|
}
|