Move URL into recipe out of input vars; use PlistReader
Hopefully can add min os in future
<dict>
<key>APP_FILENAME</key>
<string>Code42</string>
- <key>DOWNLOAD_URL</key>
- <string>https://download.code42.com/installs/agent/latest-mac.dmg</string>
<key>NAME</key>
<string>Code42</string>
</dict>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>url</key>
- <string>%DOWNLOAD_URL%</string>
+ <string>https://download.code42.com/installs/agent/latest-mac.dmg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
<dict>
<key>Arguments</key>
<dict>
- <key>input_plist_path</key>
+ <key>info_path</key>
<string>%RECIPE_CACHE_DIR%/payload/Code42.app/Contents/Info.plist</string>
- <key>plist_version_key</key>
- <string>CFBundleShortVersionString</string>
+ <key>plist_keys</key>
+ <dict>
+ <key>CFBundleShortVersionString</key>
+ <string>version</string>
+ </dict>
</dict>
<key>Processor</key>
- <string>Versioner</string>
+ <string>PlistReader</string>
</dict>
</array>
</dict>
