From dab08db2b9688aaa20fb30ca4f81cc59a8db99aa Mon Sep 17 00:00:00 2001 From: yofukashino Date: Sat, 19 Oct 2024 05:16:44 +0530 Subject: [PATCH] refractor --- scripts/inject/injector.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inject/injector.mts b/scripts/inject/injector.mts index f05894223..2fbeced6b 100644 --- a/scripts/inject/injector.mts +++ b/scripts/inject/injector.mts @@ -272,7 +272,7 @@ export const smartInject = async ( }); break; case "darwin": - openProcess(`open -a "${join(appDir, "..", "..", "..")}"`); + openProcess(`open -a "${processName}.app"`); break; } }