tympanix / Electorrent

A remote control client for µTorrent, qBittorrent, rTorrent, Transmission, Synology & Deluge
GNU General Public License v3.0
1.02k stars 84 forks source link

Universal architecture, Apple Silicon/m1 support #336

Open romanr opened 1 year ago

romanr commented 1 year ago

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
eatyourbaby commented 11 months ago

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.

airart320 commented 3 months ago

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?