Critical bug fixes

This commit is contained in:
XargonWan 2022-04-01 22:29:44 +09:00
parent 012207e9b1
commit baf147b150
3 changed files with 3 additions and 6 deletions

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Name=RetroDECK
GenericName=Frontend for the libretro API
GenericName=Emulation bundle for Steam Deck
Type=Application
Comment=All you need for emulation on Steam Deck
Icon=com.xargon.retrodeck

View file

@ -105,7 +105,7 @@
<string name="MiximagePhysicalMediaSize" value="medium" />
<string name="MiximageResolution" value="1280x800" />
<string name="MiximageScreenshotScaling" value="sharp" />
<string name="ROMDirectory" value="~/roms" />
<string name="ROMDirectory" value="~/ROMs" />
<string name="SaveGamelistsMode" value="always" />
<string name="Scraper" value="screenscraper" />
<string name="ScraperLanguage" value="en" />

View file

@ -17,6 +17,7 @@ then
if is_mounted "/run/media/mmcblk0p1"
then
roms_folder=/run/media/mmcblk0p1/retrodeck/roms
mkdir -p /run/media/mmcblk0p1/retrodeck/
else
kdialog --title "RetroDECK" --error "SD Card is not readable, please check if it inserted or mounted correctly and run RetroDECK again."
exit 0
@ -32,10 +33,6 @@ then
rm ~/retrodeck/bios
rm /var/config/retrodeck/tools/*
ls -ln /var/config/ #DEBUG
ls -ln /var/config/emulationstation/.emulationstation #DEBUG
read -n 1 -r -s -p $'Press enter to continue...\n' #DEBUG
kdialog --title "RetroDECK" --msgbox "EmulationStation will now initialize the system, please don't edit the rom location.\nJust select CREATE DIRECTORIES, YES, QUIT buttons.\nRetroDECK will manage the rest."
mkdir -p /var/config/emulationstation/