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
commit 7bebcf4d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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