| Index: templates/manifest.json.tmpl |
| =================================================================== |
| rename from manifest.json.tmpl |
| rename to templates/manifest.json.tmpl |
| --- a/manifest.json.tmpl |
| +++ b/templates/manifest.json.tmpl |
| @@ -15,16 +15,20 @@ |
| "default_locale": "en_US", |
| "version": {{version|json}}, |
| "author": {{metadata.get('general', 'author')|json}}, |
| {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrome') %} |
| "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, |
| {%- endif %} |
| + {%- if metadata.has_section('compat') and metadata.has_option('compat', 'edge') %} |
| + "minimum_edge_version": {{metadata.get('compat', 'edge')|json}}, |
| + {%- endif %} |
| + |
| {%- if pageAction %} |
| "page_action": { |
| "default_icon": {{pageAction.icon|json}}, |
| {%- if pageAction.popup %} |
| "default_popup": {{pageAction.popup|json}}, |
| {%- endif %} |
| "default_title": "__MSG_name__" |
| }, |