1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

fix shell script for Opera

This commit is contained in:
Raymond Hill 2017-12-22 09:57:28 -05:00
parent 8688461b1a
commit dfcfa5ab9e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -23,6 +23,13 @@ cp platform/chromium/*.html $DES/
cp platform/chromium/*.json $DES/
cp LICENSE.txt $DES/
echo "*** uBlock0.opera: concatenating content scripts"
cat $DES/js/vapi-usercss.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
# Opera-specific
cp platform/opera/manifest.json $DES/
rm -r $DES/_locales/cv