tilmanginzel / alfred-bluetooth-workflow

Yet another Alfred workflow to connect / disconnect Bluetooth devices
MIT License
189 stars 8 forks source link

the new compiled blueutil is only compatible on M1 soc? #28

Closed kopinions closed 3 years ago

hoanghua commented 3 years ago

Upgrading to version 0.11.1 fixes the issue "Bad CPU type in executable" for me. The workflow is back to normal now.

tilmanginzel commented 3 years ago

Hi @kopinions, @hoanghua, yes. Version 0.11.1 fixed the issue, see #26 #27.

spearkkk commented 1 year ago
Screen Shot 2022-10-09 at 19 58 59 Screen Shot 2022-10-09 at 19 58 55

@tilmanginzel Hi, I got the same error, Could you check for this? Thank you!

tilmanginzel commented 1 year ago

Hi @spearkkk, that is strange. Are you on M1 or Intel CPU? The blueutil binary was compiled on Intel, so it should also work on M1 with Rosetta.

spearkkk commented 1 year ago

@tilmanginzel I used M2 and i didnt install Rosetta. Could I need to install Rosetta?

tilmanginzel commented 1 year ago

@spearkkk Ah I see, then that's the root cause. I guess you have two options now:

  1. Install Rosetta, or if you don't want to do that
  2. Compile a blueutil binary on your laptop and replace it in the workflow folder
spearkkk commented 1 year ago

@tilmanginzel Thank you! I fixed it. :D