Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Prompt for Rosetta on fresh M1 macs #609

Closed
Tracked by #756
coolaj86 opened this issue May 19, 2023 · 3 comments
Closed
Tracked by #756

[enhancement] Prompt for Rosetta on fresh M1 macs #609

coolaj86 opened this issue May 19, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@coolaj86
Copy link
Member

coolaj86 commented May 19, 2023

When we fallback to x64 on Apple M1 we should check if rosetta is installed / prompt to install it:

# See <https://apple.stackexchange.com/q/427970/27465>
if ! arch -arch x86_64 uname -m > /dev/null 2>&1; then
    webi_prompt "Install Rosetta 2? (ctrl+c to cancel, any key to continue)"
    softwareupdate --install-rosetta --agree-to-license
fi

See also https://apple.stackexchange.com/a/427996

@ryanburnette
Copy link
Member

What if I want to run my term as arm64?

@coolaj86
Copy link
Member Author

There's a probably a way to have it run only for fallback arch.

@coolaj86 coolaj86 added the enhancement New feature or request label Oct 12, 2023
@coolaj86
Copy link
Member Author

This is available as part of #768, but not on-by-default. We'll wait for #756 for that.

Closing here and leaving as a checkmark in #756.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants