Update Code42.download.recipe
<string>com.github.dataJAR-recipes.download.Code42</string>
<key>Input</key>
<dict>
- <key>APP_FILENAME</key>
- <string>Code42</string>
<key>NAME</key>
<string>Code42</string>
</dict>
<key>Process</key>
<array>
<dict>
+ <key>Processor</key>
+ <string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<key>url</key>
<string>https://download.code42.com/installs/agent/latest-mac.dmg</string>
</dict>
- <key>Processor</key>
- <string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
+ <key>Processor</key>
+ <string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<key>input_path</key>
<string>%pathname%/Install Code42.pkg</string>
</dict>
- <key>Processor</key>
- <string>CodeSignatureVerifier</string>
- </dict>
- <dict>
- <key>Arguments</key>
- <dict>
- <key>destination_path</key>
- <string>%RECIPE_CACHE_DIR%/unpack</string>
- <key>flat_pkg_path</key>
- <string>%pathname%/Install Code42.pkg</string>
- <key>purge_destination</key>
- <true/>
- </dict>
- <key>Processor</key>
- <string>FlatPkgUnpacker</string>
- </dict>
- <dict>
- <key>Arguments</key>
- <dict>
- <key>destination_path</key>
- <string>%RECIPE_CACHE_DIR%/payload</string>
- <key>pkg_payload_path</key>
- <string>%RECIPE_CACHE_DIR%/unpack/code42.pkg/Payload</string>
- <key>purge_destination</key>
- <true/>
- </dict>
- <key>Processor</key>
- <string>PkgPayloadUnpacker</string>
- </dict>
- <dict>
- <key>Arguments</key>
- <dict>
- <key>info_path</key>
- <string>%RECIPE_CACHE_DIR%/payload/Code42.app/Contents/Info.plist</string>
- <key>plist_keys</key>
- <dict>
- <key>CFBundleShortVersionString</key>
- <string>version</string>
- </dict>
- </dict>
- <key>Processor</key>
- <string>PlistReader</string>
</dict>
</array>
</dict>
