diff options
author | gorhill <rhill@raymondhill.net> | 2015-04-09 07:15:14 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-04-09 07:15:14 -0400 |
commit | b9e07a16e3219a1db14f22c8b365172f7567893f (patch) | |
tree | 4a3954b6fdba2b940bfff6fe95181df5a57b4813 /tools | |
parent | 66a5d34860e9806b9b604f49eb2dd8d49f618ee1 (diff) | |
download | uBlock-b9e07a16e3219a1db14f22c8b365172f7567893f.zip uBlock-b9e07a16e3219a1db14f22c8b365172f7567893f.tar.gz uBlock-b9e07a16e3219a1db14f22c8b365172f7567893f.tar.bz2 |
this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox
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." |