diff --git a/lug-helper.sh b/lug-helper.sh index bf7c2c1..46d2271 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -191,6 +191,7 @@ current_version="v1.22" ############################################################################ ############################################################################ +############################################################################ # Echo a formatted debug message to the terminal and optionally exit @@ -668,8 +669,12 @@ rm_userdir() { fi } -#--------------------- begin preflight check functions -----------------------# -#------------------------- begin mapcount functions --------------------------# + +############################################################################ +######## begin preflight check functions ################################### +############################################################################ +######## begin mapcount functions ########################################## +############################################################################ # Check if setting vm.max_map_count was successful mapcount_confirm() { @@ -733,9 +738,13 @@ mapcount_check() { fi } -#-------------------------- end mapcount functions ---------------------------# +############################################################################ +######## end mapcount functions ############################################ +############################################################################ -#------------------------ begin filelimit functions --------------------------# +############################################################################ +######## begin filelimit functions ######################################### +############################################################################ # Check if setting the open file descriptors limit was successful filelimit_confirm() { @@ -793,7 +802,9 @@ filelimit_check() { fi } -#------------------------- end filelimit functions ---------------------------# +############################################################################ +######## end filelimit functions ########################################### +############################################################################ # Check if WINE is installed wine_check() { @@ -942,9 +953,13 @@ preflight_check() { fi } -#------------------------- end preflight check functions ---------------------# +############################################################################ +######## end preflight check functions ##################################### +############################################################################ -#------------------------- begin download functions ----------------------------# +############################################################################ +######## begin download functions ########################################## +############################################################################ # Detect if lutris is installed lutris_detect() { @@ -1650,7 +1665,9 @@ dxvk_manage() { download_manage "dxvk" } -#-------------------------- end download functions -----------------------------# +############################################################################ +######## end download functions ############################################ +############################################################################ # Deploy Easy Anti-Cheat Workaround eac_workaround() { @@ -1898,7 +1915,7 @@ quit() { ############################################################################ -# MAIN +######## MAIN ############################################################## ############################################################################ # Check if Zenity is available