forked from beatlemike/autopkg-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DockerARM.download.recipe
57 lines (57 loc) · 1.64 KB
/
DockerARM.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
<?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 Docker for Apple Silicon.</string>
<key>Identifier</key>
<string>com.github.beatlemike.download.DockerARM</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Docker for Apple Silicon</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>url</key>
<string>https://desktop.docker.com/mac/stable/arm64/Docker.dmg</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%/Docker.app</string>
<key>requirement</key>
<string>identifier "com.docker.docker" and anchor apple generic and 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] = "9BNSXJN65R"</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pathname%/Docker.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
</array>
</dict>
</plist>