Skip to content

Commit 702b2c5

Browse files
paul-cosseyn8felton
authored andcommitted
Update MAMP.download.recipe
Updated to account for vendor URL changes
1 parent 17533ce commit 702b2c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

MAMP/MAMP.download.recipe

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<key>Description</key>
66
<string>Downloads the latest version of MAMP.
77

8-
ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
8+
ARCH_TYPE is "Intel-x86" or "Apple-chip"</string>
99
<key>Identifier</key>
1010
<string>com.github.n8felton.download.MAMP</string>
1111
<key>Input</key>
1212
<dict>
1313
<key>DOWNLOAD_URL</key>
14-
<string>https://downloads.mamp.info/MAMP-PRO/releases</string>
14+
<string>https://downloads.mamp.info/MAMP-PRO/macOS/MAMP-PRO</string>
1515
<key>NAME</key>
1616
<string>MAMP</string>
1717
<key>SEARCH_URL</key>
@@ -31,7 +31,7 @@ ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
3131
<key>url</key>
3232
<string>%SEARCH_URL%</string>
3333
<key>re_pattern</key>
34-
<string>(?P&lt;filename&gt;MAMP_MAMP_PRO_(?P&lt;version&gt;((?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)))\-%ARCH_TYPE%).pkg"</string>
34+
<string>(?P&lt;filename&gt;MAMP-MAMP-PRO-(?P&lt;version&gt;((?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)))\-%ARCH_TYPE%).pkg"</string>
3535
</dict>
3636
</dict>
3737
<dict>
@@ -40,7 +40,7 @@ ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
4040
<key>Arguments</key>
4141
<dict>
4242
<key>url</key>
43-
<string>%DOWNLOAD_URL%/%version%/%filename%.pkg</string>
43+
<string>%DOWNLOAD_URL%/%filename%.pkg</string>
4444
<key>filename</key>
4545
<string>%filename%-%version%.pkg</string>
4646
</dict>

0 commit comments

Comments
 (0)