Update changed name and updated how we deal with the file type change.
If this changes again, will reach out to the devs and find out what's going on
<key>url</key>
<string>%DOWNLOAD_URL%</string>
<key>re_pattern</key>
- <string>href="(https://hudl-content.s3.amazonaws.com/craft/elite/downloads/HudlSportscode-12.*?.dmg\?mtime=.*?)"</string>
+ <string>href="(https://hudl-content.s3.amazonaws.com/craft/elite/downloads/HudlSportscode12.*?.dmg.zip\?mtime=.*?)"</string>
<key>request_headers</key>
<dict>
<key>user-agent</key>
<key>Arguments</key>
<dict>
<key>filename</key>
- <string>%NAME%.dmg</string>
+ <string>%NAME%.dmg.zip</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
+ <dict>
+ <key>Processor</key>
+ <string>Unarchiver</string>
+ <key>Arguments</key>
+ <dict>
+ <key>archive_path</key>
+ <string>%pathname%</string>
+ <key>destination_path</key>
+ <string>%RECIPE_CACHE_DIR%/dmg_unpack/</string>
+ <key>purge_destination</key>
+ <true/>
+ </dict>
+ </dict>
<dict>
<key>Processor</key>
<string>PkgRootCreator</string>
<key>Arguments</key>
<dict>
<key>pattern</key>
- <string>%RECIPE_CACHE_DIR%/downloads/%NAME%.dmg</string>
+ <string>%RECIPE_CACHE_DIR%/dmg_unpack/HudlSportscode*.dmg</string>
</dict>
</dict>
<dict>
