forked from beatlemike/autopkg-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Audacity.download.recipe
52 lines (52 loc) · 1.81 KB
/
Audacity.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
<?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 current release version of Audacity via the project
website. The downloads redirect to a fosshub.com download page, which
is also searched for a download link. Permission has been received for Penn State to automate the download.
Note: the Audacity.app code object is not signed at all.</string>
<key>Identifier</key>
<string>com.github.beatlemike.download.Audacity</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Audacity</string>
<key>USER_AGENT</key>
<string>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.9</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>com.github.rustymyers.SharedProcessors/FossHubURLProvider</string>
<key>Arguments</key>
<dict>
<key>app_name</key>
<string>Audacity</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%url%</string>
<key>request_headers</key>
<dict>
<key>user-agent</key>
<string>%USER_AGENT%</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
</array>
</dict>
</plist>