Skip to content

Instantly share code, notes, and snippets.

@pyther
Created June 12, 2023 18:40
Show Gist options
  • Save pyther/a3296ffe38f4c730ccbc3ad8d7fefe4e to your computer and use it in GitHub Desktop.
Save pyther/a3296ffe38f4c730ccbc3ad8d7fefe4e to your computer and use it in GitHub Desktop.
---
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