Installer icon indicating copy to clipboard operation
Installer copied to clipboard

[Feature] Native Apple silicon build support

Open wytsai7660 opened this issue 1 year ago • 14 comments

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.

wytsai7660 avatar Apr 20 '24 13:04 wytsai7660

If the discord app runs natively on Apple Silicon, BetterDiscord will, too. The installer runs on electron. Just like discord itself.

GH0STP4WZ avatar Apr 20 '24 14:04 GH0STP4WZ

And yet, installer requires you to install rosetta =\

Stvad avatar Jul 17 '24 01:07 Stvad

I'm not sure what that is, but the CLI installer should work perfectly fine if the GUI installer doesn't work for you.

GH0STP4WZ avatar Jul 17 '24 05:07 GH0STP4WZ

I run the GUI installer on my M1 mac without anything else.

zerebos avatar Jul 17 '24 05:07 zerebos

Yup. Still built as x86. Is this planned? Screenshot 2024-07-26 at 20 04 23

Kha1r0 avatar Jul 26 '24 18:07 Kha1r0

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.

GH0STP4WZ avatar Jul 26 '24 18:07 GH0STP4WZ

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.

Stvad avatar Jul 26 '24 19:07 Stvad

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.

GH0STP4WZ avatar Jul 26 '24 23:07 GH0STP4WZ

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.

Avakining avatar Jun 27 '25 23:06 Avakining

A universal build will be provided within this year, likely in the next month.

zerebos avatar Jun 28 '25 03:06 zerebos

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?

zudsniper avatar Jun 28 '25 21:06 zudsniper

You can build/run from the wails branch

zerebos avatar Jun 29 '25 22:06 zerebos

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.

zudsniper avatar Jul 13 '25 22:07 zudsniper

The wails branch is not finished yet. I do not believe it will be available on any proper repositories for a while.

GH0STP4WZ avatar Jul 13 '25 22:07 GH0STP4WZ