File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 22
33MACOS_VER_MAJOR=$( uname -r | cut -f 1 -d .)
44
5- MSG=" Please use an alternative build for macOS older than 13, available at:
5+ req_macos_arm64=14
6+ req_darwin_arm64=23
7+
8+ req_macos_x86_64=13
9+ req_darwin_x86_64=22
10+
11+ if [ " $( uname -m) " = arm64 ]; then
12+ req_macos=$req_macos_arm64
13+ req_darwin=$req_darwin_arm64
14+ else
15+ req_macos=$req_macos_x86_64
16+ req_darwin=$req_darwin_x86_64
17+ fi
18+
19+ MSG=" Please use an alternative build for macOS older than ${req_macos:? } , available at:
620https://github.com/CESNET/UltraGrid/releases/download/continuous/UltraGrid-nightly-alt.dmg"
721
8- if [ " $MACOS_VER_MAJOR " -lt 22 ]; then
22+ if [ " $MACOS_VER_MAJOR " -lt " ${req_darwin :? } " ]; then
923 BASENAME=$( basename " $0 " )
1024 if [ " $BASENAME " = uv-qt ]; then
1125 osascript -e " tell application \" SystemUIServer\"
You can’t perform that action at this time.
0 commit comments