mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
fix: restrictive exe search
This commit is contained in:
1 parent
6a2edc0929
commit
2b71af1e2f
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '')
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Gdk, GObject, Pango
|
||||
|
||||
# 5.0.1
|
||||
# 5.0.2
|
||||
app_name = "DZGUI"
|
||||
|
||||
cache = {}
|
||||
|
||||
Reference in new issue
Block a user