Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Allow a Rosetta download for macos/Apple Silicon #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

offbyone
Copy link

Fixes #1

# we overwrite the architecture
if [ $platform = "macos" -a $architecture = "armv7" ]; then
echo "Exa does not have Apple Silicon releases yet. See https://github.com/nyrst/asdf-exa/issues/1"
architecture="x86_64"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for this, I admit that I forgot about this after briefly trying to fetch a binary from homebrew but this needs other tools to work correctly (for example jq to parse the json file from homebrew and fetch the correct file etc...)

Anyway, I think we should just exit here instead of setting the architecture and let the program fo forward. What do you think about this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd need this patch anyway because I specifically want to install exa on my ARM macbook :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apple Silicon Support
2 participants