Last active
December 16, 2015 18:59
-
-
Save ninehills/5481448 to your computer and use it in GitHub Desktop.
Dowload crx file from chrome store.
This file contains hidden or 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
| #!/bin/bash | |
| #Usage: sh $0 <app_id> | |
| if [[ $? != 1 ]];then | |
| echo "Usage: sh $0 <extension_id>" >&2 | |
| echo "Output: <extension_id>.crx (zip file)" | |
| exit 1 | |
| fi | |
| app_id=$1 | |
| wget "https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D${app_id}%26uc" -O ${app_id}.crx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment