PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/Samples/HelloEngine/ServerResponse.plist

http://macfuse.googlecode.com/
Unknown | 43 lines | 34 code | 9 blank | 0 comment | 0 complexity | 1c8f583354beed30e8081c3184a7fc3e MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 3<plist version="1.0">
 4<dict>
 5  <key>Rules</key>  <!-- Update Engine RULES!  WOOOOOO! -->
 6
 7  <!-- See the comments in Core/KSPlistServer.h for the full description of
 8       the stuff in here. -->
 9
10  <array>
11    <dict>
12      <!-- The product ID in question.  If the ticket matches this 
13           productID, then consider it for an update. -->
14      <key>ProductID</key>
15      <string>com.google.HelloEngineTest</string>
16
17      <!-- The gatekeeper for this update.  If this predicate returns a
18           true value, then the product needs updating. -->
19      <key>Predicate</key>
20      <string>Ticket.version != '2.0'</string>
21
22      <!-- If we need to update the product, download the new version
23           from here -->
24      <key>Codebase</key>
25      <string>file:///tmp/TestApp.dmg</string>
26  
27      <!-- How large the download is. -->
28      <key>Size</key>
29      <string>51051</string>
30
31      <!-- Base64-encoded SHA-1 hash of the file at the CodeBase URL.
32           This and the size are used to verify 
33           that it was downloaded OK.  -->
34      <key>Hash</key>
35      <string>L8O0cuNwVXQd79lMyBImvuSD9DY=</string>
36
37    </dict>
38
39     <!-- You can have multiple products here, just add more dictionaries. -->
40
41  </array>
42</dict>
43</plist>