mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-24 06:55:38 +00:00
Merge pull request #799 from icenine451/cooker-0.8.2b-icenine451
Cooker 0.8.2b icenine451
This commit is contained in:
commit
79c8da88d4
|
@ -130,10 +130,10 @@ find_compatible_games() {
|
||||||
fi
|
fi
|
||||||
touch "$godot_compression_compatible_games"
|
touch "$godot_compression_compatible_games"
|
||||||
|
|
||||||
local compressable_games_list=()
|
compressable_games_list=()
|
||||||
local all_compressable_games=()
|
all_compressable_games=()
|
||||||
local games_to_compress=()
|
games_to_compress=()
|
||||||
local target_selection="$1"
|
target_selection="$1"
|
||||||
|
|
||||||
if [[ "$1" == "everything" ]]; then
|
if [[ "$1" == "everything" ]]; then
|
||||||
local compression_format="all"
|
local compression_format="all"
|
||||||
|
|
|
@ -41,14 +41,14 @@ build_preset_list_options() {
|
||||||
fi
|
fi
|
||||||
touch "$godot_current_preset_settings"
|
touch "$godot_current_preset_settings"
|
||||||
|
|
||||||
local preset="$1"
|
preset="$1"
|
||||||
pretty_preset_name=${preset//_/ } # Preset name prettification
|
pretty_preset_name=${preset//_/ } # Preset name prettification
|
||||||
pretty_preset_name=$(echo $pretty_preset_name | awk '{for(i=1;i<=NF;i++){$i=toupper(substr($i,1,1))substr($i,2)}}1') # Preset name prettification
|
pretty_preset_name=$(echo $pretty_preset_name | awk '{for(i=1;i<=NF;i++){$i=toupper(substr($i,1,1))substr($i,2)}}1') # Preset name prettification
|
||||||
local current_preset_settings=()
|
current_preset_settings=()
|
||||||
local current_enabled_systems=()
|
current_enabled_systems=()
|
||||||
local current_disabled_systems=()
|
current_disabled_systems=()
|
||||||
local changed_systems=()
|
changed_systems=()
|
||||||
local changed_presets=()
|
changed_presets=()
|
||||||
local section_results=$(sed -n '/\['"$preset"'\]/, /\[/{ /\['"$preset"'\]/! { /\[/! p } }' $rd_conf | sed '/^$/d')
|
local section_results=$(sed -n '/\['"$preset"'\]/, /\[/{ /\['"$preset"'\]/! { /\[/! p } }' $rd_conf | sed '/^$/d')
|
||||||
|
|
||||||
while IFS= read -r config_line
|
while IFS= read -r config_line
|
||||||
|
|
Loading…
Reference in a new issue