Skip to content

Commit

Permalink
fix(mac): Pass platformName and options in doPack (#5511)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder authored Jan 15, 2021
1 parent dc5c2f8 commit f78e3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
protected async doPack(outDir: string, appOutDir: string, platformName: ElectronPlatformName, arch: Arch, platformSpecificBuildOptions: MacConfiguration, targets: Array<Target>): Promise<any> {
switch (arch) {
default: {
return super.doPack(outDir, appOutDir, this.platform.nodeName as ElectronPlatformName, arch, this.platformSpecificBuildOptions, targets);
return super.doPack(outDir, appOutDir, platformName, arch, platformSpecificBuildOptions, targets);
}
case Arch.universal: {
const x64Arch = Arch.x64;
Expand Down

0 comments on commit f78e3f4

Please sign in to comment.