From 867b29e163c21c8585502bf8a57bde2482ee1058 Mon Sep 17 00:00:00 2001 From: godsbane Date: Wed, 26 Apr 2023 02:45:24 -0400 Subject: [PATCH] ESDE Cleanup --- functions/ToolScripts/emuDeckESDE.sh | 4 ++++ tools/launchers/cemu.sh | 0 tools/launchers/mgba.sh | 0 tools/launchers/ppsspp.sh | 0 tools/launchers/ryujinx.sh | 0 tools/launchers/vita3k.sh | 0 6 files changed, 4 insertions(+) mode change 100644 => 100755 tools/launchers/cemu.sh mode change 100644 => 100755 tools/launchers/mgba.sh mode change 100644 => 100755 tools/launchers/ppsspp.sh mode change 100644 => 100755 tools/launchers/ryujinx.sh mode change 100644 => 100755 tools/launchers/vita3k.sh diff --git a/functions/ToolScripts/emuDeckESDE.sh b/functions/ToolScripts/emuDeckESDE.sh index 0e209992f..90d21fb20 100644 --- a/functions/ToolScripts/emuDeckESDE.sh +++ b/functions/ToolScripts/emuDeckESDE.sh @@ -157,15 +157,19 @@ ESDE_addCustomSystems(){ ESDE_applyTheme(){ defaultTheme="EPICNOIR" local theme=$1 + if [[ "${theme}" == "" ]]; then echo "ESDE: applyTheme parameter not set." theme="$defaultTheme" fi + echo "ESDE: applyTheme $theme" mkdir -p "$HOME/.emulationstation/themes/" + if [ -e "$HOME/.emulationstation/themes/epic-noir-revisited" ] && [ ! -e "$HOME/.emulationstation/themes/epic-noir-revisited-es-de" ]; then mv -v "$HOME/.emulationstation/themes/epic-noir-revisited" "$HOME/.emulationstation/themes/epic-noir-revisited-es-de" #update theme path to esde naming convention fi + git clone https://github.com/anthonycaccese/epic-noir-revisited-es-de "$HOME/.emulationstation/themes/epic-noir-revisited-es-de" rm -rf "$HOME/.emulationstation/themes/epic-noir-revisited" #remove old themes rm -rf "$HOME/.emulationstation/themes/es-epicnoir" #remove old themes diff --git a/tools/launchers/cemu.sh b/tools/launchers/cemu.sh old mode 100644 new mode 100755 diff --git a/tools/launchers/mgba.sh b/tools/launchers/mgba.sh old mode 100644 new mode 100755 diff --git a/tools/launchers/ppsspp.sh b/tools/launchers/ppsspp.sh old mode 100644 new mode 100755 diff --git a/tools/launchers/ryujinx.sh b/tools/launchers/ryujinx.sh old mode 100644 new mode 100755 diff --git a/tools/launchers/vita3k.sh b/tools/launchers/vita3k.sh old mode 100644 new mode 100755