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], };