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

Rosetta detection and support added #12

Merged
merged 3 commits into from
Feb 21, 2022
Merged

Conversation

amatsegor
Copy link
Contributor

No description provided.

${System.getHardwareInfo() ?: ""}
Using Rosetta 2: ${if (System.isUsingRosetta) "Yes" else "No"}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add a separate message with info level in case Rosetta is used and nothing if it is not.

BTW what are a possible consequences for the end user if rosetta is enabled? Are any changes in configuration required in that case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree, a separate info message makes more sense.
I thought it would be nice to know since at least you can't install anything using Homebrew under Rosetta. But as far as I remember, nothing too KMM-specific.

Copy link
Contributor

@vkormushkin vkormushkin left a comment

Choose a reason for hiding this comment

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

Looks good, thanks

@vkormushkin vkormushkin merged commit 5c745d5 into Kotlin:master Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants