mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
39 lines
1 KiB
Text
39 lines
1 KiB
Text
reactos
|
|
|
|
reactos latest: https://versaweb.dl.sourceforge.net/project/reactos/ReactOS/0.4.15/ReactOS-0.4.15-release-1-gdbb43bbaeb2-x86-iso.zip?viasf=1
|
|
|
|
# Template file for 'reactos'
|
|
OSNAME="reactos"
|
|
PRETTY="ReactOS"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Imagine running your favorite Windows applications and drivers in an open-source environment you can trust"
|
|
HOMEPAGE="https://reactos.org"
|
|
CREDENTIALS="-"
|
|
GUEST="reactos"
|
|
|
|
RELEASES="latest"
|
|
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local URL=""
|
|
URL="$(web_redirect "https://sourceforge.net/projects/reactos/files/latest/download")"
|
|
echo "${URL} ${HASH}"
|
|
}
|
|
|
|
function distro_specific() {
|
|
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
|
|
}
|
|
|
|
function specific_tweaks() {
|
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
echo "disk_size=\"12G\"" >> "${CONF_FILE}"
|
|
echo "ram=\"2048M\"" >> "${CONF_FILE}"
|
|
}
|
|
|
|
|