Created
June 12, 2023 18:40
-
-
Save pyther/a3296ffe38f4c730ccbc3ad8d7fefe4e to your computer and use it in GitHub Desktop.
This file contains 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 characters
--- | |
Description: Downloads the latest Slack disk image | |
Identifier: org.example.autopkg.download.slack | |
Input: | |
NAME: Slack | |
DOWNLOAD_URL: https://slack.com/ssb/download-osx-universal | |
MinimumVersion: "2.3" | |
Process: | |
- Processor: URLDownloader | |
Arguments: | |
url: "%DOWNLOAD_URL%" | |
filename: "%NAME%.dmg" | |
- Processor: EndOfCheckPhase | |
- Processor: CodeSignatureVerifier | |
Arguments: | |
input_path: "%pathname%/Slack.app" | |
requirement: 'identifier "com.tinyspeck.slackmacgap" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = BQR82RBBHL' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment