fix: restrictive exe search

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

No files matched your search

+2 -2
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
+1 -1
View File
@@ -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 = {}