Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Created June 22, 2015 22:35
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/636ae0cd9afaf2d35c77 to your computer and use it in GitHub Desktop.
Save nmcspadden/636ae0cd9afaf2d35c77 to your computer and use it in GitHub Desktop.
#!/bin/bash
temppath="$(mktemp -d -t AdobePreludePro)"
/bin/mkdir -p "$temppath/Library/Application Support/Adobe/Prelude/4.0/"
/bin/cp Adobe\ Prelude\ Prefs "$temppath/Library/Application Support/Adobe/Prelude/4.0/Adobe Prelude Prefs"
/bin/mkdir -p "$temppath/usr/local/outset/login-once"
/bin/chmod ugo+x AdobePreludeCCPrefs.sh
/bin/cp AdobePreludeCCPrefs.sh "$temppath/usr/local/outset/login-once/"
/bin/mkdir "scripts"
/bin/cp AdobePreludeCCPrefs.sh "scripts/postinstall"
/usr/bin/pkgbuild --root "$temppath" --identifier "org.sacredsf.adobe.prelude.welcome" --scripts "scripts" --version 1.0 AdobePrelude-Welcome.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment