Skip to content

Commit

Permalink
[TIDAL] Adding download and munki recipes (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
CWhits committed Feb 16, 2018
1 parent a0fe017 commit 4b60ff0
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
44 changes: 44 additions & 0 deletions Tidal/Tidal.download.recipe
@@ -0,0 +1,44 @@
<?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>Downloads the latest version of Tidal.</string>
<key>Identifier</key>
<string>com.github.n8felton.download.Tidal</string>
<key>MinimumVersion</key>
<string>0.6.1</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Tidal</string>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>http://download.tidal.com/desktop/TIDAL.dmg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%/TIDAL.app</string>
<key>requirement</key>
<string>identifier "com.tidal.desktop" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = GK2243L7KB</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>
54 changes: 54 additions & 0 deletions Tidal/Tidal.munki.recipe
@@ -0,0 +1,54 @@
<?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>Downloads Tidal disk image and imports into Munki.</string>
<key>Identifier</key>
<string>com.github.n8felton.munki.Tidal</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/Tidal</string>
<key>NAME</key>
<string>Tidal</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>TIDAL is the first music service with High Fidelity sound quality, High Definition music videos and Curated Editorial, expertly crafted by music journalists.</string>
<key>display_name</key>
<string>TIDAL</string>
<key>name</key>
<string>%NAME%</string>
<key>category</key>
<string>Productivity</string>
<key>developer</key>
<string>Aspiro AB</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.n8felton.download.Tidal</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 4b60ff0

Please sign in to comment.