Fix a typo in the directory that wont download the emulator

This commit is contained in:
madz 2025-01-02 20:24:26 -05:00
parent b3d5b9e365
commit a389741a30

View file

@ -16,7 +16,7 @@ fi
# 2. 1nstall prerequesites and clone McAirpos repository # 2. 1nstall prerequesites and clone McAirpos repository
SUCCESS=0 SUCCESS=0
if [[ -d ./aethersx2 ]]; then if [[ -d ./AetherSX2-v1.5-3606 ]]; then
echo "AetherSX2 repository already present, countinuing without downloading..." echo "AetherSX2 repository already present, countinuing without downloading..."
else else
echo "Fetching AetherSX2..." echo "Fetching AetherSX2..."
@ -50,7 +50,7 @@ else
fi fi
SUCCESS= SUCCESS=
# 3. Set up MakeCode Arcade files # 3. Set up PS2 Arcade files
mv /home/pi/aethersx2/AetherSX2-v1.5-3606 /home/pi/aethersx2/AetherSX2 mv /home/pi/aethersx2/AetherSX2-v1.5-3606 /home/pi/aethersx2/AetherSX2
chmod -R 755 /home/pi/aethersx2/ chmod -R 755 /home/pi/aethersx2/
chmod -R 755 /home/pi/aethersx2/AetherSX2 chmod -R 755 /home/pi/aethersx2/AetherSX2
@ -64,7 +64,7 @@ fi
if [[ -f /etc/emulationstation/es_systems.cfg ]]; then if [[ -f /etc/emulationstation/es_systems.cfg ]]; then
#Backup original es_systems.cfg file #Backup original es_systems.cfg file
cp /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.cfg_AetherSX2.bak cp /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.cfg_AetherSX2.bak
# Appending updated MakeCode Arcade system from repository # Appending updated PS2 Arcade system from repository
if grep -q "Pi 5" /proc/device-tree/model; then if grep -q "Pi 5" /proc/device-tree/model; then
cd /home/pi/aethersx2/ cd /home/pi/aethersx2/
wget https://git.computernewb.com/madz/batocera-aethersx2/raw/branch/main/es_systems_ps2.cfg wget https://git.computernewb.com/madz/batocera-aethersx2/raw/branch/main/es_systems_ps2.cfg