Skip to content

Instantly share code, notes, and snippets.

@arubdesu
Created February 5, 2018 06:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arubdesu/02413fa887eb71a73e472b3eb77cc2fb to your computer and use it in GitHub Desktop.
Save arubdesu/02413fa887eb71a73e472b3eb77cc2fb to your computer and use it in GitHub Desktop.
services
OUTPUT=$(/usr/bin/basename "$1" | /usr/bin/sed -e "s/.pkg//g")
/usr/sbin/pkgutil --expand "$1" /tmp/"$OUTPUT"
open -a "Archive Utility.app" /tmp/"$OUTPUT"/Payload
@arubdesu
Copy link
Author

arubdesu commented Feb 5, 2018

screenshot 2018-02-05 15 02 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment