mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-18 14:55:38 +00:00
XEMU: preparing the image only if is missing
This commit is contained in:
parent
0ef7762c7d
commit
4edeac2dc1
|
@ -151,10 +151,13 @@ standalones_init() {
|
|||
mkdir -pv $rdhome/saves/xemu
|
||||
cp -fv $emuconfigs/xemu.toml /var/data/xemu/xemu.toml
|
||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/data/xemu/xemu.toml
|
||||
# Preparing HD dummy Image
|
||||
# Preparing HD dummy Image if the image is not found
|
||||
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
||||
then
|
||||
wget "https://github.com/mborgerson/xemu-hdd-image/releases/latest/download/xbox_hdd.qcow2.zip" -P $rdhome/bios/
|
||||
unzip $rdhome/bios/xbox_hdd.qcow2.zip $rdhome/bios/
|
||||
rm -rfv $rdhome/bios/xbox_hdd.qcow2.zip
|
||||
fi
|
||||
|
||||
# PICO-8
|
||||
# Moved PICO-8 stuff in the finit as only it knows here roms folders is
|
||||
|
|
Loading…
Reference in a new issue