From 06ea2fb8583e69b579646a7f0369296c818c7616 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 14 Apr 2018 09:36:19 -0400 Subject: [PATCH] fix Firefox/legacy build --- tools/make-firefox.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/make-firefox.sh b/tools/make-firefox.sh index f1b5f5ba6..e0b68872b 100755 --- a/tools/make-firefox.sh +++ b/tools/make-firefox.sh @@ -21,7 +21,7 @@ mv $DES/img/icon_128.png $DES/icon.png cp platform/firefox/css/* $DES/css/ cp platform/firefox/polyfill.js $DES/js/ cp platform/firefox/vapi-*.js $DES/js/ -cp platform/webext/vapi-usercss.js $DES/js/ +cp platform/chromium/vapi-usercss.real.js $DES/js/ cp platform/firefox/bootstrap.js $DES/ cp platform/firefox/processScript.js $DES/ cp platform/firefox/frame*.js $DES/ @@ -32,11 +32,11 @@ cp platform/firefox/*.xul $DES/ cp LICENSE.txt $DES/ echo "*** uBlock0.firefox: concatenating content scripts" -cat $DES/js/vapi-usercss.js > /tmp/contentscript.js +cat $DES/js/vapi-usercss.real.js > /tmp/contentscript.js echo >> /tmp/contentscript.js grep -v "^'use strict';$" $DES/js/contentscript.js >> /tmp/contentscript.js mv /tmp/contentscript.js $DES/js/contentscript.js -rm $DES/js/vapi-usercss.js +rm $DES/js/vapi-usercss.real.js echo "*** uBlock0.firefox: Generating meta..." python tools/make-firefox-meta.py $DES/