LEFT | RIGHT |
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__", | 13 "short_name": "__MSG_name__", |
14 "description": "__MSG_description__", | 14 "description": "__MSG_description__", |
15 "default_locale": "en_US", | 15 "default_locale": "en_US", |
16 "version": {{version|json}}, | 16 "version": {{version|json}}, |
17 "author": {{ metadata.get('general', 'author')|json }}, | 17 "author": {{metadata.get('general', 'author')|json}}, |
18 | 18 |
19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom
e') %} | 19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom
e') %} |
20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, | 20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, |
21 {%- endif %} | 21 {%- endif %} |
22 | 22 |
23 {%- if pageAction %} | 23 {%- if pageAction %} |
24 "page_action": { | 24 "page_action": { |
25 "default_icon": {{pageAction.icon|json}}, | 25 "default_icon": {{pageAction.icon|json}}, |
26 {%- if pageAction.popup %} | 26 {%- if pageAction.popup %} |
27 "default_popup": {{pageAction.popup|json}}, | 27 "default_popup": {{pageAction.popup|json}}, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 {%- endif %} | 76 {%- endif %} |
77 | 77 |
78 {%- if metadata.has_option('general', 'managedStorageSchema') %} | 78 {%- if metadata.has_option('general', 'managedStorageSchema') %} |
79 "storage": { | 79 "storage": { |
80 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} | 80 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} |
81 }, | 81 }, |
82 {%- endif %} | 82 {%- endif %} |
83 | 83 |
84 "_dummy": false | 84 "_dummy": false |
85 } | 85 } |
LEFT | RIGHT |