rename more accurately webext version to webext-hybrid

pull/2/head
gorhill 7 years ago
parent 68b8baef34
commit fa7b0777f3

@ -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

@ -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']

@ -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."

Loading…
Cancel
Save