[Feature] Native Apple silicon build support
Before Requesting
- [X] I found no existing issue matching my feature request
Describe the feature you'd like!
An available native Apple silicon build.
Anything else?
Currently, we still need to install Rosetta 2 in order for BetterDiscord to work.
If the discord app runs natively on Apple Silicon, BetterDiscord will, too. The installer runs on electron. Just like discord itself.
And yet, installer requires you to install rosetta =\
I'm not sure what that is, but the CLI installer should work perfectly fine if the GUI installer doesn't work for you.
I run the GUI installer on my M1 mac without anything else.
Yup. Still built as x86.
Is this planned?
It doesnt need that. The installer can run just fine under emulation or whatever apple uses to maintain compatibility. There is no need to change anything as BD itself already will work without modification. Discord is an electron app. Electron is not much different from your webbrowsers. There is no need to plan anythign here.
Many people including myself prefer to avoid having Rosetta (emulation layer) installed for a variety of reasons, so I had to do dev mode install here, as installer won't run without Rosetta.
Many people including myself prefer to avoid having Rosetta (emulation layer) installed for a variety of reasons, so I had to do dev mode install here, as installer won't run without Rosetta.
As I stated above
I'm not sure what that is, but the CLI installer should work perfectly fine if the GUI installer doesn't work for you.
The Rosetta 2 translation layer (used to translate apps compiled for Intel processors to ARM) will be going away after macOS 27 (released in 2026). In macOS 28 (released in the Fall of 2027), it will no longer be supported.
Thus, for the GUI installer to continue to support macOS, an Apple Silicon native version will be needed by late 2027.
A universal build will be provided within this year, likely in the next month.
Yo I found this issue right as you replied! haha. Is there as of now any way to get the binary running w/o Rosetta? can I build from source?
You can build/run from the wails branch
I was unable to get this to work @zerebos -- granted, I couldn't give it a ton of time. If we can get an apple silicon build added to the deployment workflow (and therefore the release files) that would be a lifesaver!
I mean, best case scenario is a native silicon version of betterdiscord on homebrew so i can just brew install betterdiscord, but that might be asking too much.
The wails branch is not finished yet. I do not believe it will be available on any proper repositories for a while.