-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Description
Looks like Wireshark change the XML in there sparkle: https://www.wireshark.org/update/0/Wireshark/4.0.0/macOS/x86-64/en-US/stable.xml and the download link doesn't have latest version anymore I created the fix:
wireshark)
name="Wireshark"
type="dmg"
appNewVersion=$(curl -fs "https://www.wireshark.org/update/0/Wireshark/4.0.0/macOS/x86-64/en-US/stable.xml" | xmllint --xpath '//item/title/text()' - | awk '{print $2}')
if [[ $(arch) == i386 ]]; then
downloadURL="https://2.na.dl.wireshark.org/osx/Wireshark%20$appNewVersion%20Intel%2064.dmg"
elif [[ $(arch) == arm64 ]]; then
downloadURL="https://2.na.dl.wireshark.org/osx/Wireshark%20$appNewVersion%20Arm%2064.dmg"
fi
expectedTeamID="7Z6EMTD2C6"
;;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels