mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
Update install-uvtools.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user