From 3a59944c3b5258f1a0703205b5857f746012ebd4 Mon Sep 17 00:00:00 2001 From: JGStew Date: Thu, 1 Aug 2024 15:21:13 -0400 Subject: [PATCH] add resolume arena download examples for both mac and windows --- Resolume/Arena-Mac.download.recipe.yaml | 10 +++++++--- Resolume/Arena-Win.download.recipe.yaml | 12 ++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 Resolume/Arena-Win.download.recipe.yaml diff --git a/Resolume/Arena-Mac.download.recipe.yaml b/Resolume/Arena-Mac.download.recipe.yaml index 2079f65..150f99a 100644 --- a/Resolume/Arena-Mac.download.recipe.yaml +++ b/Resolume/Arena-Mac.download.recipe.yaml @@ -4,15 +4,17 @@ Description: Downloads the latest version of Arena Identifier: com.github.jgstew.download.Arena-Mac Input: NAME: "Arena" + starting_url: https://www.resolume.com/download/ + file_type: dmg MinimumVersion: "2.3" Process: - Processor: URLTextSearcher Arguments: # Example URLs: # - https://www.resolume.com/download/ - url: https://www.resolume.com/download/ + url: "%starting_url%" # example: Resolume_Arena_7_21_2_rev_37990_Installer.dmg - re_pattern: 'Resolume_Arena_\d+_\d+_\d+_rev_\d+_Installer.dmg' + re_pattern: 'Resolume_Arena_\d+_\d+_\d+_rev_\d+_Installer.%file_type%' - Processor: URLTextSearcher Arguments: @@ -25,5 +27,7 @@ Process: - Processor: com.github.jgstew.SharedProcessors/URLDownloaderPython Arguments: url: "https:%match%" - filename: Resolume_Arena_Installer.dmg + filename: Resolume_Arena_Installer.%file_type% COMPUTE_HASHES: True + + - Processor: EndOfCheckPhase diff --git a/Resolume/Arena-Win.download.recipe.yaml b/Resolume/Arena-Win.download.recipe.yaml new file mode 100644 index 0000000..4e5d46a --- /dev/null +++ b/Resolume/Arena-Win.download.recipe.yaml @@ -0,0 +1,12 @@ +--- +Description: Downloads the latest version of Arena +# based upon https://github.com/autopkg/moofit-recipes/blob/master/Adobe/RemoteUpdateManager.download.recipe +Identifier: com.github.jgstew.download.Arena-Win +Input: + NAME: "Arena" + starting_url: https://www.resolume.com/download/win + file_type: exe +MinimumVersion: "2.3" +ParentRecipe: com.github.jgstew.download.Arena-Mac +Process: + - Processor: EndOfCheckPhase