Skip to content

Instantly share code, notes, and snippets.

@macmule
Created November 24, 2021 22:19
Show Gist options
  • Select an option

  • Save macmule/600257558e398350fec17c35e89281e8 to your computer and use it in GitHub Desktop.

Select an option

Save macmule/600257558e398350fec17c35e89281e8 to your computer and use it in GitHub Desktop.
#!/bin/sh
####################################################################################################
#
# License: https://macmule.com/license/
#
####################################################################################################
#Check to see if Adobe Unit Types is installed
if [ -d /Library/ScriptingAdditions/Adobe\ Unit\ Types.osax ];
then
result="$(defaults read /Library/ScriptingAdditions/Adobe\ Unit\ Types.osax/Contents/Info CFBundleVersion)"
echo "$result"
else
echo "Not installed"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment