diff --git a/Zoom/ZoomIT.download.recipe b/Zoom/ZoomIT.download.recipe
index b3dd738..921c567 100644
--- a/Zoom/ZoomIT.download.recipe
+++ b/Zoom/ZoomIT.download.recipe
@@ -12,8 +12,6 @@
Zoom Client for IT
DOWNLOAD_URL
https://zoom.us/client/latest/ZoomInstallerIT.pkg
- USER_AGENT
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10
MinimumVersion
0.2.0
@@ -26,11 +24,6 @@
url
%DOWNLOAD_URL%
- request_headers
-
- user-agent
- %USER_AGENT%
-
filename
%NAME%.pkg
diff --git a/Zoom/Zoom_IT.download.recipe.yaml b/Zoom/Zoom_IT.download.recipe.yaml
new file mode 100644
index 0000000..eae9fae
--- /dev/null
+++ b/Zoom/Zoom_IT.download.recipe.yaml
@@ -0,0 +1,23 @@
+Description: Downloads the latest version of the Zoom client for IT Administrators.
+Identifier: com.github.smithjw.download.zoom_it
+MinimumVersion: '2.3'
+
+Input:
+ NAME: Zoom
+ DOWNLOAD_URL: https://zoom.us/client/latest/ZoomInstallerIT.pkg
+
+Process:
+- Processor: URLDownloader
+ Arguments:
+ filename: '%NAME%.pkg'
+ url: '%DOWNLOAD_URL%'
+
+- Processor: EndOfCheckPhase
+
+- Processor: CodeSignatureVerifier
+ Arguments:
+ expected_authority_names:
+ - 'Developer ID Installer: Zoom Video Communications, Inc. (BJ4HAAB9B3)'
+ - Developer ID Certification Authority
+ - Apple Root CA
+ input_path: '%pathname%'
\ No newline at end of file
diff --git a/Zoom/Zoom_IT.jamf.recipe.yaml b/Zoom/Zoom_IT.jamf.recipe.yaml
index 2a5d604..e31738d 100644
--- a/Zoom/Zoom_IT.jamf.recipe.yaml
+++ b/Zoom/Zoom_IT.jamf.recipe.yaml
@@ -1,6 +1,6 @@
Description: Downloads the latest version and makes a pkg. Then, uploads the package to the Jamf Pro Server and creates a Self Service Policy and Smart Group.
Identifier: com.github.smithjw.jamf.zoom_it
-ParentRecipe: com.github.smithjw.download.ZoomIT
+ParentRecipe: com.github.smithjw.pkg.zoom_it
MinimumVersion: '2.3'
Input:
@@ -14,11 +14,11 @@ Input:
POLICY_NAME: 'Install Latest %NAME%'
POLICY_RUN_COMMAND: 'chown -R "$(stat -f%Su /dev/console):staff" "/Applications/%NAME%.app" && echo "Corrected permissions for %NAME%."'
SELF_SERVICE_DISPLAY_NAME: 'Install Latest %NAME%'
- SELF_SERVICE_DESCRIPTION: 'Plantronics Hub for Mac, part of the Plantronics software portfolio, is a client application that allows users to control the settings on their Plantronics.'
- SELF_SERVICE_ICON: '%SOFTWARE_TITLE%.png'
+ SELF_SERVICE_DESCRIPTION: 'The Zoom app provides cloud-hosted video conferencing, plus online meetings and group messaging.'
+ SELF_SERVICE_ICON: '%NAME%.png'
SOFTWARE_TITLE: '%NAME%'
INSTALL_BUTTON_TEXT: 'Install'
- REINSTALL_BUTTON_TEXT: 'Install'
+ REINSTALL_BUTTON_TEXT: 'Reinstall'
UPDATE_PREDICATE: 'pkg_uploaded == False'
Process:
diff --git a/Zoom/Zoom_IT.pkg.recipe.yaml b/Zoom/Zoom_IT.pkg.recipe.yaml
new file mode 100644
index 0000000..e8b723b
--- /dev/null
+++ b/Zoom/Zoom_IT.pkg.recipe.yaml
@@ -0,0 +1,36 @@
+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: PathDeleter
+ Arguments:
+ path_list:
+ - '%RECIPE_CACHE_DIR%/unpack'
+ - '%RECIPE_CACHE_DIR%/expand'
\ No newline at end of file