Remove chave de atualização para o Chromium do Firefox

Signed-off-by: Caio Wzy <CaioWzy@gmail.com>
master
Caio Wzy 2019-03-26 21:14:30 -03:00
parent 6cbf29cb1f
commit 8c59cae538
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,11 @@ pre-build:
cp -r webext/* "$$SRC_DIR" ; \
if [ $$i != "firefox" ]; then \
perl -0pe 's/,\s+"applications": \{(.*?\}){2}//s' \
webext/manifest.json > "$$SRC_DIR/manifest.json" ; \
webext/manifest.json > "$$SRC_DIR/manifest.json" ; \
fi ; \
if [ $$i = "firefox" ]; then \
perl -0pe 's/,\s+"update_url": \"https:\/\/burles.co\/updates\/chromium.xml"//s' \
webext/manifest.json > "$$SRC_DIR/manifest.json" ; \
fi ; \
done
python3 userscript/build.py userscript/burlesco.user.js > "$(DIST_DIR)/burlesco.user.js"