aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-04-30 21:51:06 +0200
committer0neGal <mail@0negal.com>2024-04-30 21:51:06 +0200
commit9b14fcb19784945ab0377ecaf731e53893260276 (patch)
tree0d6cea38a7098fa16fb343f5280e794cf5e7bb86
parent02cee6f11f5ac3ff86686340f526b82fd97e6e95 (diff)
downloadViper-9b14fcb19784945ab0377ecaf731e53893260276.tar.gz
Viper-9b14fcb19784945ab0377ecaf731e53893260276.zip
fixed game sometimes not shown as running on Linux
This didn't happen in all cases, so it took me until randomly discovering it recently, for me to actually realize there was a problem, and then subsequently fixing it.
-rw-r--r--src/modules/is_running.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/is_running.js b/src/modules/is_running.js
index b9fbde1..9e45574 100644
--- a/src/modules/is_running.js
+++ b/src/modules/is_running.js
@@ -25,7 +25,7 @@ async function check_processes(processes) {
// thing. And it's not much more clunky.
let cmd = (() => {
switch (process.platform) {
- case "linux": return "ps a";
+ case "linux": return "ps aux";
case "win32": return "tasklist";
}
})();