diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh index 4d2e53b..45354a2 100644 --- a/Scripts/install-uvtools.sh +++ b/Scripts/install-uvtools.sh @@ -28,6 +28,8 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then macOS_version="$(sw_vers -productVersion)" appDir="/Applications/UVtools.app" + echo "- Detected: $osVariant $arch_name" + if [ $(version $macOS_version) -lt $(version $macOS_least_version) ]; then echo "Error: Unable to install, UVtools requires at least macOS $macOS_least_version." exit -1