Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My (working) attempt to get PT 11 to install successfully
#!/bin/bash
# Copy the com.avid.bsd.DigiShoeTool Helper Tool
PHT_DIGISHOETOOL="/Library/PrivilegedHelperTools/com.avid.bsd.DigiShoeTool"
/bin/cp "/Applications/Pro Tools.app/Contents/Library/LaunchServices/com.avid.bsd.DigiShoeTool" $PHT_DIGISHOETOOL
/usr/sbin/chown root:wheel $PHT_DIGISHOETOOL
/bin/chmod 544 $PHT_DIGISHOETOOL
# Create the Launch Deamon Plist for com.avid.bsd.DigiShoeTool
PLIST="/Library/LaunchDaemons/com.avid.bsd.DigiShoeTool.plist"
FULL_PATH="/Library/PrivilegedHelperTools/com.avid.bsd.DigiShoeTool"
rm $PLIST # Make sure we are idempotent
/usr/libexec/PlistBuddy -c "Add Label string" $PLIST
/usr/libexec/PlistBuddy -c "Set Label com.avid.bsd.DigiShoeTool" $PLIST
/usr/libexec/PlistBuddy -c "Add MachServices dict" $PLIST
/usr/libexec/PlistBuddy -c "Add MachServices:com.avid.bsd.DigiShoeTool bool" $PLIST
/usr/libexec/PlistBuddy -c "Set MachServices:com.avid.bsd.DigiShoeTool true" $PLIST
/usr/libexec/PlistBuddy -c "Add ProgramArguments array" $PLIST
/usr/libexec/PlistBuddy -c "Add ProgramArguments:0 string" $PLIST
/usr/libexec/PlistBuddy -c "Set ProgramArguments:0 $FULL_PATH" $PLIST
/bin/launchctl load $PLIST
@timsutton

This comment has been minimized.

Copy link

timsutton commented Aug 10, 2013

Ah, DigiShoeTool, how I loathe thee.

@rickychilcott

This comment has been minimized.

Copy link
Owner Author

rickychilcott commented Aug 12, 2013

Ha @timsutton! It's definitely required, but that Digi has changed it's role over time. From the PT 7 days: http://avid.force.com/pkb/articles/en_US/FAQ/en339777

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.