Skip to content

Instantly share code, notes, and snippets.

@timsutton
Last active December 20, 2015 05:59
Show Gist options
  • Save timsutton/6082345 to your computer and use it in GitHub Desktop.
Save timsutton/6082345 to your computer and use it in GitHub Desktop.
Sample OmniGroup autopkg recipes using Sparkle provider
<?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>Input</key>
<dict>
<key>IDENTIFIER</key>
<string>com.googlecode.autopkg.munki.OmniGraffleAppcast</string>
<key>NAME</key>
<string>Omnigraffle</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/Omnigraffle</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>display_name</key>
<string>Omnigraffle</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>SparkleUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
<key>appcast_url</key>
<string>http://update.omnigroup.com/appcast/com.omnigroup.OmniGraffle</string>
<key>alternate_xmlns_url</key>
<string>http://www.omnigroup.com/namespace/omniappcast/v1</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<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>
<?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>Input</key>
<dict>
<key>IDENTIFIER</key>
<string>com.googlecode.autopkg.munki.OmniPlanAppcast</string>
<key>NAME</key>
<string>Omniplan</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/Omniplan</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>display_name</key>
<string>Omniplan</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>SparkleUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
<key>appcast_url</key>
<string>http://update.omnigroup.com/appcast/com.omnigroup.OmniPlan2</string>
<key>alternate_xmlns_url</key>
<string>http://www.omnigroup.com/namespace/omniappcast/v1</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment