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:
parent
6a2edc0929
commit
2b71af1e2f
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue