Skip to content

Commit

Permalink
Add Ventura and Sonoma download info for Cocktail
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Jun 26, 2024
1 parent b869bb6 commit 4502285
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Cocktail/Cocktail.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<string>Downloads the latest version of a particular MAJOR_VERSION of Cocktail.

MAJOR_VERSION should correspond to a macOS release version. Supported values include:
- 12 for Monterey (default)
- 14 for Sonoma (default)
- 13 for Ventura
- 12 for Monterey
- 11 for Big Sur
- 10.15 for Catalina
- 10.14 for Mojave
Expand All @@ -22,7 +24,7 @@ This recipe does not support older major versions than Yosemite.
<key>Input</key>
<dict>
<key>MAJOR_VERSION</key>
<string>12</string>
<string>14</string>
<key>NAME</key>
<string>Cocktail</string>
</dict>
Expand Down
16 changes: 15 additions & 1 deletion Cocktail/CocktailReleasesInfoProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,27 @@
"filename": "Cocktail15ME.dmg",
"bundle_id": "com.maintain.cocktail.monterey15",
},
"13": {
"filename": "Cocktail16VE.dmg",
"bundle_id": "com.maintain.cocktail.ventura165",
},
"14": {
"filename": "Cocktail17SE.dmg",
# Bundle ID says Ventura but it's the correct one for the Sonoma edition
"bundle_id": "com.maintain.cocktail.ventura165",
},
# Expected late 2024
# "15": {
# "filename": "Cocktail18SE.dmg",
# "bundle_id": "com.maintain.cocktail.ventura165",
# },
}

# Base URL for downloading releases
BASE_URL = "https://www.maintain.se/downloads/"

# Default major version if none is provided
DEFAULT_MAJOR_VERSION = "12"
DEFAULT_MAJOR_VERSION = "14"


class CocktailReleasesInfoProvider(URLGetter):
Expand Down

0 comments on commit 4502285

Please sign in to comment.