-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
How to force electron-updater to update to the x64 package on M1 Macs? #6851
Comments
Hi there! |
Yes correct! However I still want to publish an ARM64 version alongside my x86 version. I need M1 users, who are using the x86 version of the app to be able to continue using that version, rather than being upgraded to the ARM version, when both are available |
Sorry I think I'm not clear enough what this is for. Here's the situation with my app for more clarity:
This means That's why I need to force x86 only upgrades
Does that make more sense? |
Hmmm, in that case, I think a more simple solution is to create the update file for your purposes. What if we compile both binaries, but split in to separate steps? The 2nd run will generate the
In terms of the PR, I'm honestly not a fan of adding a specific macOS-only flag to the base updater class when it's only applicable to arm64 builds. |
@mmaietta The problem with this solution is that it would update all arm users to the latest x64 version, correct? The goal is to have arm binaries upgrade to arm and x64 binaries upgrade to x64. |
Hey folks,
Firstly, and as always -- thank you for maintaining electron-builder. I couldn't make an app solo without all of your amazing work.
I have a problem in that one of my dependencies (oracle's database instant client - c++ library) is not available for ARM64, only for x86_64.
I can deal with this in the app, but I need to have a way to make sure that users who install the x86 version can upgrade to the newest x86 version...even if they're on an M1 Mac and using Rosetta.
Right now the default behavior is to upgrade to the ARM64 version, which totally makes sense, except in this specific circumstance.
Ideally I'd like a way to override, this, is it possible? I looked at examples, but wasn't sure how to override the architecture for AutoUpdater
The text was updated successfully, but these errors were encountered: