remove unused code and fixed typos

This commit is contained in:
madz 2024-12-31 16:53:27 -05:00
parent d33b91e1d5
commit ceea18bcfd

View file

@ -71,15 +71,11 @@ if [[ -f /etc/emulationstation/es_systems.cfg ]]; then
echo "This script dose not support your system, exiting..." echo "This script dose not support your system, exiting..."
exit 1 exit 1
fi fi
# Add MakeCode Arcade carbon theme
#cp -r /home/pi/McAirpos/McAirpos/Batocera34/art /etc/emulationstation/themes/es-theme-carbon/
#cp -r /home/pi/McAirpos/McAirpos/Batocera34/makecode /etc/emulationstation/themes/es-theme-carbon/
#cp /home/pi/McAirpos/McAirpos/MakeCode/MakeCode_Arcade.png /etc/emulationstation/themes/es-theme-carbon/art/consoles/makecode.png
else else
echo "Couldn't find the file /etc/emulationstation/es_systems.cfg, continuing script without..." echo "Couldn't find the file /etc/emulationstation/es_systems.cfg, continuing script without..."
fi fi
# 5. Create MakeCode Arcade games folder for Batocera, if not present # 5. Create ps2 folder for Batocera, if not present
if [[ -d /userdata/roms/ps2 ]]; then if [[ -d /userdata/roms/ps2 ]]; then
echo "The PS2 games is folder already present, continuing..." echo "The PS2 games is folder already present, continuing..."
else else
@ -575,24 +571,8 @@ Type = None
_EOF_ _EOF_
fi fi
chmod -R 755 /home/pi/.config/aethersx2/inis/PCSX2.ini chmod -R 755 /home/pi/.config/aethersx2/inis/PCSX2.ini
# 6. Provide 32-bit runtime environment
#gzip -d /home/pi/McAirpos/McAirpos/Batocera34/batocera_re.tar.gz
#tar xf /home/pi/McAirpos/McAirpos/Batocera34/batocera_re.tar -C /
#ln -s /lib32/arm-linux-gnueabihf/ld-2.31.so /lib/ld-linux-armhf.so.3
#cp -r /home/pi/McAirpos/McAirpos/Batocera34/usr /
#if [[ -d /lib32 ]]; then
# echo "Runtime environment provided ok..."
#else
# echo "Runtime environment is missing or faulty, exiting..."
# exit 1
#fi
# 7. Initialize uinput-mapper # 7. Finish up
#cd /home/pi/McAirpos/McAirpos/uinput-mapper
#make
#cd /home/pi
# 8. Finish up
ln -s /home/pi/aethersx2/AetherSX2/usr/bin/aethersx2 /usr/bin/aethersx2 ln -s /home/pi/aethersx2/AetherSX2/usr/bin/aethersx2 /usr/bin/aethersx2
chmod -R 755 /usr/bin/aethersx2 chmod -R 755 /usr/bin/aethersx2
/usr/bin/batocera-save-overlay 100 /usr/bin/batocera-save-overlay 100