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

The install script is not very accurate on checking versions of mac #270

Open
ghost-not-in-the-shell opened this issue Jul 30, 2021 · 0 comments

Comments

@ghost-not-in-the-shell
Copy link

Describe the bug
The install script for genesis is reporting that my mac is older than 10.13 while my mac is actually 11.2. I took a look into the script it seems like the version check against macos only checks whether the minor version is less than 13:

    if check_cmd sw_vers; then
        if [ "$(sw_vers -productVersion | cut -d. -f2)" -lt 13 ]; then
            # Older than 10.13
            echo "Warning: Detected OS X platform older than 10.13"
           exit 1

Another thing is that after I manually changed this part to bypass the version check, the script still didn't work successfully. It just hang there without any error message and stuck for an hour now. Is it because mac 11.2 is not compatible?

To Reproduce
Steps to reproduce the behavior:

  1. Find a mac with 11.*
  2. Try the install script
  3. See error

Desktop (please complete the following information):

  • OS: [MacOs]
  • Version [11.2]
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

No branches or pull requests

1 participant