Skip to content

Instantly share code, notes, and snippets.

@kn9ts
Forked from nicinabox/env.sh
Created February 10, 2017 10:07
Show Gist options
  • Save kn9ts/6ed4b59506a632b5cbe031674857fc96 to your computer and use it in GitHub Desktop.
Save kn9ts/6ed4b59506a632b5cbe031674857fc96 to your computer and use it in GitHub Desktop.
Pack Chrome extensions from the command line
# $ crx `pwd`
function crx() {
~/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --pack-extension=$@ --pack-extension-key=$@/key.pem
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment