From 1a5b18290909f6f1471d3d2b39cdcc500a9134f6 Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Tue, 16 Jan 2024 12:56:40 -0800 Subject: [PATCH] Adjust Ezeep recipes to use Ezeep Print App version --- ezeep/ezeepBluePrintApp.download.recipe | 39 ++++++++++++++++++++++++- ezeep/ezeepBluePrintApp.munki.recipe | 28 ++++++++++++++++++ ezeep/ezeepBluePrintApp.pkg.recipe | 2 +- 3 files changed, 67 insertions(+), 2 deletions(-) diff --git a/ezeep/ezeepBluePrintApp.download.recipe b/ezeep/ezeepBluePrintApp.download.recipe index 08f33737..d4741633 100644 --- a/ezeep/ezeepBluePrintApp.download.recipe +++ b/ezeep/ezeepBluePrintApp.download.recipe @@ -52,7 +52,7 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. Arguments pattern - %RECIPE_CACHE_DIR%/%NAME%/ezeep Print App macOS */*.pkg + %RECIPE_CACHE_DIR%/%NAME%/ezeep Blue Print App Mac */ezeep Print App.pkg Processor FileFinder @@ -72,6 +72,43 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. Processor CodeSignatureVerifier + + Arguments + + destination_path + %RECIPE_CACHE_DIR%/unpack + flat_pkg_path + %found_filename% + purge_destination + + + Processor + FlatPkgUnpacker + + + Arguments + + destination_path + %RECIPE_CACHE_DIR%/payload + pkg_payload_path + %RECIPE_CACHE_DIR%/unpack/ezeep Print App Component.pkg/Payload + purge_destination + + + Processor + PkgPayloadUnpacker + + + Arguments + + input_plist_path + %RECIPE_CACHE_DIR%/payload/Applications/ezeep Print App/ezeep Print App.app/Contents/Info.plist + plist_version_key + CFBundleShortVersionString + + Processor + Versioner + diff --git a/ezeep/ezeepBluePrintApp.munki.recipe b/ezeep/ezeepBluePrintApp.munki.recipe index 1128e3df..eb2c456d 100644 --- a/ezeep/ezeepBluePrintApp.munki.recipe +++ b/ezeep/ezeepBluePrintApp.munki.recipe @@ -17,6 +17,13 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. apps/%NAME% NAME ezeep Print App + pkg_ids_set_optional_true + + com.thinprint.ezeep.printapp.logging + com.thinprint.ezeep.printapp.printerdriver + com.ThinPrint.TPAutoConnect.PPDGen + com.ThinPrint.TPAutoConnect + pkginfo blocking_applications @@ -46,6 +53,18 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. com.github.homebysix.download.ezeepBluePrintApp Process + + Arguments + + additional_pkginfo + + version + %version% + + + Processor + MunkiPkginfoMerger + Arguments @@ -57,6 +76,15 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. Processor MunkiImporter + + Arguments + + pkginfo_repo_path + %pkginfo_repo_path% + + Processor + MunkiOptionalReceiptEditor + diff --git a/ezeep/ezeepBluePrintApp.pkg.recipe b/ezeep/ezeepBluePrintApp.pkg.recipe index 8175957f..59d5a8bd 100644 --- a/ezeep/ezeepBluePrintApp.pkg.recipe +++ b/ezeep/ezeepBluePrintApp.pkg.recipe @@ -26,7 +26,7 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes. Arguments pkg_path - %RECIPE_CACHE_DIR%/%NAME%.pkg + %RECIPE_CACHE_DIR%/%NAME%-%version%.pkg source_pkg %found_filename%