-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Apple Silicon Universal Support #5475
Comments
Getting the universal package seems to work quite simply.
Native addons are spliced together into a "fat" file. Two things I don't know yet:
|
@mmaietta @develar How would this be initiated at command line?
Would it make sense to add an Another issue would be rolling off universal in the future. Is it possible to build |
There's actually already an Universal apps still require an x64 and arm64 build. I think electron-updater may require those separate builds as well, as opposed to the larger initial universal binary, I honestly don't know because I don't use it. It would make sense though from a user-perspective as they should only need to be downloading an arch-specific package. My plan is to just check if both mac x64 and arm64 builds are created, if so, also create a universal app. From my testing, the universal app "stitching" together took only a few seconds to complete, so the impact should be minimal. We just need to figure out the resign and an additional dmg/zip packing.
There's no need to by default as we also want to maintain backward compatibility, you should just manually specify an |
The goal is to avoid signing the The folder name for |
@mmaietta is it possible to configure |
This commit introduces a universal binary format in the distributed MDG files for macOS, improving support for both Apple Silicon (ARM) and Intel (x64) architectures. It uses `electron-builder` to package both architectures into a single executable, ensuring the application can natively on any macOS hardware without depending on the GitHub runners' architecture. It fixes the issue related to prior releases that supported only the architecture of the build environment itself, which is subject to change. Changes: - Update DMG distribution to include both ARM64 and x64 architectures. - Enhance system requirements documentation to reflect support for both architectures. - Modify CI/CD workflows to check desktop runtime errors for both ARM64 and x64 versions on macOS. Resolves: - Issue #348: Initial request for Apple Silicon support. - Issue #362: Correction of distribution limited to ARM64 in release 0.13.3. `electron-builder` support: - electron-userland/electron-builder#5475 - electron-userland/electron-builder#5689 - electron-userland/electron-builder#5426
This commit introduces a universal binary format in the distributed MDG files for macOS, improving support for both Apple Silicon (ARM) and Intel (x64) architectures. It uses `electron-builder` to package both architectures into a single executable, ensuring the application can natively on any macOS hardware without depending on the GitHub runners' architecture. It fixes the issue related to prior releases that supported only the architecture of the build environment itself, which is subject to change. Changes: - Update DMG distribution to include both ARM64 and x64 architectures. - Enhance system requirements documentation to reflect support for both architectures. - Modify CI/CD workflows to check desktop runtime errors for both ARM64 and x64 versions on macOS. Resolves: - Issue #348: Initial request for Apple Silicon support. - Issue #362: Correction of distribution limited to ARM64 in release 0.13.3. `electron-builder` support: - electron-userland/electron-builder#5475 - electron-userland/electron-builder#5689 - electron-userland/electron-builder#5426
Tracking Universal support from #5426.
See also electron/electron#26710 and electron/universal.
@mmaietta @quanglam2807 @elliottkember @devlar
The text was updated successfully, but these errors were encountered: