Electorrent icon indicating copy to clipboard operation
Electorrent copied to clipboard

Universal architecture, Apple Silicon/m1 support

Open romanr opened this issue 1 year ago • 2 comments

Client: N/a

Client Version: N/a Operating System: N/a Application Version: 2.8.3

Description:

Currently requires Rosetta intel cpu emulation to run. Since Electron supports building a universal binary, would it be possible to make Electorrent support it?

image

romanr avatar Sep 02 '23 10:09 romanr

I was able to build it for arm64. I didn't dig into universal binary because it requires extra efforts and I didn't want to.

If you want to build your own, make sure you have nodejs installed with homebrew/macports first, and then follow the following commands:

git clone https://github.com/tympanix/Electorrent.git
cd Electorrent
npm install
npm run dist

You can find the arm64 binary at dist/mac-arm64/Electorrent.

eatyourbaby avatar Oct 02 '23 18:10 eatyourbaby

I was able to build it for arm64. I didn't dig into universal binary because it requires extra efforts and I didn't want to.

If you want to build your own, make sure you have nodejs installed with homebrew/macports first, and then follow the following commands:

git clone https://github.com/tympanix/Electorrent.git
cd Electorrent
npm install
npm run dist

You can find the arm64 binary at dist/mac-arm64/Electorrent.

I get just the 'mac' subfolder, not the mac-arm64. Any config I miss?

airart320 avatar May 25 '24 17:05 airart320