From d50950e0122ac615b6edada29842c84b3984fea1 Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Sat, 10 Dec 2022 12:59:52 +1100 Subject: [PATCH] Add AutoPkg DMG recipe --- Mist.dmg.recipe.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Mist.dmg.recipe.yaml diff --git a/Mist.dmg.recipe.yaml b/Mist.dmg.recipe.yaml new file mode 100644 index 0000000..0b258b2 --- /dev/null +++ b/Mist.dmg.recipe.yaml @@ -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"