From 44bcbf8161bb1adaeed197efd2e4baa1c3c03766 Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Wed, 27 Oct 2021 23:28:21 -0400 Subject: [PATCH] Improve comments --- lug-helper.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index f3c796b..fb0419f 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1193,7 +1193,8 @@ download_manage() { # Configure the download_manage function for runners 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 download_dir="$runners_dir" @@ -1203,12 +1204,15 @@ runner_manage() { download_menu_height="140" # 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" } # Configure the download_manage function for dxvks 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 download_dir="$dxvk_dir" @@ -1218,6 +1222,8 @@ dxvk_manage() { download_menu_height="140" # 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" }