mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-15 21:50:35 +00:00
Compare commits
2 Commits
0d90486527
...
2343bfb733
Author | SHA1 | Date | |
---|---|---|---|
|
2343bfb733 | ||
|
464dbe47d7 |
@ -157,7 +157,7 @@ max_download_items=20
|
||||
|
||||
# Pixels to add for each Zenity menu option
|
||||
# used to dynamically determine the height of menus
|
||||
menu_option_height="25"
|
||||
menu_option_height="26"
|
||||
|
||||
######## Bundled Files #####################################################
|
||||
|
||||
@ -894,18 +894,14 @@ lutris_detect() {
|
||||
|
||||
# Detect native lutris
|
||||
if [ -x "$(command -v lutris)" ]; then
|
||||
# Native Lutris is installed
|
||||
lutris_installed="true"
|
||||
lutris_native="true"
|
||||
fi
|
||||
|
||||
# Detect flatpak lutris
|
||||
if [ -x "$(command -v flatpak)" ]; then
|
||||
flatpak info net.lutris.Lutris >/dev/null 2>&1
|
||||
if [ "$?" -eq 0 ]; then
|
||||
if [ -x "$(command -v flatpak)" ] && flatpak list --app | grep -q Lutris; then
|
||||
lutris_installed="true"
|
||||
lutris_flatpak="true"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@ -1033,7 +1029,7 @@ download_select_delete() {
|
||||
# Configure the menu
|
||||
menu_text_zenity="Select the $download_type you want to remove:"
|
||||
menu_text_terminal="Select the $download_type you want to remove:"
|
||||
menu_text_height="65"
|
||||
menu_text_height="60"
|
||||
goback="Return to the $download_type management menu"
|
||||
unset installed_items
|
||||
unset installed_item_names
|
||||
@ -1364,7 +1360,7 @@ download_select_install() {
|
||||
# Configure the menu
|
||||
menu_text_zenity="Select the $download_type you want to install:"
|
||||
menu_text_terminal="Select the $download_type you want to install:"
|
||||
menu_text_height="65"
|
||||
menu_text_height="60"
|
||||
goback="Return to the $download_type management menu"
|
||||
unset menu_options
|
||||
unset menu_actions
|
||||
|
Loading…
x
Reference in New Issue
Block a user