mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-24 23:15:39 +00:00
FRAMEWORK: variabilized features.json location
This commit is contained in:
parent
07b8edb32e
commit
a48ba23df0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue