diff --git a/packages/app-builder-lib/src/electron/electronMac.ts b/packages/app-builder-lib/src/electron/electronMac.ts index 846d5aa971a..f059e387402 100644 --- a/packages/app-builder-lib/src/electron/electronMac.ts +++ b/packages/app-builder-lib/src/electron/electronMac.ts @@ -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 }