We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5bf78 commit 3e00d4dCopy full SHA for 3e00d4d
2 files changed
make.sh
@@ -63,18 +63,13 @@ cp src/$RULESETS pkg/crx/rules/default.rulesets
63
64
sed -i -e "s/VERSION/$VERSION/g" pkg/crx/manifest.json
65
66
-python2.7 -c "import json; m=json.loads(open('pkg/crx/manifest.json').read()); e=m['author']; m['author']={'email': e}; del m['applications']; open('pkg/crx/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
67
-
68
-#sed -i -e "s/VERSION/$VERSION/g" pkg/crx/updates.xml
69
-#sed -e "s/VERSION/$VERSION/g" pkg/updates-master.xml > pkg/crx/updates.xml
70
71
cp -a pkg/crx pkg/xpi-amo
72
cp -a pkg/crx pkg/xpi-eff
73
cp -a src/META-INF pkg/xpi-amo
74
cp -a src/META-INF pkg/xpi-eff
75
76
-# Remove the 'applications' manifest key from the crx version of the extension
77
-python2.7 -c "import json; m=json.loads(open('pkg/crx/manifest.json').read()); del m['applications']; open('pkg/crx/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
+# Remove the 'applications' manifest key from the crx version of the extension and change the 'author' string to a hash
+python2.7 -c "import json; m=json.loads(open('pkg/crx/manifest.json').read()); e=m['author']; m['author']={'email': e}; del m['applications']; open('pkg/crx/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
78
# Remove the 'update_url' manifest key from the xpi version of the extension delivered to AMO
79
python2.7 -c "import json; m=json.loads(open('pkg/xpi-amo/manifest.json').read()); del m['applications']['gecko']['update_url']; open('pkg/xpi-amo/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
80
makexpi.sh
0 commit comments