Firefox.download.recipe 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5. <key>Comment</key>
  6. <string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
  7. <key>Description</key>
  8. <string>Downloads the latest version of Firefox.</string>
  9. <key>Identifier</key>
  10. <string>com.github.solutiogruppen.download.Firefox</string>
  11. <key>Input</key>
  12. <dict>
  13. <key>NAME</key>
  14. <string>Firefox</string>
  15. </dict>
  16. <key>MinimumVersion</key>
  17. <string>2.3</string>
  18. <key>Process</key>
  19. <array>
  20. <dict>
  21. <key>Arguments</key>
  22. <dict>
  23. <key>filename</key>
  24. <string>%NAME%.dmg</string>
  25. <key>url</key>
  26. <string>https://download.mozilla.org/?product=firefox-latest&amp;os=osx&amp;lang=da</string>
  27. </dict>
  28. <key>Processor</key>
  29. <string>URLDownloader</string>
  30. </dict>
  31. <dict>
  32. <key>Processor</key>
  33. <string>EndOfCheckPhase</string>
  34. </dict>
  35. <dict>
  36. <key>Arguments</key>
  37. <dict>
  38. <key>input_path</key>
  39. <string>%pathname%/Firefox.app</string>
  40. <key>requirement</key>
  41. <string>identifier "org.mozilla.firefox" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "43AQ936H96"</string>
  42. </dict>
  43. <key>Processor</key>
  44. <string>CodeSignatureVerifier</string>
  45. </dict>
  46. <dict>
  47. <key>Arguments</key>
  48. <dict>
  49. <key>input_plist_path</key>
  50. <string>%pathname%/Firefox.app/Contents/Info.plist</string>
  51. <key>plist_version_key</key>
  52. <string>CFBundleShortVersionString</string>
  53. </dict>
  54. <key>Processor</key>
  55. <string>Versioner</string>
  56. </dict>
  57. </array>
  58. </dict>
  59. </plist>