jely2002 / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
6.5k stars 454 forks source link

Apple sillicon native app (universal binary) #398

Open anonymousaga opened 2 years ago

anonymousaga commented 2 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like I would like this app to be natively compatible with m1 macs.

Describe alternatives you've considered Rosetta works just fine, but eventually, Rosetta is going to go away, so might as well make an apple silicon build.

StefanLobbenmeier commented 1 year ago

I gave this a shot at https://github.com/StefanLobbenmeier/youtube-dl-gui/tree/macos-universal-binary

but I could not figure out how to have a different name for arm and x64, not sure what I can configure to fix this.

Feel free to test this arm build though https://github.com/StefanLobbenmeier/youtube-dl-gui/releases/tag/untagged-b78fa4dbfdf856f0f7f0 (please also verify that it says Apple in activity monitor and not Intel)

anonymousaga commented 1 year ago

Thanks for trying, but it is still intel (activity monitor) & the main window doesn't launch anymore with your build.

StefanLobbenmeier commented 1 year ago

I see, worth a shot though :) maybe it will work after an electron upgrade or something like that, but apparently it is more effort than just specifying the architecture to be arm64. Thanks for testing ❤️

if anyone figures out how to do that feel free to pr my fork, I will gladly host a release of it there