aviaryan / alfred-clc

Powerful Calculator for Alfred

Home Page:https://www.alfredforum.com/topic/10652-clc-powerful-calculator-for-alfred/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clc fails to get insect path for Macs with Apple silicon processors

nik312123 opened this issue · comments

For Macs with Apple silicon processors (e.g. M1, M1 Max), the Homebrew prefix has changed from /usr/local to /opt/homebrew. This causes clcto break when trying to useinsect`.

I have made a pull request that dynamically detects and selects the correct Homebrew prefix so the correct insect binary can be chosen.