Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Electron to support Apple Silicon (M1) #376

Merged
merged 2 commits into from
Jul 6, 2021

Conversation

manosim
Copy link
Contributor

@manosim manosim commented Jul 5, 2021

The Problem

The current version (as in our package.json) of electron does not support Apple Silicon (M1) so if you try to run yarn install, you will get the error shown in the screenshot below. It basically says that there is no arm64 release for electron v9.

Screenshot 2021-07-05 at 13 36 58

Solution

I've updated the version of electron to the latest which also supports arm64. Screenshot below was taken once I updated electron.

Ps. I also had to disable contextIsolation which is now enabled by default (as of electron v12).

Screenshot 2021-07-05 at 13 40 48

Copy link
Contributor

@ValGeorgiev ValGeorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this! Lets ship it

Copy link
Contributor

@wgolledge wgolledge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :)

Copy link
Collaborator

@andyrichardson andyrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@manosim manosim merged commit 7b897ce into master Jul 6, 2021
@manosim manosim deleted the update-electron branch July 6, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants