Add AutoPkg DMG recipe

This commit is contained in:
Nindi Gill 2022-12-10 12:59:52 +11:00
parent 044cbb45bb
commit d50950e012

21
Mist.dmg.recipe.yaml Normal file
View file

@ -0,0 +1,21 @@
---
Identifier: com.ninxsoft.dmg.mist
Input:
NAME: Mist
Process:
- Processor: URLDownloader
Arguments:
PKG: /Applications/Mist.app
url: ""
- Processor: EndOfCheckPhase
- Processor: CodeSignatureVerifier
Arguments:
input_path: "%pathname%"
requirement: 'anchor apple generic and identifier "com.ninxsoft.mist" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or 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] = "7K3HVCLV7Z")'
- Processor: Versioner
Arguments:
input_plist_path: "%pathname%/Contents/Info.plist"
- Processor: DmgCreator
Arguments:
dmg_root: "%pathname%"
dmg_path: "%DESTINATION_DIR%/%NAME% %version%.dmg"