Created
August 1, 2016 10:00
-
-
Save anonymous/a661949550a26b9522f79095f8ae2d94 to your computer and use it in GitHub Desktop.
makes Firefox 48 release honor 'xpinstall.signatures.required' pref.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This patch makes Firefox 48 release honor 'xpinstall.signatures.required' pref. | |
test -e omni.ja.bak || mv omni.ja omni.ja.bak | |
test -r omni.ja && rm omni.ja | |
mkdir omni_ja | |
unzip -d omni_ja omni.ja.bak | |
sed -i '/MOZ_REQUIRE_SIGNING:/,/true/ s/true/false/' omni_ja/modules/AppConstants.jsm | |
sed -i '/REQUIRE_SIGNING",/,/value: true/ s/value: true/value: false/' omni_ja/modules/addons/AddonConstants.jsm | |
cp omni_ja/modules/AppConstants.jsm omni_ja/jsloader/resource/gre/modules/AppConstants.jsm | |
cp omni_ja/modules/addons/AddonConstants.jsm omni_ja/jsloader/resource/gre/modules/addons/AddonConstants.jsm | |
( cd omni_ja; zip -r ../omni.ja * ) | |
rm -rf omni_ja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment