Skip to content

Commit 2eabee0

Browse files
gaodengdevelar
authored andcommitted
fix(mac): Invalid Bundle Identifier Electron Helper (GPU, Plugin, and Rende… (#4154)
Close #4151
1 parent 9a5b950 commit 2eabee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-builder-lib/src/electron/electronMac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export async function createMacApp(packager: MacPackager, appOutDir: string, asa
102102
function configureHelper(helper: any, postfix: string) {
103103
helper.CFBundleExecutable = `${appFilename} Helper ${postfix}`
104104
helper.CFBundleDisplayName = `${appInfo.productName} Helper ${postfix}`
105-
helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix}`
105+
helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix.replace(/[^a-z0-9]/gim, "")}`
106106
helper.CFBundleVersion = appPlist.CFBundleVersion
107107
}
108108

0 commit comments

Comments
 (0)