subdavis / kobo-book-downloader

A tool to download and remove DRM from your purchased Kobo.com ebooks and audiobooks.
https://pypi.org/project/kobodl/
The Unlicense
348 stars 33 forks source link

macOS Sequoia 15.1.0 on Intel Mac error: zsh: bad CPU type in executable: ./kobodl-macos #126

Open crenelle opened 1 week ago

crenelle commented 1 week ago

Before you open an issue Please make sure you've upgraded to the latest version of kobodl on pypi or docker. Also read through the troubleshooting guide. Try running with --debug enabled and see what comes up in the debug log.

Do not erase this template, it's here to help you.

Describe the issue Downloaded and installed kobodl (see To Reproduce). Executed ./kobodl-macos saw error: zsh: bad CPU type in executable: ./kobodl-macos

To Reproduce Steps to reproduce the behavior:

MacOS (Catalina 10.15 or newer required. For older versions, use the pip or docker install option)

brew install wget wget https://github.com/subdavis/kobo-book-downloader/releases/latest/download/kobodl-macos chmod +x kobodl-macos ./kobodl-macos

Expected behavior kobodl would run

Screenshots App never ran.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

subdavis commented 1 week ago

You should be able to get around this by installing Rosetta.

softwareupdate --install-rosetta

If that works, I'll add it to the docs.

crenelle commented 1 week ago

I'm running this on a 2019 16" Intel MacBook Pro, running Sequoia 15.1.0. Correct me if I'm wrong, my understanding of Rosetta 2 is that it enables M-series Macs to run apps built for Intel processors, not the other way around. Is Kobodl built for Intel, Apple M-Series, or is it a universal build?