-
Notifications
You must be signed in to change notification settings - Fork 117
/
Mist.pkg.recipe.yaml
57 lines (57 loc) · 1.92 KB
/
Mist.pkg.recipe.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
Identifier: com.ninxsoft.pkg.mist
Input:
NAME: Mist
IDENTIFIER: com.ninxsoft.pkg.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: PkgRootCreator
Arguments:
pkgroot: "%RECIPE_CACHE_DIR%/payload"
pkgdirs:
"Applications": "0755"
- Processor: Copier
Arguments:
source_path: "/Applications/Mist.app"
destination_path: "%RECIPE_CACHE_DIR%/payload/Applications/Mist.app"
- Processor: PkgCreator
Arguments:
pkg_request:
id: "%IDENTIFIER%"
version: "%version%"
pkgtype: flat
pkgroot: "%RECIPE_CACHE_DIR%/payload"
pkgdir: "%RECIPE_CACHE_DIR%"
pkgname: "%NAME%-%version%"
chown:
- path: /Applications
user: root
group: wheel
mode: "0755"
- path: /Applications/Mist.app
user: root
group: wheel
mode: "0755"
- Processor: com.github.rtrouton.SharedProcessors/PkgSigner
Arguments:
pkg_path: "%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg"
signing_cert: "%DEVELOPER_ID_INSTALLER%"
- Processor: FileMover
Arguments:
source: "%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg"
target: "%DESTINATION_DIR%/%NAME% %version%.pkg"
- Processor: PathDeleter
Arguments:
path_list:
- "%RECIPE_CACHE_DIR%/%NAME%-%version%-unsigned.pkg"