Skip to content

Instantly share code, notes, and snippets.

@rustymyers
Created August 4, 2016 12:42
Show Gist options
  • Save rustymyers/cb5cc2aa535209dfc9a0a08deb5717f2 to your computer and use it in GitHub Desktop.
Save rustymyers/cb5cc2aa535209dfc9a0a08deb5717f2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Fetches the latest Sassafras KeyClient Mac installer.
REVISION is the major version without a decimal, for example:
7.0: 70
7.1: 71
7.2: 72
7.3: 73
This recipe supports only a REVISION of 70 and up. If REVISION
is set to an empty string, the latest version will be retrieved.
</string>
<key>Identifier</key>
<string>edu.psu.download.sassafras-k2client-win-64</string>
<key>Input</key>
<dict>
<key>REVISION</key>
<string>73</string>
<key>NAME</key>
<string>K2Client</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>url</key>
<string>http://www.sassafras.com/k2/revisions/current/Installers/Windows%20Installers/Client/K2Client-x64.exe</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>com.github.hansen-m.SharedProcessors/WinInstallerExtractor</string>
<key>Arguments</key>
<dict>
<key>exe_path</key>
<string>%pathname%</string>
<key>extract_dir</key>
<string>ExeExtract</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>com.github.hansen-m.SharedProcessors/BESRelevanceProvider</string>
<key>Arguments</key>
<dict>
<key>bes_filepath</key>
<string>%pathname%</string>
<key>output_var_name</key>
<string>version</string>
<key>bes_relevance</key>
<string>following text of first "Version=" of line whose (it starts with "Version=") of file "%RECIPE_CACHE_DIR%/ExeExtract/core/application.ini"</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PathDeleter</string>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/ExeExtract</string>
</array>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment