From 853f190efedb5eb7f78fd9b1f5cff38abcc6f2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Wed, 19 Oct 2022 03:03:21 +0100 Subject: [PATCH] Update install-uvtools.sh --- Scripts/install-uvtools.sh | 2 ++ 1 file changed, 2 insertions(+) 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