Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Patch electron-builder to support universal binaries on Mac #803

Merged
merged 2 commits into from
Mar 22, 2021

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Mar 21, 2021

Overview

When building the Mac App Store package we produce a universal binary (#793.). Unfortunately we get an error when we attempt to include our Safari extension, since it has already been compiled as a universal-binary. Compiling two separate binaries for the extension likewise produces another error. There is an open issue in electron-builder, electron-userland/electron-builder#5552.

However in the meantime this PR will patch electron-builder using patch-package to handle our use case.

@Hinton Hinton requested a review from cscharf March 21, 2021 18:19
@cscharf
Copy link
Contributor

cscharf commented Mar 22, 2021

@Hinton , please add a card to Asana for tech-debt cleanup of this item once upstream issues are resolved/merged in and we can update electron-builder accordingly.

@Hinton Hinton merged commit 29c1007 into master Mar 22, 2021
@Hinton Hinton deleted the hotfix/resolve-electron-builder-universal branch March 22, 2021 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants