mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-16 06:40:35 +00:00
Compare commits
No commits in common. "2343bfb7338cbba07f20a3c362badef0486f27b6" and "0d90486527a151fd8e16878105136dc301770ba3" have entirely different histories.
2343bfb733
...
0d90486527
@ -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="26"
|
menu_option_height="25"
|
||||||
|
|
||||||
######## Bundled Files #####################################################
|
######## Bundled Files #####################################################
|
||||||
|
|
||||||
@ -894,15 +894,19 @@ 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)" ] && flatpak list --app | grep -q Lutris; then
|
if [ -x "$(command -v flatpak)" ]; 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
|
||||||
@ -1029,7 +1033,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="60"
|
menu_text_height="65"
|
||||||
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
|
||||||
@ -1360,7 +1364,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="60"
|
menu_text_height="65"
|
||||||
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