Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Created April 22, 2016 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nmcspadden/b4471f157888c72f059668b1f08d74df to your computer and use it in GitHub Desktop.
Save nmcspadden/b4471f157888c72f059668b1f08d74df to your computer and use it in GitHub Desktop.
Steps to create a package to install the Tableau Registration plist and script
mkdir -p /tmp/tableauregister/Library/LaunchAgents
mkdir -p /tmp/tableauregister/usr/local/libexec
cp tableau_register.py /tmp/tableauregister/usr/local/libexec/
cp com.facebook.tableauregister.plist /tmp/tableauregister/Library/LaunchAgents/
chmod 644 /tmp/tableauregister/Library/LaunchAgents/com.facebook.tableauregister.plist
chmod 755 /tmp/tableauregister/usr/local/libexec/tableau_register.py
pkgbuild --root /tmp/tableauregister --identifier "com.facebook.tableau.register" --version 1.0 tableauregister.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment