mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
PONZU: added a check for the already installed files after a full reset
This commit is contained in:
parent
1a0f9f499c
commit
2299da254f
|
@ -670,6 +670,16 @@ ponzu() {
|
||||||
local appimage
|
local appimage
|
||||||
local executable
|
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
|
# Loop through all ponzu files
|
||||||
for ponzu_file in "${ponzu_files[@]}"; do
|
for ponzu_file in "${ponzu_files[@]}"; do
|
||||||
# Check if the current ponzu file exists
|
# Check if the current ponzu file exists
|
||||||
|
|
Loading…
Reference in a new issue