From 8c59cae5380c300cea4f0c4c67624d56204f1f83 Mon Sep 17 00:00:00 2001 From: Caio Wzy Date: Tue, 26 Mar 2019 21:14:30 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20chave=20de=20atualiza=C3=A7=C3=A3o=20p?= =?UTF-8?q?ara=20o=20Chromium=20do=20Firefox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Caio Wzy --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3648c8..6475e2f 100644 --- a/Makefile +++ b/Makefile @@ -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"