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

Missing information how to build for arm64 and x64 #5962

Closed
sebastianrath opened this issue Jun 15, 2021 · 2 comments
Closed

Missing information how to build for arm64 and x64 #5962

sebastianrath opened this issue Jun 15, 2021 · 2 comments

Comments

@sebastianrath
Copy link

sebastianrath commented Jun 15, 2021

  • Version: 22.11.7
  • Electron Version: 13.1.2
  • Electron Type (current, beta, nightly): current
  • Electron-updater: 4.3.9
  • Target: Mac arm64 & x64

Description

I'm building an Electron app on Mac for arm64 and x64. There are 2 options for bundling. Could anyone help out with either or both of them?

  1. Fat/Universal build
  • Advantages: One file to rule them all
  • Problem: There is no documentation how to build an Electron app for universal arch.
  1. Seperate build
  • Advantage 1: Smaller app bundle
  • Problem: There is no documentation about how to use it with electron-updater. I've two build machines (arm64 and x64) and both would overwrite each others latest-mac.yml. Are there any insights to this topic how to have one latest-mac.yml with both architectures?
@sebastianrath sebastianrath changed the title Missing information in documentation how to build for arm64 and x64 Missing information how to build for arm64 and x64 Jun 15, 2021
@mmaietta
Copy link
Collaborator

mmaietta commented Jun 16, 2021

Regarding 1: This post has info on how to configure for --universal via CLI and in electron-builder.js config
#5689 (comment)

@sebastianrath
Copy link
Author

That solved my issue! Thanks!

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

No branches or pull requests

2 participants