diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/make-firefox-meta.py | 4 | ||||
-rwxr-xr-x | tools/make-firefox.sh | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/make-firefox-meta.py b/tools/make-firefox-meta.py index acf009b..284fa96 100644 --- a/tools/make-firefox-meta.py +++ b/tools/make-firefox-meta.py @@ -56,13 +56,13 @@ for alpha2 in sorted(os.listdir(source_locale_dir)): chrome_manifest = pj(build_dir, 'chrome.manifest') with open(chrome_manifest, 'at', encoding='utf-8', newline='\n') as f: - f.write(u'\nlocale ublock en ./locale/en/\n') + f.write(u'\nlocale ublock0 en ./locale/en/\n') for alpha2 in language_codes: if alpha2 == 'en': continue - f.write(u'locale ublock ' + alpha2 + ' ./locale/' + alpha2 + '/\n') + f.write(u'locale ublock0 ' + alpha2 + ' ./locale/' + alpha2 + '/\n') rmtree(source_locale_dir) diff --git a/tools/make-firefox.sh b/tools/make-firefox.sh index 221ceff..85beb60 100755 --- a/tools/make-firefox.sh +++ b/tools/make-firefox.sh @@ -2,9 +2,9 @@ # # This script assumes a linux environment -echo "*** uBlock.firefox: Copying files" +echo "*** uBlock0.firefox: Copying files" -DES=dist/build/uBlock.firefox +DES=dist/build/uBlock0.firefox rm -rf $DES mkdir -p $DES @@ -26,14 +26,14 @@ cp platform/firefox/install.rdf $DES/ cp platform/firefox/*.xul $DES/ cp LICENSE.txt $DES/ -echo "*** uBlock.firefox: Generating meta..." +echo "*** uBlock0.firefox: Generating meta..." python tools/make-firefox-meta.py $DES/ if [ "$1" = all ]; then - echo "*** uBlock.firefox: Creating package..." + echo "*** uBlock0.firefox: Creating package..." pushd $DES/ - zip ../uBlock.firefox.xpi -qr * + zip ../uBlock0.firefox.xpi -qr * popd fi -echo "*** uBlock.firefox: Package done." +echo "*** uBlock0.firefox: Package done." |