Skip to content

Commit fc31199

Browse files
committed
fix(pkg): support electron 7
1 parent 1b3e727 commit fc31199

File tree

1 file changed

+1
-2
lines changed
  • packages/app-builder-lib/src/targets

1 file changed

+1
-2
lines changed

packages/app-builder-lib/src/targets/pkg.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class PkgTarget extends Target {
124124
])
125125

126126
// process the template plist
127-
const plistInfo = (await executeAppBuilderAsJson<Array<any>>(["decode-plist", "-f", propertyListOutputFile]))[0]
127+
const plistInfo = (await executeAppBuilderAsJson<Array<any>>(["decode-plist", "-f", propertyListOutputFile]))[0].filter((it: any) => it.RootRelativeBundlePath !== "Electron.dSYM")
128128
if (plistInfo.length > 0) {
129129
const packageInfo = plistInfo[0]
130130

@@ -155,7 +155,6 @@ export class PkgTarget extends Target {
155155
// now build the package
156156
const args = [
157157
"--root", rootPath,
158-
"--identifier", this.packager.appInfo.id,
159158
"--component-plist", propertyListOutputFile,
160159
]
161160

0 commit comments

Comments
 (0)