mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-26 18:10:39 +12:00
* correct cloud-download/upload icon CSS selectors * fix scope tooltip in logger appearing offscreen * open logger/dashboard links adjacent to current tab (match uBO's behaviour) * opera: fix manifest version not being updated Version code copied from tools/make-chromium-meta.py * fix https://www.reddit.com/r/uBlockOrigin/comments/9gwrna/when_you_right_click_and_go_to_options_it_keeps/ source: *6dd6dc5f1d
* remove unused "processReferer" setting It was changed to a matrix switch in5d8bae3da2
* remove unused source code source: *f516cd3d26
*0503f52b1e
* remove bold version of Roboto font (unused from HTTPSB) * correct FontAwesome license after change from v5 back to v4.7 License copied frombb737e29d5
* fix build scripts afterc0f4abfd00
34 lines
926 B
Bash
Executable file
34 lines
926 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# This script assumes a linux environment
|
|
|
|
echo "*** uMatrix.firefox: Creating web store package"
|
|
echo "*** uMatrix.firefox: Copying files"
|
|
|
|
DES=dist/build/uMatrix.firefox
|
|
rm -rf $DES
|
|
mkdir -p $DES
|
|
|
|
bash ./tools/make-assets.sh $DES
|
|
|
|
cp -R ./src/* $DES/
|
|
cp platform/chromium/*.js $DES/js/
|
|
cp -R platform/chromium/img/* $DES/img/
|
|
cp LICENSE.txt $DES/
|
|
|
|
cp platform/firefox/polyfill.js $DES/js/
|
|
cp platform/firefox/vapi-cachestorage.js $DES/js/
|
|
cp platform/firefox/manifest.json $DES/
|
|
|
|
echo "*** uMatrix.firefox: Generating meta..."
|
|
python tools/make-firefox-meta.py $DES/
|
|
|
|
if [ "$1" = all ]; then
|
|
echo "*** uMatrix.firefox: Creating package..."
|
|
pushd $DES > /dev/null
|
|
zip ../$(basename $DES).xpi -qr *
|
|
popd > /dev/null
|
|
fi
|
|
|
|
echo "*** uMatrix.firefox: Package done."
|