mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-28 05:13:13 +00:00
Update Wireshark download URL
Update Wireshark to use version from appNewVersion to prevent grabbing dev builds.
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
wireshark)
|
wireshark)
|
||||||
name="Wireshark"
|
name="Wireshark"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
if [[ $(arch) == i386 ]]; then
|
|
||||||
downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20Latest%20Intel%2064.dmg"
|
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
|
||||||
downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20Latest%20Arm%2064.dmg"
|
|
||||||
fi
|
|
||||||
appNewVersion=$(curl -fs https://www.wireshark.org/download.html | grep -i "href.*_stable" | sed -E 's/.*\(([0-9.]*)\).*/\1/g')
|
appNewVersion=$(curl -fs https://www.wireshark.org/download.html | grep -i "href.*_stable" | sed -E 's/.*\(([0-9.]*)\).*/\1/g')
|
||||||
|
if [[ $(arch) == i386 ]]; then
|
||||||
|
downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20$appNewVersion%20Intel%2064.dmg"
|
||||||
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
|
downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20$appNewVersion%20Arm%2064.dmg"
|
||||||
|
fi
|
||||||
expectedTeamID="7Z6EMTD2C6"
|
expectedTeamID="7Z6EMTD2C6"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user