mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Add comments on new usage of make_preset_changes(), which now can be called externally
This commit is contained in:
parent
155e331a43
commit
353c626a37
|
@ -82,7 +82,9 @@ build_preset_list_options() {
|
|||
|
||||
|
||||
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
|
||||
incompatible_presets=$(jq -r '
|
||||
|
|
Loading…
Reference in a new issue