1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-22 04:00:37 +12:00

rename more accurately webext version to webext-hybrid

This commit is contained in:
gorhill 2017-08-08 16:32:44 -04:00
parent 68b8baef34
commit fa7b0777f3
3 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ env:
matrix:
- BROWSER=chromium EXT=zip
- BROWSER=firefox EXT=xpi
- BROWSER=webext EXT=xpi
- BROWSER=webext-hybrid EXT=xpi
script: ./tools/make-${BROWSER}.sh all
deploy:
provider: releases

View file

@ -44,7 +44,7 @@ for alpha2 in sorted(os.listdir(source_locale_dir)):
descriptions[alpha2] = strings['extShortDesc']['message']
webext_manifest['author'] = chromium_manifest['author'];
webext_manifest['name'] = chromium_manifest['name'] + '/webext';
webext_manifest['name'] = chromium_manifest['name'] + '/webext-hybrid';
webext_manifest['homepage'] = 'https://github.com/gorhill/uMatrix'
webext_manifest['description'] = escape(descriptions['en'])
del descriptions['en']

View file

@ -2,10 +2,10 @@
#
# This script assumes a linux environment
echo "*** uMatrix.webext: Creating web store package"
echo "*** uMatrix.webext: Copying files"
echo "*** uMatrix.webext-hybrid: Creating web store package"
echo "*** uMatrix.webext-hybrid: Copying files"
DES=dist/build/uMatrix.webext
DES=dist/build/uMatrix.webext-hybrid
rm -rf $DES
mkdir -p $DES/webextension
@ -25,14 +25,14 @@ cp platform/webext/chrome.manifest $DES/
cp platform/webext/install.rdf $DES/
mv $DES/webextension/img/icon_128.png $DES/icon.png
echo "*** uMatrix.webext: Generating meta..."
python tools/make-webext-meta.py $DES/
echo "*** uMatrix.webext-hybrid: Generating meta..."
python tools/make-webext-hybrid-meta.py $DES/
if [ "$1" = all ]; then
echo "*** uMatrix.webext: Creating package..."
echo "*** uMatrix.webext-hybrid: Creating package..."
pushd $DES > /dev/null
zip ../$(basename $DES).xpi -qr *
popd > /dev/null
fi
echo "*** uMatrix.webext: Package done."
echo "*** uMatrix.webext-hybrid: Package done."