Created
June 12, 2023 18:42
-
-
Save pyther/0717b5696f13c5526fd506030062300c to your computer and use it in GitHub Desktop.
Revisions
-
pyther created this gist
Jun 12, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ --- Description: Downloads the latest Slack disk image and builds a package Identifier: org.example.autopkg.pkg.slack Input: NAME: Slack PKG_ID: com.tinyspeck.slackmacgap MinimumVersion: "2.3" ParentRecipe: org.example.autopkg.download.slack Process: - Processor: PkgRootCreator Arguments: pkgroot: "%RECIPE_CACHE_DIR%/%NAME%" pkgdirs: Applications: "0755" - Processor: Copier Arguments: source_path: "%pathname%/Slack.app" destination_path: "%pkgroot%/Applications/Slack.app" - Processor: AppDmgVersioner Arguments: dmg_path: "%pathname%" - Processor: PkgCreator Arguments: pkg_request: pkgname: "%NAME%-%version%" pkgdir: "%RECIPE_CACHE_DIR%" id: "%PKG_ID%" options: purge_ds_store chown: - path: Applications user: root group: admin%