mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 15:54:19 +00:00
Rename function
This commit is contained in:
parent
70f282d012
commit
407db0bbcf
@ -673,7 +673,7 @@ rm_shaders() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Delete DXVK cache
|
# Delete DXVK cache
|
||||||
rm_vidcache() {
|
rm_dxvkcache() {
|
||||||
# Get/Set directory paths
|
# Get/Set directory paths
|
||||||
getdirs
|
getdirs
|
||||||
if [ "$?" -eq 1 ]; then
|
if [ "$?" -eq 1 ]; then
|
||||||
@ -1139,7 +1139,7 @@ maintenance_menu() {
|
|||||||
# Set the options to be displayed in the menu
|
# Set the options to be displayed in the menu
|
||||||
menu_options=("$version_msg" "$sanitize_msg" "$shaders_msg" "$vidcache_msg" "$reset_msg" "$quit_msg")
|
menu_options=("$version_msg" "$sanitize_msg" "$shaders_msg" "$vidcache_msg" "$reset_msg" "$quit_msg")
|
||||||
# Set the corresponding functions to be called for each of the options
|
# Set the corresponding functions to be called for each of the options
|
||||||
menu_actions=("set_version" "sanitize" "rm_shaders" "rm_vidcache" "reset_helper" "menu_loop_done")
|
menu_actions=("set_version" "sanitize" "rm_shaders" "rm_dxvkcache" "reset_helper" "menu_loop_done")
|
||||||
|
|
||||||
# Calculate the total height the menu should be
|
# Calculate the total height the menu should be
|
||||||
menu_height="$(("$menu_option_height" * "${#menu_options[@]}" + "$menu_text_height"))"
|
menu_height="$(("$menu_option_height" * "${#menu_options[@]}" + "$menu_text_height"))"
|
||||||
@ -1237,7 +1237,7 @@ Usage: lug-helper <options>
|
|||||||
rm_shaders
|
rm_shaders
|
||||||
;;
|
;;
|
||||||
--delete-dxvk-cache)
|
--delete-dxvk-cache)
|
||||||
rm_vidcache
|
rm_dxvkcache
|
||||||
;;
|
;;
|
||||||
--get-referral)
|
--get-referral)
|
||||||
referral_randomizer
|
referral_randomizer
|
||||||
|
Loading…
Reference in New Issue
Block a user