Skip to content
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
26 changes: 24 additions & 2 deletions Bio3DColorado/IMOD.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of IMOD.</string>
<string>Downloads the latest version of IMOD.

Valid values for ARCH include:
- "intel" (default, Intel)
- "arm64" (Apple Silicon)
</string>
<key>Identifier</key>
<string>com.github.scriptingosx.download.IMOD</string>
<key>Input</key>
<dict>
<key>ARCH</key>
<string>intel</string>
<key>NAME</key>
<string>IMOD</string>
</dict>
Expand All @@ -19,7 +26,7 @@
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>(?P&lt;url&gt;osx/(?P&lt;scriptname&gt;imod_(?P&lt;version&gt;\d+\.\d+\.\d+)_osx64_(?P&lt;osx_version&gt;10\.\d+)_(?P&lt;cuda_version&gt;CUDA\d+\.\d+)\..*sh))</string>
<string>(osx/imod_[\d\.]+(_osx\d+)?_%ARCH%\.pkg)</string>
<key>result_output_var_name</key>
<string>url</string>
<key>url</key>
Expand All @@ -41,6 +48,21 @@
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: David Mastronarde (JNF2CPUCK9)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>