Skip to content

Commit

Permalink
fix(pkg): support electron 7
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Oct 23, 2019
1 parent 1b3e727 commit fc31199
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/app-builder-lib/src/targets/pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class PkgTarget extends Target {
])

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

Expand Down Expand Up @@ -155,7 +155,6 @@ export class PkgTarget extends Target {
// now build the package
const args = [
"--root", rootPath,
"--identifier", this.packager.appInfo.id,
"--component-plist", propertyListOutputFile,
]

Expand Down

0 comments on commit fc31199

Please sign in to comment.