Skip to content

Instantly share code, notes, and snippets.

/gist:7346191
Created Nov 6, 2013

Embed
What would you like to do?
#!/bin/sh
if [ -d /Library/Internet\ Plug-Ins/Flash\ Player.plugin ]; then
FlashPluginVersion=`/usr/bin/defaults read /Library/Internet\ Plug-Ins/Flash\ Player.plugin/Contents/Info CFBundleVersion`
echo "<result>$FlashPluginVersion</result>"
else
echo "<result>Not found</result>"
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.