This commit is contained in:
unknown
2025-11-12 15:13:34 -08:00
parent 0d850a8460
commit 645cb896c9

View File

@@ -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"