mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
fix shell script for Opera
This commit is contained in:
parent
8688461b1a
commit
dfcfa5ab9e
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue