autopkg / smithjw-recipes

Smithjw's AutoPkg recipes
Apache License 2.0
14 stars 16 forks source link

Wireshark download recipe does not work #39

Open ehjmx opened 1 year ago

ehjmx commented 1 year ago

Wireshark did an overhaul of their website, changing the download website and the download urls.

I managed to fix this for me yesterday.

I did the following changes: In the URLTextSearcher re_pattern: (\d{1}[.]{1}\d{1}[.]{1}\d{1,2}) You might need to add the ",2" in the second "/d" as well if Wireshark decides to release a 4.xx.xx but only the future will tell if they do so.

In the URLDownloader the new value for url is url: https://2.na.dl.wireshark.org/osx/Wireshark%204.0.5%20%DOWNLOAD_TYPE%%2064.dmg

With those changes I was able to download the correct dmg based on the DOWNLOAD_TYPE given as INPUT.

I hope this helps. Please check and correct my changes if necessary.

Eric