BIOS_CHECKER: fixed columns

This commit is contained in:
XargonWan 2025-01-10 16:05:39 +09:00
parent 9ae5e61cd5
commit 565c8a0ad8

View file

@ -1086,9 +1086,9 @@ configurator_check_bios_files() {
log d "Adding BIOS entry: \"$bios_file $bios_systems $bios_file_found $bios_hash_matched $bios_desc $bios_subdir $bios_hash\" to the bios_checked_list" log d "Adding BIOS entry: \"$bios_file $bios_systems $bios_file_found $bios_hash_matched $bios_desc $bios_subdir $bios_hash\" to the bios_checked_list"
if [[ $bios_checked_list != "" ]]; then if [[ $bios_checked_list != "" ]]; then
bios_checked_list=("${bios_checked_list[@]}"^"$bios_file^$bios_systems^$bios_file_found^$bios_hash_matched^$bios_desc^$bios_subdir^$bios_hash") bios_checked_list=("${bios_checked_list[@]}"^"$bios_file^$bios_systems^$bios_file_found^$bios_hash_matched^$bios_subdir^$bios_desc^$bios_hash")
else else
bios_checked_list=("$bios_file^$bios_systems^$bios_file_found^$bios_hash_matched^$bios_subdir^$bios_hash^$bios_desc") bios_checked_list=("$bios_file^$bios_systems^$bios_file_found^$bios_hash_matched^$bios_subdir^$bios_desc^$bios_hash")
fi fi
#echo "$bios_file"^"$bios_systems"^"$bios_file_found"^"$bios_hash_matched"^"$bios_subdir"^"$bios_hash"^"$bios_desc" # Godot data transfer #TODO: this is breaking the zenity dialog, since we don't release Godot in this version I disabled it. #echo "$bios_file"^"$bios_systems"^"$bios_file_found"^"$bios_hash_matched"^"$bios_subdir"^"$bios_hash"^"$bios_desc" # Godot data transfer #TODO: this is breaking the zenity dialog, since we don't release Godot in this version I disabled it.
@ -1107,8 +1107,8 @@ configurator_check_bios_files() {
--column "Found" \ --column "Found" \
--column "Hash Matches" \ --column "Hash Matches" \
--column "Expected Path" \ --column "Expected Path" \
--column "MD5" \
--column "Description" \ --column "Description" \
--column "MD5" \
$(printf '%s\n' "${bios_checked_list[@]}") $(printf '%s\n' "${bios_checked_list[@]}")
IFS=$' \t\n' # Reset the Internal Field Separator IFS=$' \t\n' # Reset the Internal Field Separator