Don't manage lutris runners if lutris isn't installed

This commit is contained in:
the-sane 2020-12-27 14:34:09 -05:00 committed by GitHub
parent 4a0b053a68
commit 0df2659e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -818,6 +818,12 @@ choose_runner_version() {
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
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:"