Merge pull request #75 from flightless-bird/mybranch

🐛  修复启动app时转义不全问题
This commit is contained in:
木偶
2021-12-24 11:32:25 +08:00
committed by GitHub

View File

@@ -115,7 +115,7 @@ export default async (nativeImage: any) => {
value: "plugin", value: "plugin",
desc: app.path, desc: app.path,
pluginType: "app", pluginType: "app",
action: `open ${app.path.replace(" ", "\\ ") as string}`, action: `open ${app.path.replace(/ /g, "\\ ") as string}`,
keyWords: [appSubStr], keyWords: [appSubStr],
}; };