| 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 not releaseBuild %} |
| 8 "name": "__MSG_name_devbuild__", |
| 9 {%- elif type != "edge" %} |
| 8 "name": "__MSG_name_releasebuild__", | 10 "name": "__MSG_name_releasebuild__", |
| 9 {%- else %} | 11 {%- else %} |
| 10 "name": "__MSG_name_devbuild__", | 12 "name": "__MSG_name__", |
| 11 {%- endif %} | 13 {%- endif %} |
| 12 | 14 |
| 13 "short_name": "__MSG_name__", | 15 "short_name": "__MSG_name__", |
| 14 "description": "__MSG_description__", | 16 "description": "__MSG_description__", |
| 15 "default_locale": "en_US", | 17 "default_locale": "en_US", |
| 16 "version": {{version|json}}, | 18 "version": {{version|json}}, |
| 17 "author": {{metadata.get('general', 'author')|json}}, | 19 "author": {{metadata.get('general', 'author')|json}}, |
| 18 | 20 |
| 19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom
e') %} | 21 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom
e') %} |
| 20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, | 22 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "options_page": {{metadata.get('general', 'options')|json}}, | 92 "options_page": {{metadata.get('general', 'options')|json}}, |
| 91 {%- endif %} | 93 {%- endif %} |
| 92 {%- endif %} | 94 {%- endif %} |
| 93 | 95 |
| 94 {%- if contentScripts %} | 96 {%- if contentScripts %} |
| 95 "content_scripts": {{contentScripts|json}}, | 97 "content_scripts": {{contentScripts|json}}, |
| 96 {%- endif %} | 98 {%- endif %} |
| 97 | 99 |
| 98 "_dummy": false | 100 "_dummy": false |
| 99 } | 101 } |
| OLD | NEW |