Skip to content

Commit 646d469

Browse files
committed
Switch to JSONURLGetter
1 parent 4fe08c7 commit 646d469

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Flixel/Cinemagraph Pro.download.recipe

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>Comment</key>
6-
<string>Created with Recipe Robot v1.0.1 (https://github.com/homebysix/recipe-robot)</string>
75
<key>Description</key>
86
<string>Downloads the latest version of Cinemagraph Pro.</string>
97
<key>Identifier</key>
@@ -20,21 +18,24 @@
2018
<dict>
2119
<key>Arguments</key>
2220
<dict>
23-
<key>re_pattern</key>
24-
<string>"download":"(https://cdn.flixel.com/downloads/CinemagraphPro-(?P&lt;version&gt;[\d\.]+)\.zip)"</string>
25-
<key>result_output_var_name</key>
26-
<string>url</string>
21+
<key>keys</key>
22+
<array>
23+
<string>download</string>
24+
<string>short_version_string</string>
25+
</array>
2726
<key>url</key>
2827
<string>https://flixel.com/api/releases/mac-pro/latest/</string>
2928
</dict>
3029
<key>Processor</key>
31-
<string>URLTextSearcher</string>
30+
<string>com.github.n8felton.shared/JSONURLGetter</string>
3231
</dict>
3332
<dict>
3433
<key>Arguments</key>
3534
<dict>
3635
<key>filename</key>
37-
<string>%NAME%-%version%.zip</string>
36+
<string>%NAME%-%short_version_string%.zip</string>
37+
<key>url</key>
38+
<string>%download%</string>
3839
</dict>
3940
<key>Processor</key>
4041
<string>URLDownloader</string>

0 commit comments

Comments
 (0)