-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathBigSurBlocker.download.recipe
97 lines (97 loc) · 2.69 KB
/
BigSurBlocker.download.recipe
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of Big Sur Blocker.</string>
<key>Identifier</key>
<string>io.github.hjuutilainen.download.BigSurBlocker</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>BigSurBlocker</string>
</dict>
<key>MinimumVersion</key>
<string>2.0.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
<key>Arguments</key>
<dict>
<key>github_repo</key>
<string>hjuutilainen/bigsurblocker</string>
<key>asset_regex</key>
<string>bigsurblocker-\d+.pkg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.pkg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%</string>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Hannes Juutilainen (8XXWJ76X9Y)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
<key>Arguments</key>
<dict>
<key>flat_pkg_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
<key>Arguments</key>
<dict>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/Payload</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%RECIPE_CACHE_DIR%/payload/usr/local/bin/bigsurblocker</string>
<key>requirement</key>
<string>anchor apple generic and identifier bigsurblocker 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] = "8XXWJ76X9Y")</string>
<key>strict_verification</key>
<true />
<key>expected_authority_names</key>
<array>
</array>
</dict>
</dict>
</array>
</dict>
</plist>