From f9dd5defbccbc90d3f9d26a370fb892586c9fa76 Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Tue, 2 Jul 2024 12:40:35 -0700 Subject: [PATCH] Add recipes for Browserosaurus --- Browserosaurus/Browserosaurus.download.recipe | 81 +++++++++++++++++++ Browserosaurus/Browserosaurus.munki.recipe | 65 +++++++++++++++ Browserosaurus/Browserosaurus.pkg.recipe | 33 ++++++++ 3 files changed, 179 insertions(+) create mode 100644 Browserosaurus/Browserosaurus.download.recipe create mode 100644 Browserosaurus/Browserosaurus.munki.recipe create mode 100644 Browserosaurus/Browserosaurus.pkg.recipe diff --git a/Browserosaurus/Browserosaurus.download.recipe b/Browserosaurus/Browserosaurus.download.recipe new file mode 100644 index 00000000..fe9c4782 --- /dev/null +++ b/Browserosaurus/Browserosaurus.download.recipe @@ -0,0 +1,81 @@ + + + + + Comment + Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot) + Description + Downloads the latest version of Browserosaurus. + Identifier + com.github.homebysix.download.Browserosaurus + Input + + NAME + Browserosaurus + + MinimumVersion + 2.3 + Process + + + Arguments + + asset_regex + .*\.zip$ + github_repo + will-stone/browserosaurus + + Processor + GitHubReleasesInfoProvider + + + Arguments + + filename + %NAME%-%version%.zip + + Processor + URLDownloader + + + Processor + EndOfCheckPhase + + + Arguments + + archive_path + %pathname% + destination_path + %RECIPE_CACHE_DIR%/%NAME% + purge_destination + + + Processor + Unarchiver + + + Arguments + + input_path + %RECIPE_CACHE_DIR%/%NAME%/Browserosaurus.app + requirement + identifier "com.browserosaurus" 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] = Z89KPMLTFR + + Processor + CodeSignatureVerifier + + + Arguments + + input_plist_path + %RECIPE_CACHE_DIR%/%NAME%/Browserosaurus.app/Contents/Info.plist + plist_version_key + CFBundleShortVersionString + + Processor + Versioner + + + + diff --git a/Browserosaurus/Browserosaurus.munki.recipe b/Browserosaurus/Browserosaurus.munki.recipe new file mode 100644 index 00000000..175c3673 --- /dev/null +++ b/Browserosaurus/Browserosaurus.munki.recipe @@ -0,0 +1,65 @@ + + + + + Comment + Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot) + Description + Downloads the latest version of Browserosaurus and imports it into Munki. + Identifier + com.github.homebysix.munki.Browserosaurus + Input + + MUNKI_REPO_SUBDIR + apps/%NAME% + NAME + Browserosaurus + pkginfo + + catalogs + + testing + + description + 🦖 The browser prompter for macOS + developer + Will Stone + display_name + Browserosaurus + name + %NAME% + unattended_install + + + + MinimumVersion + 2.3 + ParentRecipe + com.github.homebysix.download.Browserosaurus + Process + + + Arguments + + dmg_path + %RECIPE_CACHE_DIR%/%NAME%.dmg + dmg_root + %RECIPE_CACHE_DIR%/%NAME% + + Processor + DmgCreator + + + Arguments + + pkg_path + %dmg_path% + repo_subdirectory + %MUNKI_REPO_SUBDIR% + + Processor + MunkiImporter + + + + diff --git a/Browserosaurus/Browserosaurus.pkg.recipe b/Browserosaurus/Browserosaurus.pkg.recipe new file mode 100644 index 00000000..a5934cea --- /dev/null +++ b/Browserosaurus/Browserosaurus.pkg.recipe @@ -0,0 +1,33 @@ + + + + + Comment + Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot) + Description + Downloads the latest version of Browserosaurus and creates a package. + Identifier + com.github.homebysix.pkg.Browserosaurus + Input + + NAME + Browserosaurus + + MinimumVersion + 2.3 + ParentRecipe + com.github.homebysix.download.Browserosaurus + Process + + + Arguments + + app_path + %RECIPE_CACHE_DIR%/%NAME%/Browserosaurus.app + + Processor + AppPkgCreator + + + +