|
|
@ -56,12 +56,10 @@ if [ "$(uname | grep -i 'Darwin')" ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# OS X (10) and macOS (11) should be supported |
|
|
|
|
|
|
|
if [ "$OSX_MAJOR" -gt 11 ]; then |
|
|
|
echo "WARNING: macOS 12+ may or may not be supported" |
|
|
|
fi |
|
|
|
# Mavericks+ works for all current macOS versions |
|
|
|
OS='mavericks' |
|
|
|
|
|
|
|
if [[ "$OSX_MAJOR" -eq 10 ]]; then |
|
|
|
# |
|
|
|
# Minor |
|
|
|
# |
|
|
@ -84,10 +82,12 @@ if [ "$(uname | grep -i 'Darwin')" ]; then |
|
|
|
if [ "$OSX_MINOR" -eq 8 ]; then |
|
|
|
OS='mountain' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# Mavericks, Yosemite |
|
|
|
if [ "$OSX_MINOR" -ge 9 ]; then |
|
|
|
OS='mavericks' |
|
|
|
# OS X (10) and macOS (11) should be supported |
|
|
|
|
|
|
|
if [ "$OSX_MAJOR" -gt 11 ]; then |
|
|
|
echo "WARNING: macOS 12+ may or may not be supported" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -n "$(sysctl hw | grep 64bit | grep ': 1')" ]; then |
|
|
|