From 89a15148f24217a0852c5925f5baddb86557e1d1 Mon Sep 17 00:00:00 2001 From: JGStew Date: Tue, 2 Jul 2024 23:17:23 -0400 Subject: [PATCH] add firefox-win, modify firefox-mac --- Mozilla/Firefox-Mac.download.recipe.yaml | 3 ++- Mozilla/Firefox-Win.download.recipe.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Mozilla/Firefox-Win.download.recipe.yaml diff --git a/Mozilla/Firefox-Mac.download.recipe.yaml b/Mozilla/Firefox-Mac.download.recipe.yaml index 09e636d..88f6510 100644 --- a/Mozilla/Firefox-Mac.download.recipe.yaml +++ b/Mozilla/Firefox-Mac.download.recipe.yaml @@ -5,6 +5,7 @@ Description: Downloads the latest version of Firefox Identifier: com.github.jgstew.download.Firefox-Mac Input: NAME: "Firefox" + product: firefox-latest-ssl OS: osx filename: Firefox.dmg MinimumVersion: "2.3" @@ -13,7 +14,7 @@ Process: Arguments: # Example URLs: # - https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US - url: https://download.mozilla.org/?product=firefox-latest-ssl&os=%OS%&lang=en-US + url: https://download.mozilla.org/?product=%product%&os=%OS%&lang=en-US COMPUTE_HASHES: True - Processor: EndOfCheckPhase diff --git a/Mozilla/Firefox-Win.download.recipe.yaml b/Mozilla/Firefox-Win.download.recipe.yaml new file mode 100644 index 0000000..6498eff --- /dev/null +++ b/Mozilla/Firefox-Win.download.recipe.yaml @@ -0,0 +1,15 @@ +# https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US +--- +Description: Downloads the latest version of Firefox +# based upon https://github.com/autopkg/moofit-recipes/blob/master/Adobe/RemoteUpdateManager.download.recipe +Identifier: com.github.jgstew.download.Firefox-Win64 +Input: + NAME: "Firefox" + product: firefox-stub + OS: win64 + filename: FirefoxInstaller.exe + # https://download.mozilla.org/?product=firefox-stub&os=win64&lang=en-US +MinimumVersion: "2.3" +ParentRecipe: com.github.jgstew.download.Firefox-Mac +Process: + - Processor: EndOfCheckPhase