Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix REDCINE-XPRO.download recipe #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions REDCINE-XPRO/REDCINE-XPRO.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,35 @@ SPARKLE_FEED_URL could be overridden to the above if you wish to fetch beta vers
<dict>
<key>NAME</key>
<string>REDCINE-XPRO</string>
<key>SPARKLE_FEED_URL</key>
<string>https://downloads.red.com/software/rcx/rss/mac_pkg.xml</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>SparkleUpdateInfoProvider</string>
<string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>appcast_url</key>
<string>%SPARKLE_FEED_URL%</string>
<key>re_pattern</key>
<string>data-name="REDCINE-X PRO \(MAC\)" data-versioninternalid="(\d+)" download=</string>
<key>result_output_var_name</key>
<string>versionid</string>
<key>url</key>
<string>https://www.red.com/download/redcine-x-pro-mac</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>versionUrl":"(https://downloads\.red\.com/software/rcx/mac/release/[\d\.]+/REDCINE-X_PRO_Build_[\d\.]+\.pkg)"}</string>
<key>result_output_var_name</key>
<string>url</string>
<key>url</key>
<string>https://www.red.com/RedSuiteCentric/SCA-Kilimanjaro/services/DownloadUrl.Service.ss?internalid=%versionid%</string>
</dict>
</dict>
<dict>
Expand All @@ -39,6 +54,21 @@ SPARKLE_FEED_URL could be overridden to the above if you wish to fetch beta vers
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%</string>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: RED Digital Cinema (4ER5V66EKT)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>