mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
PONZU: added config in rd_conf
This commit is contained in:
parent
dfb916f174
commit
482ed3c2dd
|
@ -28,6 +28,7 @@ multi_user_mode=false
|
||||||
ask_default_user=true
|
ask_default_user=true
|
||||||
default_user=
|
default_user=
|
||||||
developer_options=false
|
developer_options=false
|
||||||
|
ponzu=false
|
||||||
|
|
||||||
[cheevos]
|
[cheevos]
|
||||||
duckstation=false
|
duckstation=false
|
||||||
|
|
|
@ -660,6 +660,7 @@ manage_ryujinx_keys() {
|
||||||
ponzu() {
|
ponzu() {
|
||||||
# This function is used to extract some specific appimages
|
# This function is used to extract some specific appimages
|
||||||
# Check if any of the specified files exist
|
# Check if any of the specified files exist
|
||||||
|
# If RetroDECK is reset Ponzu must re-cooked
|
||||||
|
|
||||||
local tmp_folder="/tmp/extracted"
|
local tmp_folder="/tmp/extracted"
|
||||||
local ponzu_files=("$rdhome"/ponzu/Citra*.AppImage "$rdhome"/ponzu/citra*.AppImage "$rdhome"/ponzu/Yuzu*.AppImage "$rdhome"/ponzu/yuzu*.AppImage)
|
local ponzu_files=("$rdhome"/ponzu/Citra*.AppImage "$rdhome"/ponzu/citra*.AppImage "$rdhome"/ponzu/Yuzu*.AppImage "$rdhome"/ponzu/yuzu*.AppImage)
|
||||||
|
@ -673,11 +674,11 @@ ponzu() {
|
||||||
if [ -f "$ponzu_file" ]; then
|
if [ -f "$ponzu_file" ]; then
|
||||||
if [[ "$ponzu_file" == *itra*]]; then
|
if [[ "$ponzu_file" == *itra*]]; then
|
||||||
log i "Found akai ponzu! Elaborating it"
|
log i "Found akai ponzu! Elaborating it"
|
||||||
data_dir="/var/data/Citra"
|
data_dir="/var/data/ponzu/Citra"
|
||||||
local message="Akai ponzu is served, enjoy"
|
local message="Akai ponzu is served, enjoy"
|
||||||
elif [[ "$ponzu_file" == *uzu* ]]; then
|
elif [[ "$ponzu_file" == *uzu* ]]; then
|
||||||
log i "Found kiroi ponzu! Elaborating it"
|
log i "Found kiroi ponzu! Elaborating it"
|
||||||
data_dir="/var/data/Yuzu"
|
data_dir="/var/data/ponzu/Yuzu"
|
||||||
local message="Kiroi ponzu is served, enjoy"
|
local message="Kiroi ponzu is served, enjoy"
|
||||||
else
|
else
|
||||||
log e "AppImage not recognized, not a ponzu ingredient!"
|
log e "AppImage not recognized, not a ponzu ingredient!"
|
||||||
|
@ -699,6 +700,7 @@ ponzu() {
|
||||||
executable=""
|
executable=""
|
||||||
log d "Making $executable executable"
|
log d "Making $executable executable"
|
||||||
chmod +x "$executable"
|
chmod +x "$executable"
|
||||||
|
set_setting_value $rd_conf "ponzu" "true" retrodeck "options"
|
||||||
cd -
|
cd -
|
||||||
log i "$message"
|
log i "$message"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue