Skip to content

Commit

Permalink
fix(mac): Invalid Bundle Identifier Electron Helper (GPU, Plugin, and…
Browse files Browse the repository at this point in the history
… Rende… (#4154)

Close #4151
  • Loading branch information
gaodeng authored and develar committed Sep 23, 2019
1 parent 9a5b950 commit 2eabee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/electron/electronMac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export async function createMacApp(packager: MacPackager, appOutDir: string, asa
function configureHelper(helper: any, postfix: string) {
helper.CFBundleExecutable = `${appFilename} Helper ${postfix}`
helper.CFBundleDisplayName = `${appInfo.productName} Helper ${postfix}`
helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix}`
helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix.replace(/[^a-z0-9]/gim, "")}`
helper.CFBundleVersion = appPlist.CFBundleVersion
}

Expand Down

0 comments on commit 2eabee0

Please sign in to comment.