Skip to content

Commit

Permalink
Merge pull request #621 from homebysix/ezeep
Browse files Browse the repository at this point in the history
Adjust Ezeep recipes to use Ezeep Print App version
  • Loading branch information
homebysix authored Jan 16, 2024
2 parents 4469502 + 1a5b182 commit 7555eca
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 2 deletions.
39 changes: 38 additions & 1 deletion ezeep/ezeepBluePrintApp.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<key>Arguments</key>
<dict>
<key>pattern</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/ezeep Print App macOS */*.pkg</string>
<string>%RECIPE_CACHE_DIR%/%NAME%/ezeep Blue Print App Mac */ezeep Print App.pkg</string>
</dict>
<key>Processor</key>
<string>FileFinder</string>
Expand All @@ -72,6 +72,43 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<key>flat_pkg_path</key>
<string>%found_filename%</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/ezeep Print App Component.pkg/Payload</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/payload/Applications/ezeep Print App/ezeep Print App.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
</array>
</dict>
</plist>
28 changes: 28 additions & 0 deletions ezeep/ezeepBluePrintApp.munki.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<string>apps/%NAME%</string>
<key>NAME</key>
<string>ezeep Print App</string>
<key>pkg_ids_set_optional_true</key>
<array>
<string>com.thinprint.ezeep.printapp.logging</string>
<string>com.thinprint.ezeep.printapp.printerdriver</string>
<string>com.ThinPrint.TPAutoConnect.PPDGen</string>
<string>com.ThinPrint.TPAutoConnect</string>
</array>
<key>pkginfo</key>
<dict>
<key>blocking_applications</key>
Expand Down Expand Up @@ -46,6 +53,18 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<string>com.github.homebysix.download.ezeepBluePrintApp</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>additional_pkginfo</key>
<dict>
<key>version</key>
<string>%version%</string>
</dict>
</dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
Expand All @@ -57,6 +76,15 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkginfo_repo_path</key>
<string>%pkginfo_repo_path%</string>
</dict>
<key>Processor</key>
<string>MunkiOptionalReceiptEditor</string>
</dict>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ezeep/ezeepBluePrintApp.pkg.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ For the older "ezeep Desktop" app, use the ezeepDesktop recipes.</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%.pkg</string>
<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
<key>source_pkg</key>
<string>%found_filename%</string>
</dict>
Expand Down

0 comments on commit 7555eca

Please sign in to comment.