Skip to content

Commit

Permalink
working on webextensions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe committed Jan 23, 2017
1 parent bfa2455 commit 4e29516
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion platform/webext/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "51.0",
"strict_min_version": "50.0",
"strict_max_version": "52.*"
}
},
Expand Down
8 changes: 4 additions & 4 deletions tools/make-webext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#
# This script assumes a linux environment

echo "*** uBlock0.webext: Creating web store package"
echo "*** uBlock0.webext: Copying files"
echo "*** adnauseam.webext: Creating web store package"
echo "*** adnauseam.webext: Copying files"

DES=dist/build/uBlock0.webext
DES=bin/build/adnauseam.webext
rm -rf $DES
mkdir -p $DES

Expand All @@ -29,7 +29,7 @@ cp platform/webext/polyfill.js $DES/js/
cp platform/webext/manifest.json $DES/
cp LICENSE.txt $DES/

echo "*** uBlock0.webext: Generating meta..."
echo "*** adnauseam.webext: Generating meta..."
# python tools/make-webext-meta.py $DES/ ADN: use our own version
#

Expand Down
13 changes: 13 additions & 0 deletions tools/run-webext.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

FIREFOX_BIN=/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin

set -e

tools/make-webext.sh

cd bin/build/adnauseam.webext

jpm -b ${FIREFOX_BIN} run --profile "${1:-default}"

cd -

0 comments on commit 4e29516

Please sign in to comment.