Skip to content

Commit

Permalink
Add Black Eye recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Mar 2, 2024
1 parent bc3e6b6 commit 9def95c
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 0 deletions.
44 changes: 44 additions & 0 deletions BlackEye/BlackEye.download.recipe
Original file line number Diff line number Diff line change
@@ -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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Black Eye.</string>
<key>Identifier</key>
<string>com.github.homebysix.download.BlackEye</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>BlackEye</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>github_repo</key>
<string>drewdiver/Black-Eye</string>
</dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>
58 changes: 58 additions & 0 deletions BlackEye/BlackEye.munki.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Black Eye and imports it into Munki.</string>
<key>Identifier</key>
<string>com.github.homebysix.munki.BlackEye</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/%NAME%</string>
<key>NAME</key>
<string>BlackEye</string>
<key>pkginfo</key>
<dict>
<key>blocking_applications</key>
<array>
<string>Black Eye.app</string>
</array>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>Keep your Mac awake.</string>
<key>developer</key>
<string>Drew Diver</string>
<key>display_name</key>
<string>Black Eye</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.BlackEye</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>
35 changes: 35 additions & 0 deletions BlackEye/BlackEye.pkg.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Black Eye and creates a package.</string>
<key>Identifier</key>
<string>com.github.homebysix.pkg.BlackEye</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>BlackEye</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.homebysix.download.BlackEye</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
<key>source_pkg</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>PkgCopier</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 9def95c

Please sign in to comment.