Created
May 1, 2012 18:27
-
-
Save nicinabox/2570263 to your computer and use it in GitHub Desktop.
Pack Chrome extensions from the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $ crx `pwd` | |
function crx() { | |
~/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --pack-extension=$@ --pack-extension-key=$@/key.pem | |
} |
uninstall windows and buy a Apple.
How Can I archive this under Windows platform?
ok to be fair, snowman was being a bit harsh. this is called "shell" script, designed for MacOS and Linux. I wouldn't recommend using Windows (for anything tbh), but Im sure there's an alternative hidden in your %APPDATA%
which could be accessed with "bat", Window's answer to "shell".
Apparently this should work on Win:
chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem
How Can I archive this under Windows platform?
From official:
https://developer.chrome.com/docs/extensions/mv3/linux_hosting/#package-through-command-line
uninstall windows and buy a Apple.
😂
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How Can I archive this under Windows platform?