Skip to content

Commit 992009f

Browse files
committed
Update extension id in manifest.json for AMO
1 parent d4b7a3d commit 992009f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cp -a src/META-INF pkg/xpi-eff
7171
# Remove the 'applications' manifest key from the crx version of the extension and change the 'author' string to a hash
7272
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))"
7373
# Remove the 'update_url' manifest key from the xpi version of the extension delivered to AMO
74-
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))"
74+
python2.7 -c "import json; m=json.loads(open('pkg/xpi-amo/manifest.json').read()); del m['applications']['gecko']['update_url']; m['applications']['gecko']['id'] = 'https-everywhere@eff.org'; open('pkg/xpi-amo/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
7575

7676
# If the --remove-update-channel flag is set, ensure the extension is unable to update
7777
if [ "$1" == "--remove-update-channel" -o "$2" == "--remove-update-channel" ]; then

0 commit comments

Comments
 (0)