diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-08 23:12:03 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-08 23:12:03 -0800 |
commit | 3482d836ae20db67a136795b9495a9f4ffcde934 (patch) | |
tree | 43c056010ae60e19f6fb1dff0a5fe8ca907226df /ext/installfiles/mac/launch.sh | |
parent | 60731e6d02c4ebeb0700bc1c6a53261159049e01 (diff) | |
download | infinitytier-3482d836ae20db67a136795b9495a9f4ffcde934.tar.gz infinitytier-3482d836ae20db67a136795b9495a9f4ffcde934.zip |
Mac install fixes, more internal use scripts.
Diffstat (limited to 'ext/installfiles/mac/launch.sh')
-rwxr-xr-x | ext/installfiles/mac/launch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/installfiles/mac/launch.sh b/ext/installfiles/mac/launch.sh index dc7c2229..371b3f5d 100755 --- a/ext/installfiles/mac/launch.sh +++ b/ext/installfiles/mac/launch.sh @@ -2,7 +2,7 @@ zthome="/Library/Application Support/ZeroTier/One" export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$zthome" -ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne'` +ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne' | sort | head -n 1` # Clean all other stuff off the system if the user has trashed the .app if [ -z "$ztapp" -o ! -d "$ztapp" ]; then |