From 01df2041a661c2a6cb419d9819035e1a8c11d8eb Mon Sep 17 00:00:00 2001 From: Flightless bird Date: Thu, 23 Dec 2021 15:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8app?= =?UTF-8?q?=E6=97=B6=E8=BD=AC=E4=B9=89=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/app-search/darwin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/app-search/darwin.ts b/src/core/app-search/darwin.ts index c50e08b..b3862b8 100644 --- a/src/core/app-search/darwin.ts +++ b/src/core/app-search/darwin.ts @@ -115,7 +115,7 @@ export default async (nativeImage: any) => { value: "plugin", desc: app.path, pluginType: "app", - action: `open ${app.path.replace(" ", "\\ ") as string}`, + action: `open ${app.path.replace(/ /g, "\\ ") as string}`, keyWords: [appSubStr], };