Improve comments

This commit is contained in:
the Sane 2021-10-27 23:28:21 -04:00 committed by GitHub
parent acad90a0a5
commit 44bcbf8161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1193,7 +1193,8 @@ download_manage() {
# Configure the download_manage function for runners # Configure the download_manage function for runners
runner_manage() { runner_manage() {
# Set the required variables to manage runners # Use indirect expansion to point download_sources
# to the runner_sources array set at the top of the script
declare -n download_sources=runner_sources declare -n download_sources=runner_sources
download_dir="$runners_dir" download_dir="$runners_dir"
@ -1203,12 +1204,15 @@ runner_manage() {
download_menu_height="140" download_menu_height="140"
# Call the download_manage function with the above configuration # Call the download_manage function with the above configuration
# The argument passed to the function is used for special handling
# and displayed in the menus and dialogs.
download_manage "runner" download_manage "runner"
} }
# Configure the download_manage function for dxvks # Configure the download_manage function for dxvks
dxvk_manage() { dxvk_manage() {
# Set the required variables to manage dxvks # Use indirect expansion to point download_sources
# to the dxvk_sources array set at the top of the script
declare -n download_sources=dxvk_sources declare -n download_sources=dxvk_sources
download_dir="$dxvk_dir" download_dir="$dxvk_dir"
@ -1218,6 +1222,8 @@ dxvk_manage() {
download_menu_height="140" download_menu_height="140"
# Call the download_manage function with the above configuration # Call the download_manage function with the above configuration
# The argument passed to the function is used for special handling
# and displayed in the menus and dialogs.
download_manage "dxvk" download_manage "dxvk"
} }