chilli-axe / mpc-autofill

Print automation software (leveraging MakePlayingCards) for your tabletop gaming community
https://mpcautofill.github.io
GNU General Public License v3.0
206 stars 93 forks source link

M2 mac: bad CPU type in executable: /Users/name/Desktop/autofill-macos #247

Closed warronbebster closed 2 months ago

warronbebster commented 2 months ago

System

Affected Components

Description

Running the tool on M2 Macbook pro results in an error:

image

-

Steps to Reproduce

attempt to run the tool on macOS 14 with M2 Macbook Pro

ndepaola commented 2 months ago

thanks for letting me know about this - i'll look into how i need to reconfigure the build to support M2 macs. unfortunately i don't have one handy to test with.

in the meantime, you can work around this issue by running the source code directly rather than running the pre-built binary - instructions for this are in the wiki

warronbebster commented 2 months ago

For posterity, if you install rosetta it will work!

ndepaola commented 2 months ago

it looks like github actions supports x86 and ARM macOS runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-private-repositories

i'll update the build process to target both - there will be two macOS binaries in each release beginning from the next one 🚀