Update Rhino 7.download.recipe
.download amended to use SparkleUpdateInfoProvider
<dict>
<key>NAME</key>
<string>Rhino 7</string>
- <key>SEARCH_URL</key>
+ <key>SPARKLE_FEED_URL</key>
<string>https://files.mcneel.com/rhino/7/mac/updates/commercialUpdates.xml</string>
</dict>
<key>MinimumVersion</key>
<key>Process</key>
<array>
<dict>
- <key>Arguments</key>
- <dict>
- <key>re_pattern</key>
- <string>sparkle:version="(?P&lt;version&gt;([0-9.]+))</string>
- <key>url</key>
- <string>%SEARCH_URL%</string>
- </dict>
<key>Processor</key>
- <string>URLTextSearcher</string>
- </dict>
- <dict>
+ <string>SparkleUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
- <key>re_pattern</key>
- <string>url="(?P&lt;url&gt;http.*.dmg)</string>
- <key>url</key>
- <string>%SEARCH_URL%</string>
+ <key>appcast_url</key>
+ <string>%SPARKLE_FEED_URL%</string>
</dict>
- <key>Processor</key>
- <string>URLTextSearcher</string>
</dict>
<dict>
- <key>Arguments</key>
- <dict>
- <key>url</key>
- <string>%url%</string>
- </dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<string>EndOfCheckPhase</string>
</dict>
<dict>
+ <key>Processor</key>
+ <string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<key>requirement</key>
<string>anchor apple generic and identifier "com.mcneel.rhinoceros.7" 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] = D6XDM4N99E)</string>
</dict>
- <key>Processor</key>
- <string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
