mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-10-11 07:02:20 +00:00
Update function names
Naming convention remnants from lutris support
This commit is contained in:
@@ -2029,7 +2029,7 @@ maintenance_menu() {
|
|||||||
# Set the options to be displayed in the menu
|
# Set the options to be displayed in the menu
|
||||||
menu_options=("$prefix_msg" "$launcher_msg" "$launchscript_msg" "$config_msg" "$controllers_msg" "$powershell_msg" "$dirs_msg" "$reset_msg" "$quit_msg")
|
menu_options=("$prefix_msg" "$launcher_msg" "$launchscript_msg" "$config_msg" "$controllers_msg" "$powershell_msg" "$dirs_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=("switch_prefix" "update_launcher" "edit_wine_launch_script" "call_launch_script config" "call_launch_script controllers" "install_powershell" "display_dirs" "reset_helper" "menu_loop_done")
|
menu_actions=("switch_prefix" "update_launch_script" "edit_launch_script" "call_launch_script config" "call_launch_script controllers" "install_powershell" "display_dirs" "reset_helper" "menu_loop_done")
|
||||||
|
|
||||||
# Calculate the total height the menu should be
|
# Calculate the total height the menu should be
|
||||||
# menu_option_height = pixels per menu option
|
# menu_option_height = pixels per menu option
|
||||||
@@ -2065,9 +2065,9 @@ switch_prefix() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# MARK: update_launcher()
|
# MARK: update_launch_script()
|
||||||
# Update the game launch script if necessary
|
# Update the game launch script if necessary
|
||||||
update_launcher() {
|
update_launch_script() {
|
||||||
getdirs
|
getdirs
|
||||||
|
|
||||||
if [ "$?" -eq 1 ]; then
|
if [ "$?" -eq 1 ]; then
|
||||||
@@ -2176,9 +2176,9 @@ call_launch_script()
|
|||||||
"$wine_prefix/$wine_launch_script_name" "$launch_arg"
|
"$wine_prefix/$wine_launch_script_name" "$launch_arg"
|
||||||
}
|
}
|
||||||
|
|
||||||
# MARK: edit_wine_launch_script()
|
# MARK: edit_launch_script()
|
||||||
# Edit the launch script
|
# Edit the launch script
|
||||||
edit_wine_launch_script() {
|
edit_launch_script() {
|
||||||
# Get/Set directory paths
|
# Get/Set directory paths
|
||||||
getdirs
|
getdirs
|
||||||
if [ "$?" -eq 1 ]; then
|
if [ "$?" -eq 1 ]; then
|
||||||
@@ -2842,7 +2842,7 @@ Usage: lug-helper <options>
|
|||||||
cargs+=("dxvk_update")
|
cargs+=("dxvk_update")
|
||||||
;;
|
;;
|
||||||
--edit-launch-script | -e )
|
--edit-launch-script | -e )
|
||||||
cargs+=("edit_wine_launch_script")
|
cargs+=("edit_launch_script")
|
||||||
;;
|
;;
|
||||||
--wine-config | -c )
|
--wine-config | -c )
|
||||||
cargs+=("call_launch_script config")
|
cargs+=("call_launch_script config")
|
||||||
|
Reference in New Issue
Block a user