mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Merge branch 'cooker' into feat/steam-rom-manager
This commit is contained in:
commit
6901f48e40
|
@ -12,15 +12,9 @@ set_setting_value() {
|
||||||
|
|
||||||
case $4 in
|
case $4 in
|
||||||
|
|
||||||
"retrodeck" | "melonds" | "yuzu" | "citra" | "libretro_scummvm" )
|
"retrodeck" | "melonds" | "yuzu" | "citra" | "libretro_scummvm" | "ini" )
|
||||||
if [[ -z $current_section_name ]]; then
|
initool set "$1" $current_section_name $setting_name_to_change $setting_value_to_change > "$1.new" && mv -f "$1.new" "$1"
|
||||||
sed -i 's^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1"
|
conf_read
|
||||||
else
|
|
||||||
sed -i '\^\['"$current_section_name"'\]^,\^\^'"$setting_name_to_change"'=^s^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1"
|
|
||||||
fi
|
|
||||||
if [[ "$4" == "retrodeck" && ("$current_section_name" == "" || "$current_section_name" == "paths" || "$current_section_name" == "options") ]]; then # If a RetroDECK setting is being changed, also write it to memory for immediate use
|
|
||||||
declare -g "$setting_name_to_change=$setting_value_to_change"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"retroarch" )
|
"retroarch" )
|
||||||
|
|
|
@ -201,6 +201,15 @@ modules:
|
||||||
url: https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_amd64
|
url: https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_amd64
|
||||||
sha256: 4ee662847c588c3ef2fec8bfb304e8739e3dbaba87ccb9a608d691c88f5b64dc
|
sha256: 4ee662847c588c3ef2fec8bfb304e8739e3dbaba87ccb9a608d691c88f5b64dc
|
||||||
|
|
||||||
|
- name: initool
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
- install -Dm755 initool ${FLATPAK_DEST}/bin
|
||||||
|
source:
|
||||||
|
- type: archive
|
||||||
|
url: https://github.com/dbohdan/initool/releases/download/v0.18.0/initool-v0.18.0-fc0c3b1-linux-x86_64.zip
|
||||||
|
sha256: 0b3fc8c53a97e5362d2899f6a79a92bef9953c2c43716cfa85019211f67655bb
|
||||||
|
|
||||||
# GODOT Configurator
|
# GODOT Configurator
|
||||||
- name: retrodeck-configurator
|
- name: retrodeck-configurator
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
Loading…
Reference in a new issue