Skip to content

Commit 1106978

Browse files
TonyPacon8felton
authored andcommitted
Update BlueJ.download.recipe
Add ARCH consideration
1 parent 9b3066d commit 1106978

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

BlueJ/BlueJ.download.recipe

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
<plist version="1.0">
44
<dict>
55
<key>Description</key>
6-
<string>Downloads the latest version of BlueJ.</string>
6+
<string>Downloads the latest version of BlueJ. Set ARCH to x64 for Intel (default), aarch64 for Apple Silicon/Universal.</string>
77
<key>Identifier</key>
88
<string>com.github.n8felton.download.BlueJ</string>
99
<key>Input</key>
1010
<dict>
1111
<key>BASE_URL</key>
1212
<string>https://www.bluej.org</string>
13+
<key>ARCH</key>
14+
<string>x64</string>
1315
<key>DOWNLOAD_URL</key>
1416
<string>%BASE_URL%/versions.html</string>
1517
<key>NAME</key>
@@ -27,7 +29,7 @@
2729
<key>url</key>
2830
<string>%DOWNLOAD_URL%</string>
2931
<key>re_pattern</key>
30-
<string>&lt;a href=&quot;download/files/(BlueJ-mac-\d+[a-z]?\.dmg)&quot;&gt;</string>
32+
<string>&lt;a href=&quot;download/files/(BlueJ-mac-%ARCH%-\d+\.dmg)&quot;&gt;</string>
3133
</dict>
3234
</dict>
3335
<dict>

0 commit comments

Comments
 (0)