1
0

Added makefiles

This commit is contained in:
Markus Birth 2013-06-25 09:34:59 +02:00
parent e691417301
commit 5c973cb449
3 changed files with 15 additions and 0 deletions

3
genkey.sh Executable file

@ -0,0 +1,3 @@
#!/bin/sh
# Yes, I'm paranoid!
openssl genrsa 4096 | openssl pkcs8 -topk8 -nocrypt -out key.pem

2
make.cmd Executable file

@ -0,0 +1,2 @@
#!/bin/sh
chrome.exe --pack-extension=src --pack-extension-key=key.pem

10
make.sh Executable file

@ -0,0 +1,10 @@
#!/bin/sh
google-chrome --pack-extension=src --pack-extension-key=key.pem
# rename output file
mv src.crx gplusblacklist.crx
# remove Chrome garbage
if [ -f libpeerconnection.log ]; then
rm libpeerconnection.log
fi