mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-09 22:08:13 -05:00
...
This commit is contained in:
@@ -420,6 +420,15 @@ else
|
||||
return 1 # No display server → headless
|
||||
fi
|
||||
|
||||
if pgrep -x vncserver >/dev/null 2>&1 || \
|
||||
pgrep -x Xvnc >/dev/null 2>&1 || \
|
||||
pgrep -x x11vnc >/dev/null 2>&1 || \
|
||||
pgrep -x Xtightvnc >/dev/null 2>&1 || \
|
||||
pgrep -x Xtigervnc >/dev/null 2>&1 || \
|
||||
pgrep -x Xrealvnc >/dev/null 2>&1; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
if pgrep -x gnome-shell >/dev/null 2>&1 || \
|
||||
pgrep -x plasmashell >/dev/null 2>&1 || \
|
||||
pgrep -x xfce4-session >/dev/null 2>&1 || \
|
||||
@@ -550,11 +559,6 @@ PLIST
|
||||
open_gui
|
||||
}
|
||||
|
||||
function linux_app {
|
||||
# Linux desktop entry creation goes here
|
||||
return 0
|
||||
}
|
||||
|
||||
function linux_app() {
|
||||
local DESKTOP_FILE="$HOME/.local/share/applications/ebook2audiobook.desktop"
|
||||
local ICON_PATH="$APP_ROOT/tools/icons/linux/appIcon"
|
||||
|
||||
Reference in New Issue
Block a user