Skip to content

Instantly share code, notes, and snippets.

@rickychilcott
Last active October 26, 2021 23:45
Show Gist options
  • Save rickychilcott/6195984 to your computer and use it in GitHub Desktop.
Save rickychilcott/6195984 to your computer and use it in GitHub Desktop.
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
Copy link

Ah, DigiShoeTool, how I loathe thee.

@rickychilcott
Copy link
Author

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