diff options
author | tv <tv@krebsco.de> | 2021-01-03 14:15:06 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-01-03 15:48:36 +0100 |
commit | dc47cb298e2d496ca9c6117d24c3ffcce4465a62 (patch) | |
tree | 9b583502a88c54ef3d2a5966bf7ccd3b7e68c37c | |
parent | 3708a24275ee2e9f1addae2f187583a3fb5de57d (diff) |
crxmake: make executable
-rwxr-xr-x[-rw-r--r--] | crxmake | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,9 +1,8 @@ -# Purpose: Pack a Chromium extension directory into crx format +#! /bin/sh +# Pack a Chromium extension directory into CRX3 format +# usage: crxmake EXTENSION_DIR KEY_FILE -if test $# -ne 2; then - echo "Usage: crxmake.sh <extension dir> <pem path>" - exit 1 -fi +set -efu dir=$1 key=$2 |