-
Notifications
You must be signed in to change notification settings - Fork 11
/
Low Profile.pkg.recipe.yaml
35 lines (35 loc) · 1.24 KB
/
Low Profile.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
---
Identifier: com.ninxsoft.pkg.lowprofile
Input:
NAME: Low Profile
Process:
- Processor: URLDownloader
Arguments:
PKG: /Applications/Low Profile.app
url: ''
- Processor: EndOfCheckPhase
- Processor: CodeSignatureVerifier
Arguments:
input_path: "%pathname%"
requirement: 'anchor apple generic and identifier "com.ninxsoft.lowprofile" 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: AppPkgCreator
Arguments:
app_path: "%pathname%"
pkg_path: "%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg"
version: "%version%"
- Processor: 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%/payload"
- "%RECIPE_CACHE_DIR%/%NAME%-%version%-unsigned.pkg"