aboutsummaryrefslogtreecommitdiff
path: root/src/modules/is_running.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-05-02 14:58:30 +0200
committerGitHub <noreply@github.com>2024-05-02 14:58:30 +0200
commit1c1e8fb730b9974cd9b8060499773b0f37ff28d2 (patch)
tree3bac286b35094a95959239b13529614ca3f3d990 /src/modules/is_running.js
parentddc833dc35e38fa738b21acec86fede32723c1db (diff)
parent4a336698e248351e51d7976081f564044f9acd1b (diff)
downloadViper-1c1e8fb730b9974cd9b8060499773b0f37ff28d2.tar.gz
Viper-1c1e8fb730b9974cd9b8060499773b0f37ff28d2.zip
Merge branch 'main' into linux-launch-v2
Diffstat (limited to 'src/modules/is_running.js')
-rw-r--r--src/modules/is_running.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/is_running.js b/src/modules/is_running.js
index b9fbde1..e2a2d96 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";
}
})();
@@ -53,7 +53,9 @@ is_running.game = () => {
is_running.origin = () => {
return check_processes([
"Origin.exe",
- "EADesktop.exe"
+ "EADesktop.exe",
+ "CrBrowserMain",
+ "EABackgroundSer"
])
}