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

Universal MacOS binary #327

Open
Randomblock1 opened this issue Feb 20, 2023 · 3 comments
Open

Universal MacOS binary #327

Randomblock1 opened this issue Feb 20, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Randomblock1
Copy link

It's possible (and encouraged by Apple) to ship 1 binary that is native to both Intel and Apple chips. It's called a Universal binary. Anyway it should be pretty easy to enable despite being buried in the electron-builder documentation. Then you'll only need to distribute 1 DMG that supports both M1 and Intel. I'd do it myself but I don't have the time to test it, but it seems easy.

@Randomblock1 Randomblock1 added the enhancement New feature or request label Feb 20, 2023
@ganeshrvel
Copy link
Owner

The universal dmg file will be bulkier. A file transferring utility nearing 300mb is not ideal.

@Randomblock1
Copy link
Author

Usually it's not that big of a increase in size. It's not like including 2 copies, only parts of it. All the images/common stuff is shared, just the native binary is combined.

@mayankmetha
Copy link

Universal binaries are easier to manage than separate binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants