/
customdisplayprofiles.download.recipe
50 lines (50 loc) · 1.41 KB
/
customdisplayprofiles.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
<?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 release of customdisplayprofiles from GitHub.
No code signature is possible, hence its omission.
You must specify the ARCHITECTURE: intel or applesilicon.</string>
<key>Identifier</key>
<string>com.github.jazzace.download.customdisplayprofiles</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>customdisplayprofiles</string>
<key>ARCHITECTURE</key>
<string>applesilicon</string>
</dict>
<key>MinimumVersion</key>
<string>2.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>tag/v([\d.]+)</string>
<key>result_output_var_name</key>
<string>version</string>
<key>url</key>
<string>https://github.com/timsutton/customdisplayprofiles/releases</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>https://github.com/timsutton/customdisplayprofiles/releases/download/v%version%/customdisplayprofiles-%ARCHITECTURE%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>