diff --git a/functions/global.sh b/functions/global.sh index 5cfdf78b..f1cebd58 100644 --- a/functions/global.sh +++ b/functions/global.sh @@ -54,6 +54,7 @@ incompatible_presets_reference_list="$config/retrodeck/reference_lists/incompati pretty_system_names_reference_list="$config/retrodeck/reference_lists/pretty_system_names.cfg" # An internal translation list for turning internal names (eg. gbc) to "pretty" names (Nintendo GameBoy Color) git_organization_name="RetroDECK" # The name of the organization in our git repository such as GitHub cooker_repository_name="Cooker" # The name of the cooker repository under RetroDECK organization +features="$config/retrodeck/reference_lists/features.json" # A file where all the RetroDECK and component capabilities are kept for querying # Godot data transfer temp files diff --git a/functions/other_functions.sh b/functions/other_functions.sh index adaa56e5..e84fbaea 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -169,7 +169,7 @@ update_rd_conf() { "\(.key):\(.value)", "\(.value):\(.key)" ] | join("\n") - ' config/retrodeck/reference_lists/features.json) + ' $features) while IFS= read -r current_setting_line # Read the existing retrodeck.cfg do @@ -597,7 +597,7 @@ splash_screen() { ($current_day | tonumber) <= (.value.end_date | tonumber) and ($current_time | tonumber) >= (.value.start_time | tonumber) and ($current_time | tonumber) <= (.value.end_time | tonumber) - ) | .value.filename' config/retrodeck/reference_lists/features.json) + ) | .value.filename' $features) # Determine the splash file to use if [[ -n "$splash_screen" ]]; then