From 5bf5fb70797639456f6f371f29c0c18f4b9ef0a8 Mon Sep 17 00:00:00 2001 From: milosbugarinovic Date: Mon, 19 Jun 2023 18:47:18 +0200 Subject: [PATCH] fix app recognition issue of intellij in ubuntu --- client/src/main/execute/system.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/execute/system.ts b/client/src/main/execute/system.ts index 1ee6229..9767eff 100644 --- a/client/src/main/execute/system.ts +++ b/client/src/main/execute/system.ts @@ -53,8 +53,6 @@ export default class System { const result = (await driver.getActiveApplication()).toLowerCase(); if (result === "system dialog") { return "system dialog"; - } else if (result.includes("atom")) { - return "atom"; } else if ( result.includes("visualstudiocode") || result.includes("visual studio code") || @@ -102,6 +100,8 @@ export default class System { return "terminal"; } else if (result.includes("slack")) { return "slack"; + } else if (result.includes("atom")) { + return "atom"; } else if (result.includes("electron") || result.includes("serenade")) { return "serenade"; }