Is your feature request related to a problem? Please describe.
Sometimes we have two copies of Homebrew (one for ARM64, one for Rosetta). Currently in the code binaries are searched with both /usr/local and /opt/homebrew and this causes Intel binaries to be executed under ARM64 system.
Is your feature request related to a problem? Please describe.
Sometimes we have two copies of Homebrew (one for ARM64, one for Rosetta). Currently in the code binaries are searched with both
/usr/local
and/opt/homebrew
and this causes Intel binaries to be executed under ARM64 system.Describe the solution you'd like
Add checks for arch and do not use the wrong path
Describe alternatives you've considered
No response
Additional context
No response