Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmcspadden/b1887b5d257ea26db29a to your computer and use it in GitHub Desktop.
Save nmcspadden/b1887b5d257ea26db29a to your computer and use it in GitHub Desktop.
#!/bin/bash
temppath="$(mktemp -d -t AdobeMuse)"
/bin/mkdir -p "$temppath/Library/Preferences/Adobe/Adobe Muse CC/2015.0/"
/bin/cp helloPrefStore.xml "$temppath/Library/Preferences/Adobe/Adobe Muse CC/2015.0/"
/bin/mkdir -p "$temppath/usr/local/outset/login-once"
/bin/chmod ugo+x AdobeMuseCCHelloPrefStore.sh
/bin/cp AdobeMuseCCHelloPrefStore.sh "$temppath/usr/local/outset/login-once/"
/bin/mkdir "scripts"
/bin/cp AdobeMuseCCHelloPrefStore.sh "scripts/postinstall"
/usr/bin/pkgbuild --root "$temppath" --identifier "org.sacredsf.adobe.muse.welcome" --scripts "scripts" --version 1.0 AdobeMuse-Welcome.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment