mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-29 08:14:20 +00:00
Don't manage lutris runners if lutris isn't installed
This commit is contained in:
parent
4a0b053a68
commit
0df2659e54
@ -818,6 +818,12 @@ choose_runner_version() {
|
|||||||
|
|
||||||
|
|
||||||
manage_runners() {
|
manage_runners() {
|
||||||
|
# Check if Lutris is installed
|
||||||
|
if [ ! -x "$(command -v lutris)" ]; then
|
||||||
|
message info "Lutris does not appear to be installed."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Configure the menu
|
# Configure the menu
|
||||||
menu_text_zenity="<b>This helper can manage your Lutris runners</b>\n\nChoose from the following options:"
|
menu_text_zenity="<b>This helper can manage your Lutris runners</b>\n\nChoose from the following options:"
|
||||||
menu_text_terminal="This helper can manage your Lutris runners<\n\nChoose from the following options:"
|
menu_text_terminal="This helper can manage your Lutris runners<\n\nChoose from the following options:"
|
||||||
|
Loading…
Reference in New Issue
Block a user