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

Unified Diff: templates/Info.plist.tmpl

Issue 29562614: Issue 5752 - Removing safari support (Closed)
Patch Set: NO CHANGE rebase against #5751 @ Patch Set 7 Created Oct. 10, 2017, 9:28 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 | « releaseAutomation.py ('k') | templates/background.html.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/Info.plist.tmpl
diff --git a/templates/Info.plist.tmpl b/templates/Info.plist.tmpl
deleted file mode 100644
index 141f897d55774bf254bc0573260316cda6497f4b..0000000000000000000000000000000000000000
--- a/templates/Info.plist.tmpl
+++ /dev/null
@@ -1,165 +0,0 @@
-{%- macro str_or_real(value) -%}
-{%- if value is number -%}
- <real>{{ value }}</real>
-{%- else -%}
- <string>{{ value }}</string>
-{%- endif -%}
-{%- endmacro -%}
-
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDisplayName</key>
- <string>{{ name }}</string>
- <key>CFBundleIdentifier</key>
- <string>org.adblockplus.{{ basename }}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleShortVersionString</key>
- <string>{{ version }}</string>
- <key>CFBundleVersion</key>
- <string>{{ version }}</string>
- {%- if developerIdentifier %}
- <key>DeveloperIdentifier</key>
- <string>{{ developerIdentifier }}</string>
- {%- endif %}
- <key>Chrome</key>
- <dict>
- <key>Database Quota</key>
- <real>104857600</real>
- <key>Global Page</key>
- <string>background.html</string>
- {%- if menus %}
- <key>Menus</key>
- <array>
- {%- for identifier, items in menus.iteritems() %}
- <dict>
- <key>Identifier</key>
- <string>{{ identifier }}</string>
- <key>Menu Items</key>
- <array>
- {%- for identifier, props in items.iteritems() %}
- <dict>
- <key>Identifier</key>
- <string>{{ identifier }}</string>
- {%- for key, value in props.iteritems() %}
- <key>{{ key }}</key>
- {{ str_or_real(value) }}
- {%- endfor %}
- </dict>
- {%- endfor %}
- </array>
- </dict>
- {%- endfor %}
- </array>
- {%- endif %}
- {%- if popovers %}
- <key>Popovers</key>
- <array>
- {%- for identifier, props in popovers.iteritems() %}
- <dict>
- <key>Identifier</key>
- <string>{{ identifier }}</string>
- {%- for key, value in props.iteritems() %}
- <key>{{ key }}</key>
- {{ str_or_real(value) }}
- {%- endfor %}
- </dict>
- {%- endfor %}
- </array>
- {%- endif %}
- {%- if toolbarItems %}
- <key>Toolbar Items</key>
- <array>
- {%- for identifier, props in toolbarItems.iteritems() %}
- <dict>
- <key>Identifier</key>
- <string>{{ identifier }}</string>
- <key>Label</key>
- <string>{{ name }}</string>
- {%- for key, value in props.iteritems() %}
- <key>{{ key }}</key>
- {{ str_or_real(value) }}
- {%- endfor %}
- </dict>
- {%- endfor %}
- </array>
- {%- endif %}
- </dict>
- {%- if startScripts or endScripts %}
- <key>Content</key>
- <dict>
- <key>Scripts</key>
- <dict>
- {%- if startScripts %}
- <key>Start</key>
- <array>
- {%- for script in startScripts %}
- <string>{{ script }}</string>
- {%- endfor %}
- </array>
- {%- endif %}
- {%- if endScripts %}
- <key>End</key>
- <array>
- {%- for script in endScripts %}
- <string>{{ script }}</string>
- {%- endfor %}
- </array>
- {%- endif %}
- </dict>
- </dict>
- {%- endif %}
- <key>ExtensionInfoDictionaryVersion</key>
- <string>1.0</string>
- <key>Permissions</key>
- <dict>
- <key>Website Access</key>
- <dict>
- {%- if allowedDomains and not allowAllDomains %}
- <key>Allowed Domains</key>
- <array>
- {%- for domain in allowedDomains %}
- <string>{{ domain }}</string>
- {%- endfor %}
- </array>
- {%- endif %}
- <key>Include Secure Pages</key>
- {%- if allowSecurePages %}
- <true/>
- {%- else %}
- <false/>
- {%- endif %}
- <key>Level</key>
- {%- if allowAllDomains %}
- <string>All</string>
- {%- elif allowedDomains %}
- <string>Some</string>
- {%- else %}
- <string>None</string>
- {%- endif %}
- </dict>
- </dict>
- <key>Description</key>
- <string>{{ description }}</string>
- {%- if author %}
- <key>Author</key>
- <string>{{ author }}</string>
- {%- endif %}
- {%- if homepage %}
- <key>Website</key>
- <string>{{ homepage }}</string>
- {%- endif %}
- {%- if not releaseBuild or updateURL %}
- <key>Update Manifest URL</key>
- <string>
- {%- if not releaseBuild -%}
- https://adblockplus.org/devbuilds/{{ basename }}/updates.plist
- {%- else -%}
- {{ updateURL }}
- {%- endif -%}
- </string>
- {%- endif %}
-</dict>
-</plist>
« no previous file with comments | « releaseAutomation.py ('k') | templates/background.html.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld