/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. <!-- See the comments in Core/KSPlistServer.h for the full description of
  7. the stuff in here. -->
  8. <array>
  9. <dict>
  10. <!-- The product ID in question. If the ticket matches this
  11. productID, then consider it for an update. -->
  12. <key>ProductID</key>
  13. <string>com.google.HelloEngineTest</string>
  14. <!-- The gatekeeper for this update. If this predicate returns a
  15. true value, then the product needs updating. -->
  16. <key>Predicate</key>
  17. <string>Ticket.version != '2.0'</string>
  18. <!-- If we need to update the product, download the new version
  19. from here -->
  20. <key>Codebase</key>
  21. <string>file:///tmp/TestApp.dmg</string>
  22. <!-- How large the download is. -->
  23. <key>Size</key>
  24. <string>51051</string>
  25. <!-- Base64-encoded SHA-1 hash of the file at the CodeBase URL.
  26. This and the size are used to verify
  27. that it was downloaded OK. -->
  28. <key>Hash</key>
  29. <string>L8O0cuNwVXQd79lMyBImvuSD9DY=</string>
  30. </dict>
  31. <!-- You can have multiple products here, just add more dictionaries. -->
  32. </array>
  33. </dict>
  34. </plist>