mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-29 19:45:38 +00:00
TOOLS: fixed scripts
This commit is contained in:
parent
96e1804a82
commit
a764c68ada
|
@ -18,8 +18,12 @@ then # found external folder and not the internal
|
|||
new_roms_path=~/retrodeck
|
||||
fi
|
||||
|
||||
mkdir -p $new_roms_path
|
||||
mv -f $roms_path/roms $new_roms_path/roms
|
||||
rm -f /var/config/emulationstation/ROMs
|
||||
ln -s $new_roms_path/roms /var/config/emulationstation/ROMs
|
||||
rm -f $roms_path/roms
|
||||
kdialog --title "RetroDECK" --warningyesno "Should I move the roms from\n\n$roms_path/roms\n\nto\n\n$new_roms_path/roms?"
|
||||
if [ $? == 0 ] #yes
|
||||
then
|
||||
mkdir -p $new_roms_path
|
||||
mv -f $roms_path/roms $new_roms_path/roms
|
||||
rm -f /var/config/emulationstation/ROMs
|
||||
ln -s $new_roms_path/roms /var/config/emulationstation/ROMs
|
||||
rm -f $roms_path/roms
|
||||
fi
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
kdialog --title "RetroDECK" --warningyesno "Doing some changes in the RetroArch configuration may create serious issues, please continue only if you know what you're doing.\n\nDo you want to continue?"
|
||||
if [ $? == 0 ]; then
|
||||
retroarch
|
||||
if [ $? == 0 ]
|
||||
then
|
||||
retroarch
|
||||
fi
|
Loading…
Reference in a new issue