-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDisplayLink.download.recipe
executable file
·78 lines (78 loc) · 2.22 KB
/
DisplayLink.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
<?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 the DisplayLink Manager App.</string>
<key>Identifier</key>
<string>com.github.beatlemike.download.DisplayLink</string>
<key>Input</key>
<dict>
<key>BASE_URL</key>
<string>https://www.synaptics.com</string>
<key>NAME</key>
<string>DisplayLink Manager</string>
<key>SEARCH_URL</key>
<string>products/displaylink-graphics/downloads/macos</string>
<key>SOFTWARE_TITLE</key>
<string>DisplayLink_Manager</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>DisplayLink Manager Graphics Connectivity(?! BETA).*\s.*\s.*\s.*\s.*\s.*\s.*\s.*\s.*\s.*\s.*\s.*a href=\"(?P<match>\/node\/\d{4}\?filetype=exe)\" class=\"download-link\">Download<\/a></string>
<key>url</key>
<string>%BASE_URL%/%SEARCH_URL%</string>
</dict>
<key>Processor</key>
<string>URLTextSearcher</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string><a.*href="(?P<download_url>.*[.]pkg)" download>Accept<\/a></string>
<key>url</key>
<string>%BASE_URL%%match%</string>
</dict>
<key>Processor</key>
<string>URLTextSearcher</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%SOFTWARE_TITLE%.pkg</string>
<key>url</key>
<string>%BASE_URL%%download_url%</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: DisplayLink Corp (73YQY62QM3)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>