From 5281804d6e3cdf51e225ec4a2a9425ba05464294 Mon Sep 17 00:00:00 2001 From: Robert Manolea Date: Sun, 27 Jan 2019 13:42:05 +0100 Subject: [PATCH] Fix macOS issue --- util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.js b/util.js index a4a36de..7c032bf 100644 --- a/util.js +++ b/util.js @@ -6,7 +6,7 @@ module.exports.getLCUPathFromProcess = () => { return new Promise(resolve => { const command = IS_WIN ? `WMIC PROCESS WHERE name='LeagueClientUx.exe' GET ExecutablePath` : - `ps x -o comm= | grep 'LeagueClientUx'`; + `ps x -o comm= | grep 'LeagueClientUx$'`; cp.exec(command, (err, stdout, stderr) => { if (err || !stdout || stderr) {