| OLD | NEW |
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 | 2 |
| 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public | 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
| 4 - License, v. 2.0. If a copy of the MPL was not distributed with this | 4 - License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
| 6 | 6 |
| 7 {%- macro meta() -%} | 7 {%- macro meta() -%} |
| 8 <em:creator>{{metadata.get('general', 'author')}}</em:creator> | 8 <em:creator>{{metadata.get('general', 'author')}}</em:creator> |
| 9 | 9 |
| 10 {%- for contributor in contributors -%} | 10 {%- for contributor in contributors -%} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio
n> | 22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio
n> |
| 23 {{ meta() }} | 23 {{ meta() }} |
| 24 {%- if metadata.has_option('homepage', 'default') %} | 24 {%- if metadata.has_option('homepage', 'default') %} |
| 25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL> | 25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL> |
| 26 {%- endif %} | 26 {%- endif %} |
| 27 <em:type>2</em:type> | 27 <em:type>2</em:type> |
| 28 <em:bootstrap>true</em:bootstrap> | 28 <em:bootstrap>true</em:bootstrap> |
| 29 {%- if not metadata.has_option('general', 'needMultiprocessShims') %} | 29 {%- if not metadata.has_option('general', 'needMultiprocessShims') %} |
| 30 <em:multiprocessCompatible>true</em:multiprocessCompatible> | 30 <em:multiprocessCompatible>true</em:multiprocessCompatible> |
| 31 {%- endif %} | 31 {%- endif %} |
| 32 {%- if hasWebExtension %} |
| 33 <em:hasEmbeddedWebExtension>true</em:hasEmbeddedWebExtension> |
| 34 {%- endif %} |
| 32 | 35 |
| 33 {%- if metadata.has_option('general', 'updateURL') %} | 36 {%- if metadata.has_option('general', 'updateURL') %} |
| 34 <em:updateURL> | 37 <em:updateURL> |
| 35 {{- metadata.get('general', 'updateURL') -}} | 38 {{- metadata.get('general', 'updateURL') -}} |
| 36 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV
ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_
VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%
CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}} | 39 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV
ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_
VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%
CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}} |
| 37 </em:updateURL> | 40 </em:updateURL> |
| 38 {%- endif %} | 41 {%- endif %} |
| 39 | 42 |
| 40 {%- if metadata.has_option('general', 'icon') %} | 43 {%- if metadata.has_option('general', 'icon') %} |
| 41 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL> | 44 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL> |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 <!-- {{appName}} --> | 100 <!-- {{appName}} --> |
| 98 <em:id>{{KNOWN_APPS[appName]}}</em:id> | 101 <em:id>{{KNOWN_APPS[appName]}}</em:id> |
| 99 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min
Version> | 102 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min
Version> |
| 100 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max
Version> | 103 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max
Version> |
| 101 </Description> | 104 </Description> |
| 102 </em:targetApplication> | 105 </em:targetApplication> |
| 103 {%- endif %} | 106 {%- endif %} |
| 104 {%- endfor %} | 107 {%- endfor %} |
| 105 </Description> | 108 </Description> |
| 106 </RDF> | 109 </RDF> |
| OLD | NEW |