diff --git a/fragments/labels/nditools.sh b/fragments/labels/nditools.sh new file mode 100644 index 000000000..9dfd7fcab --- /dev/null +++ b/fragments/labels/nditools.sh @@ -0,0 +1,9 @@ +nditools) + name="NDI Tools" + type="pkg" + appCustomVersion(){defaults read "/Applications/NDI Discovery.app/Contents/Info.plist" CFBundleShortVersionString} + downloadURL=$(curl -sIkL $(curl -fsL https://ndi.video/tools/ | grep -E "get.ndi.video|MacOS" | grep -B 1 "MacOS" | grep -o '"https.*"' | sort | tail -1 | sed 's/"//g') | grep -o "https.*pkg") + appNewVersion=$(curl -fsL https://ndi.video/tools/ | grep -o "Version [0-9].*[0-9]" | grep -o "[0-9].*[0-9]" | sort | tail -1) + expectedTeamID="W8U66ET244" + blockingProcesses=( "NDI Access Manager" "NDI Discovery" "NDI Launcher" "NDI Router" "NDI Scan Converter" "NDI Test Patterns" "NDI Video Monitor" "NDI Virtual Input" ) + ;;