forked from autopkg/smithjw-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZoom_IT.pkg.recipe.yaml
37 lines (30 loc) · 1.09 KB
/
Zoom_IT.pkg.recipe.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: Downloads the latest version of the Zoom client for IT Administrators.
Identifier: com.github.smithjw.pkg.zoom_it
ParentRecipe: com.github.smithjw.download.zoom_it
MinimumVersion: '2.3'
Input:
NAME: Zoom
Process:
- Processor: FlatPkgUnpacker
Arguments:
destination_path: '%RECIPE_CACHE_DIR%/expand'
flat_pkg_path: '%pathname%'
- Processor: PkgPayloadUnpacker
Arguments:
destination_path: '%RECIPE_CACHE_DIR%/unpack'
pkg_payload_path: '%RECIPE_CACHE_DIR%/expand/zoomus.pkg/Payload'
- Processor: Versioner
Arguments:
input_plist_path: '%RECIPE_CACHE_DIR%/unpack/zoom.us.app/Contents/Info.plist'
plist_version_key: CFBundleShortVersionString
- Processor: com.github.homebysix.VersionSplitter/VersionSplitter
- Processor: PkgCopier
Arguments:
pkg_path: '%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg'
source_pkg: '%pathname%'
- Processor: com.github.smithjw.processors/FriendlyPathDeleter
Arguments:
fail_deleter_silently: True
path_list:
- '%RECIPE_CACHE_DIR%/unpack'
- '%RECIPE_CACHE_DIR%/expand'