ONLYOFFICE.download.recipe 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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.2.0 (https://github.com/homebysix/recipe-robot)</string>
  7. <key>Description</key>
  8. <string>Downloads the latest version of ONLYOFFICE.</string>
  9. <key>Identifier</key>
  10. <string>com.github.solutiogruppen.download.ONLYOFFICE</string>
  11. <key>Input</key>
  12. <dict>
  13. <key>NAME</key>
  14. <string>ONLYOFFICE</string>
  15. </dict>
  16. <key>MinimumVersion</key>
  17. <string>1.0.0</string>
  18. <key>Process</key>
  19. <array>
  20. <dict>
  21. <key>Arguments</key>
  22. <dict>
  23. <key>appcast_url</key>
  24. <string>https://download.onlyoffice.com/install/desktop/editors/mac/x86_64/onlyoffice.xml</string>
  25. </dict>
  26. <key>Processor</key>
  27. <string>SparkleUpdateInfoProvider</string>
  28. </dict>
  29. <dict>
  30. <key>Arguments</key>
  31. <dict>
  32. <key>filename</key>
  33. <string>%NAME%-%version%.zip</string>
  34. </dict>
  35. <key>Processor</key>
  36. <string>URLDownloader</string>
  37. </dict>
  38. <dict>
  39. <key>Processor</key>
  40. <string>EndOfCheckPhase</string>
  41. </dict>
  42. <dict>
  43. <key>Arguments</key>
  44. <dict>
  45. <key>archive_path</key>
  46. <string>%pathname%</string>
  47. <key>destination_path</key>
  48. <string>%RECIPE_CACHE_DIR%/%NAME%</string>
  49. <key>purge_destination</key>
  50. <true/>
  51. </dict>
  52. <key>Processor</key>
  53. <string>Unarchiver</string>
  54. </dict>
  55. <dict>
  56. <key>Arguments</key>
  57. <dict>
  58. <key>input_path</key>
  59. <string>%RECIPE_CACHE_DIR%/%NAME%/ONLYOFFICE.app</string>
  60. <key>requirement</key>
  61. <string>anchor apple generic and identifier "asc.onlyoffice.ONLYOFFICE" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or 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] = "2WH24U26GJ")</string>
  62. </dict>
  63. <key>Processor</key>
  64. <string>CodeSignatureVerifier</string>
  65. </dict>
  66. </array>
  67. </dict>
  68. </plist>