Mac install fixes, more internal use scripts.

This commit is contained in:
Adam Ierymenko 2014-01-08 23:12:03 -08:00
commit 3482d836ae
11 changed files with 38 additions and 43 deletions

View file

@ -23,7 +23,7 @@ if [ $dryRun -gt 0 ]; then
fi
zthome="/Library/Application Support/ZeroTier/One"
ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne'`
ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne' | sort | head -n 1`
if [ ! -d "$ztapp" ]; then
ztapp="/Applications/ZeroTier One.app"
fi