修复启动app时转义不全问题

This commit is contained in:
Flightless bird 2021-12-23 15:28:10 +08:00
parent ee4c8031c4
commit 01df2041a6

View File

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