From 45022859d895da719288749d379ffe8ee29cb960 Mon Sep 17 00:00:00 2001 From: Elliot Jordan Date: Wed, 26 Jun 2024 09:46:29 -0700 Subject: [PATCH] Add Ventura and Sonoma download info for Cocktail --- Cocktail/Cocktail.download.recipe | 6 ++++-- Cocktail/CocktailReleasesInfoProvider.py | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Cocktail/Cocktail.download.recipe b/Cocktail/Cocktail.download.recipe index 87857997..2f84cf66 100644 --- a/Cocktail/Cocktail.download.recipe +++ b/Cocktail/Cocktail.download.recipe @@ -6,7 +6,9 @@ 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 @@ -22,7 +24,7 @@ This recipe does not support older major versions than Yosemite. Input MAJOR_VERSION - 12 + 14 NAME Cocktail diff --git a/Cocktail/CocktailReleasesInfoProvider.py b/Cocktail/CocktailReleasesInfoProvider.py index 33681441..73701509 100644 --- a/Cocktail/CocktailReleasesInfoProvider.py +++ b/Cocktail/CocktailReleasesInfoProvider.py @@ -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):