mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-15 23:40: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
|
# Pixels to add for each Zenity menu option
|
||||||
# used to dynamically determine the height of menus
|
# used to dynamically determine the height of menus
|
||||||
menu_option_height="25"
|
menu_option_height="26"
|
||||||
|
|
||||||
######## Bundled Files #####################################################
|
######## Bundled Files #####################################################
|
||||||
|
|
||||||
@ -894,19 +894,15 @@ lutris_detect() {
|
|||||||
|
|
||||||
# Detect native lutris
|
# Detect native lutris
|
||||||
if [ -x "$(command -v lutris)" ]; then
|
if [ -x "$(command -v lutris)" ]; then
|
||||||
# Native Lutris is installed
|
|
||||||
lutris_installed="true"
|
lutris_installed="true"
|
||||||
lutris_native="true"
|
lutris_native="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Detect flatpak lutris
|
# Detect flatpak lutris
|
||||||
if [ -x "$(command -v flatpak)" ]; then
|
if [ -x "$(command -v flatpak)" ] && flatpak list --app | grep -q Lutris; then
|
||||||
flatpak info net.lutris.Lutris >/dev/null 2>&1
|
|
||||||
if [ "$?" -eq 0 ]; then
|
|
||||||
lutris_installed="true"
|
lutris_installed="true"
|
||||||
lutris_flatpak="true"
|
lutris_flatpak="true"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restart lutris if necessary
|
# Restart lutris if necessary
|
||||||
@ -1033,7 +1029,7 @@ download_select_delete() {
|
|||||||
# Configure the menu
|
# Configure the menu
|
||||||
menu_text_zenity="Select the $download_type you want to remove:"
|
menu_text_zenity="Select the $download_type you want to remove:"
|
||||||
menu_text_terminal="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"
|
goback="Return to the $download_type management menu"
|
||||||
unset installed_items
|
unset installed_items
|
||||||
unset installed_item_names
|
unset installed_item_names
|
||||||
@ -1364,7 +1360,7 @@ download_select_install() {
|
|||||||
# Configure the menu
|
# Configure the menu
|
||||||
menu_text_zenity="Select the $download_type you want to install:"
|
menu_text_zenity="Select the $download_type you want to install:"
|
||||||
menu_text_terminal="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"
|
goback="Return to the $download_type management menu"
|
||||||
unset menu_options
|
unset menu_options
|
||||||
unset menu_actions
|
unset menu_actions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user