Skip to content

Commit

Permalink
tweak recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Dec 5, 2024
1 parent 7db2e93 commit 278550b
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions Autodesk/DesktopConnector.download.recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Input:
MinimumVersion: "2.3"
ParentRecipe: com.github.jgstew.shared.parent-recipe
Process:
- Processor: URLTextSearcher
Arguments:
url: https://help.autodesk.com/cloudhelp/ENU/CONNECT-Whats-New/files/GUID-03D59AAD-65B0-45E3-84F2-A12AAA5BB267.htm
# example match `November 11, 2024 (v.16.11.1.2320)`
re_pattern: 'v\.(?P<version>\d+(\.\d+)+)'
# curl_opts: ["-A", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"]

- Processor: com.github.jgstew.SharedProcessors/URLDownloaderPython
Arguments:
url: https://www.autodesk.com/adsk-connect-64
Expand All @@ -16,9 +23,29 @@ Process:

- Processor: EndOfCheckPhase

- Processor: URLTextSearcher
Arguments:
url: https://help.autodesk.com/cloudhelp/ENU/CONNECT-Whats-New/files/GUID-03D59AAD-65B0-45E3-84F2-A12AAA5BB267.htm
# example match `November 11, 2024 (v.16.11.1.2320)`
re_pattern: 'v\.(?P<version>\d+(\.\d+)+)'
# curl_opts: ["-A", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0"]
# - Processor: com.github.jgstew.SharedProcessors/FileGetExecutable
# Arguments:
# path_array: [
# # Exe in current directory:
# "7z",
# "7z.exe",
# # MacOS typical:
# # NONINTERACTIVE=1 brew install p7zip
# "/opt/homebrew/bin/7z",
# "/usr/local/bin/7z",
# # NONINTERACTIVE=1 brew install sevenzip
# "/usr/local/bin/7zz",
# # Ubuntu typical:
# # sudo apt-get install -y p7zip-full
# "/usr/bin/7z",
# # Windows typical:
# # choco install -y 7zip
# "/Program Files/7-Zip/7z.exe",
# "/Program Files (x86)/7-Zip/7z.exe",
# ]

# - Processor: com.github.hansen-m.SharedProcessors/WinInstallerExtractor
# Arguments:
# extract_dir: "tmp"

# If you extract DesktopConnector-x64.exe there is a file within it called Autodesk_Desktop_Connector_002_002.7z and if you extract that then there is a file within it called setup.xml which has the version number inside of it.

0 comments on commit 278550b

Please sign in to comment.