From 2299da254f160b7dac08a5aceaff2d0c6a9dfde5 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 19 Mar 2024 09:53:45 +0100 Subject: [PATCH] PONZU: added a check for the already installed files after a full reset --- functions/functions.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/functions/functions.sh b/functions/functions.sh index ea480070..0e96a64f 100644 --- a/functions/functions.sh +++ b/functions/functions.sh @@ -670,6 +670,16 @@ ponzu() { local appimage local executable + # if the binaries are found, ponzu should be set as true into the retrodeck config + if [ -f "/var/data/ponzu/Citra/bin/citra-qt" ]; then + log d "Citra binaries has already been installed, checking for updates and forcing the setting as true." + set_setting_value $rd_conf "akai_ponzu" "true" retrodeck "options" + fi + if [ -f "/var/data/ponzu/Yuzu/bin/yuzu" ]; then + log d "Yuzu binaries has already been installed, checking for updates and forcing the setting as true." + set_setting_value $rd_conf "kiroi_ponzu" "true" retrodeck "options" + fi + # Loop through all ponzu files for ponzu_file in "${ponzu_files[@]}"; do # Check if the current ponzu file exists