OLD | NEW |
1 {%- macro str_or_real(value) -%} | 1 {%- macro str_or_real(value) -%} |
2 {%- if value is number -%} | 2 {%- if value is number -%} |
3 <real>{{ value }}</real> | 3 <real>{{ value }}</real> |
4 {%- else -%} | 4 {%- else -%} |
5 <string>{{ value }}</string> | 5 <string>{{ value }}</string> |
6 {%- endif -%} | 6 {%- endif -%} |
7 {%- endmacro -%} | 7 {%- endmacro -%} |
8 | 8 |
9 <?xml version="1.0" encoding="UTF-8"?> | 9 <?xml version="1.0" encoding="UTF-8"?> |
10 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/
PropertyList-1.0.dtd"> | 10 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/
PropertyList-1.0.dtd"> |
11 <plist version="1.0"> | 11 <plist version="1.0"> |
12 <dict> | 12 <dict> |
13 <key>CFBundleDisplayName</key> | 13 <key>CFBundleDisplayName</key> |
14 <string>{{ name }}</string> | 14 <string>{{ name }}</string> |
15 <key>CFBundleIdentifier</key> | 15 <key>CFBundleIdentifier</key> |
16 <string>org.adblockplus.{{ basename }}</string> | 16 <string>org.adblockplus.{{ basename }}</string> |
17 <key>CFBundleInfoDictionaryVersion</key> | 17 <key>CFBundleInfoDictionaryVersion</key> |
18 <string>6.0</string> | 18 <string>6.0</string> |
19 <key>CFBundleShortVersionString</key> | 19 <key>CFBundleShortVersionString</key> |
20 <string>{{ version }}</string> | 20 <string>{{ version }}</string> |
21 <key>CFBundleVersion</key> | 21 <key>CFBundleVersion</key> |
22 <string>{{ version }}</string> | 22 <string>{{ version }}</string> |
| 23 {%- if developerIdentifier %} |
| 24 <key>DeveloperIdentifier</key> |
| 25 <string>{{ developerIdentifier }}</string> |
| 26 {%- endif %} |
23 <key>Chrome</key> | 27 <key>Chrome</key> |
24 <dict> | 28 <dict> |
25 <key>Database Quota</key> | 29 <key>Database Quota</key> |
26 <real>104857600</real> | 30 <real>104857600</real> |
27 <key>Global Page</key> | 31 <key>Global Page</key> |
28 <string>background.html</string> | 32 <string>background.html</string> |
29 {%- if menus %} | 33 {%- if menus %} |
30 <key>Menus</key> | 34 <key>Menus</key> |
31 <array> | 35 <array> |
32 {%- for identifier, items in menus.iteritems() %} | 36 {%- for identifier, items in menus.iteritems() %} |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 <string> | 156 <string> |
153 {%- if not releaseBuild -%} | 157 {%- if not releaseBuild -%} |
154 https://adblockplus.org/devbuilds/{{ basename }}/updates.plist | 158 https://adblockplus.org/devbuilds/{{ basename }}/updates.plist |
155 {%- else -%} | 159 {%- else -%} |
156 {{ updateURL }} | 160 {{ updateURL }} |
157 {%- endif -%} | 161 {%- endif -%} |
158 </string> | 162 </string> |
159 {%- endif %} | 163 {%- endif %} |
160 </dict> | 164 </dict> |
161 </plist> | 165 </plist> |
OLD | NEW |