From 95bc93d7f5eaf24757866efdecd0f6d31643653b Mon Sep 17 00:00:00 2001 From: aclist Date: Sat, 13 May 2023 01:01:41 +0900 Subject: [PATCH] fix: Do not enforce wmctrl on stable branch --- dzgui.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index e051109..8515014 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.2.16 +version=3.2.17 aid=221100 game="dayz" @@ -88,9 +88,9 @@ depcheck(){ done } watcher_deps(){ - if [[ ! $(command -v wmctrl) ]] || [[ ! $(command -v xdotool) ]]; then + if [[ ! $(command -v wmctrl) ]] && [[ ! $(command -v xdotool) ]]; then echo "100" - warn "Missing dependency: requires 'wmctrl' and 'xdotool'.\nInstall from your system's package manager." + warn "Missing dependency: requires 'wmctrl' or 'xdotool'.\nInstall from your system's package manager." exit 1 fi }