Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/install.rdf.tmpl

Issue 29397581: Issue 5049 - Allow embedded WebExtensions in gecko packager (Closed) Base URL: https://hg.adblockplus.org/buildtools/
Patch Set: Created March 29, 2017, 9:56 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « templates/bootstrap.js.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/install.rdf.tmpl
===================================================================
--- a/templates/install.rdf.tmpl
+++ b/templates/install.rdf.tmpl
@@ -24,16 +24,19 @@
{%- if metadata.has_option('homepage', 'default') %}
<em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL>
{%- endif %}
<em:type>2</em:type>
<em:bootstrap>true</em:bootstrap>
{%- if not metadata.has_option('general', 'needMultiprocessShims') %}
<em:multiprocessCompatible>true</em:multiprocessCompatible>
{%- endif %}
+ {%- if hasWebExtension %}
+ <em:hasEmbeddedWebExtension>true</em:hasEmbeddedWebExtension>
+ {%- endif %}
{%- if metadata.has_option('general', 'updateURL') %}
<em:updateURL>
{{- metadata.get('general', 'updateURL') -}}
{{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}}
</em:updateURL>
{%- endif %}
« no previous file with comments | « templates/bootstrap.js.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld