Skip to content

Commit

Permalink
Update MAMP.download.recipe
Browse files Browse the repository at this point in the history
Updated to account for vendor URL changes
  • Loading branch information
paul-cossey authored and n8felton committed Jul 17, 2024
1 parent 17533ce commit 702b2c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MAMP/MAMP.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<key>Description</key>
<string>Downloads the latest version of MAMP.

ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
ARCH_TYPE is "Intel-x86" or "Apple-chip"</string>
<key>Identifier</key>
<string>com.github.n8felton.download.MAMP</string>
<key>Input</key>
<dict>
<key>DOWNLOAD_URL</key>
<string>https://downloads.mamp.info/MAMP-PRO/releases</string>
<string>https://downloads.mamp.info/MAMP-PRO/macOS/MAMP-PRO</string>
<key>NAME</key>
<string>MAMP</string>
<key>SEARCH_URL</key>
Expand All @@ -31,7 +31,7 @@ ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
<key>url</key>
<string>%SEARCH_URL%</string>
<key>re_pattern</key>
<string>(?P&lt;filename&gt;MAMP_MAMP_PRO_(?P&lt;version&gt;((?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)))\-%ARCH_TYPE%).pkg"</string>
<string>(?P&lt;filename&gt;MAMP-MAMP-PRO-(?P&lt;version&gt;((?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)))\-%ARCH_TYPE%).pkg"</string>
</dict>
</dict>
<dict>
Expand All @@ -40,7 +40,7 @@ ARCH_TYPE is "Intel-x86" or "M1-arm"</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%DOWNLOAD_URL%/%version%/%filename%.pkg</string>
<string>%DOWNLOAD_URL%/%filename%.pkg</string>
<key>filename</key>
<string>%filename%-%version%.pkg</string>
</dict>
Expand Down

0 comments on commit 702b2c5

Please sign in to comment.