Add comments on new usage of make_preset_changes(), which now can be called externally
Some checks are pending
Build RetroDECK / Build_RetroDECK (push) Waiting to run
Build RetroDECK / GitHub-publish (push) Blocked by required conditions

This commit is contained in:
icenine451 2024-11-13 10:13:01 -05:00
parent 155e331a43
commit 353c626a37

View file

@ -82,7 +82,9 @@ build_preset_list_options() {
make_preset_changes() { make_preset_changes() {
# This function will take an array $choices, which contains the names of systems that have been enabled for this preset and enable them in the backend # This function will take a preset name $preset and a CSV list $choice, which contains the names of systems that have been enabled for this preset and enable them in the backend
# Any systems which are currently enabled and not in the CSV list $choice will instead be disabled in the backend
# USAGE: make_preset_changes $choice $preset
# Fetch incompatible presets from JSON and create a lookup list # Fetch incompatible presets from JSON and create a lookup list
incompatible_presets=$(jq -r ' incompatible_presets=$(jq -r '