| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | 4 |
| 5 { | 5 { |
| 6 "manifest_version": 2, | 6 "manifest_version": 2, |
| 7 {%- if releaseBuild %} | 7 {%- if releaseBuild %} |
| 8 "name": "__MSG_name__", | 8 "name": "__MSG_name__", |
| 9 {%- else %} | 9 {%- else %} |
| 10 "name": "__MSG_name_devbuild__", | 10 "name": "__MSG_name_devbuild__", |
| 11 {%- endif %} | 11 {%- endif %} |
| 12 | 12 |
| 13 "short_name": "__MSG_name__", | |
|
Thomas Greiner
2014/12/03 15:47:22
Since this field is limited to 12 characters I'd r
Sebastian Noack
2014/12/03 15:57:44
This string is imported from Adblock Plus for Fire
Thomas Greiner
2014/12/03 16:19:38
Ok, that's fine then.
| |
| 13 "description": "__MSG_description_{{ type }}__", | 14 "description": "__MSG_description_{{ type }}__", |
| 14 "default_locale": "en_US", | 15 "default_locale": "en_US", |
| 15 "version": {{version|json}}, | 16 "version": {{version|json}}, |
| 16 | 17 |
| 17 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} | 18 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} |
| 18 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, | 19 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, |
| 19 {%- endif %} | 20 {%- endif %} |
| 20 | 21 |
| 21 {%- if not releaseBuild and type != "chrome" %} | 22 {%- if not releaseBuild and type != "chrome" %} |
| 22 "update_url": "https://adblockplus.org/devbuilds/ | 23 "update_url": "https://adblockplus.org/devbuilds/ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 {%- if contentScripts %} | 71 {%- if contentScripts %} |
| 71 "content_scripts": {{contentScripts|json}}, | 72 "content_scripts": {{contentScripts|json}}, |
| 72 {%- endif %} | 73 {%- endif %} |
| 73 | 74 |
| 74 {%- if webAccessible %} | 75 {%- if webAccessible %} |
| 75 "web_accessible_resources": {{webAccessible|json}}, | 76 "web_accessible_resources": {{webAccessible|json}}, |
| 76 {%- endif %} | 77 {%- endif %} |
| 77 | 78 |
| 78 "_dummy": false | 79 "_dummy": false |
| 79 } | 80 } |
| OLD | NEW |