1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-09-06 05:32:26 +02:00

fix: restrictive exe search

This commit is contained in:
aclist 2024-02-01 05:37:01 +09:00
parent 6a2edc0929
commit 2b71af1e2f
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version=5.0.1
version=5.0.2
#CONSTANTS
aid=221100
@ -1227,7 +1227,7 @@ concat_mods(){
done | tr -d '\n' | perl -ple 'chop'
}
is_dayz_running(){
local proc=$(ps aux | grep "DayZ.*\.exe" | grep -v grep)
local proc=$(ps aux | grep "DayZ_x64.exe" | grep -v grep)
if [[ -n $proc ]]; then
echo 1
else