diff options
author | 0neGal <mail@0negal.com> | 2024-04-30 21:54:01 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-04-30 21:54:01 +0200 |
commit | 7d9ee3a1276cf744d1a5ecd0e1bc53d61dc05935 (patch) | |
tree | 29bce127b2ffd17afc607344041f7a2ea7081f4a /src/modules/kill.js | |
parent | 9b14fcb19784945ab0377ecaf731e53893260276 (diff) | |
download | Viper-7d9ee3a1276cf744d1a5ecd0e1bc53d61dc05935.tar.gz Viper-7d9ee3a1276cf744d1a5ecd0e1bc53d61dc05935.zip |
fixed killing EA Desktop at times failing on Linux
Pesky EA Desktop being annoying as always, leaving behind processes, to be
fair, I don't exactly think you're supposed to be killing it it like
this, but oh well, it seems to function now.
Diffstat (limited to 'src/modules/kill.js')
-rw-r--r-- | src/modules/kill.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/kill.js b/src/modules/kill.js index 43eda23..5d03218 100644 --- a/src/modules/kill.js +++ b/src/modules/kill.js @@ -33,6 +33,12 @@ kill.origin = async () => { let origin = await kill("Origin.exe"); let eadesktop = await kill("EADesktop.exe"); + // these should be Linux only, and the above shouldn't succeed if + // these don't succeed, so we shouldn't have to check whether these + // actually succeeded or not + await kill("CrBrowserMain"); + await kill("EABackgroundSer"); + if (origin || eadesktop) { return true; } |