Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Pre-format manifest.json in a way AMO is happy with.
Browse files Browse the repository at this point in the history
https://github.com/mozilla/addons-server/issues/17302 broke our privileged signature, the AMO team is working on a fix
but this is a workaround.
  • Loading branch information
rhelmer committed Jun 14, 2021
1 parent 3cc2745 commit e0d63c0
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,23 @@
"name": "Mozilla Rally",
"version": "1.3.2",
"homepage_url": "https://github.com/mozilla-rally/rally-core-addon",

"icons": {
"48": "public/img/rally-favicon.svg",
"96": "public/img/rally-favicon.svg"
},

"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "80.0a1"
}
},

"permissions": [
"management",
"telemetry",
"storage",
"https://firefox.settings.services.mozilla.com/",
"https://incoming.telemetry.mozilla.org/"
],

"telemetry": {
"pioneer_id": true,
"study_name": "rally-core",
Expand All @@ -41,37 +37,44 @@
}
}
},

"background": {
"scripts": ["public/addon-build/background.js"]
"scripts": [
"public/addon-build/background.js"
]
},

"content_scripts": [
{
"matches": ["https://rally.mozilla.org/*"],
"js": ["public/addon-build/content-script.js"]
"matches": [
"https://rally.mozilla.org/*"
],
"js": [
"public/addon-build/content-script.js"
]
}
],

"browser_action": {
"browser_style": true,
"default_icon": "public/img/rally-toolbar-icon.svg"
},

"options_ui": {
"page": "public/index.html",
"open_in_tab": true
},

"experiment_apis": {
"firefoxPrivilegedApi": {
"schema": "core-addon/FirefoxPrivilegedApi.schema.json",
"parent": {
"scopes": ["addon_parent"],
"scopes": [
"addon_parent"
],
"script": "core-addon/FirefoxPrivilegedApi.js",
"events": [],
"paths": [["firefoxPrivilegedApi"]]
"paths": [
[
"firefoxPrivilegedApi"
]
]
}
}
}
}
}

0 comments on commit e0d63c0

Please sign in to comment.