mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-06 14:23:06 +01:00
Merge pull request #378 from adibue/adibue-wireshark-add-arm
Added downloadURL for ARM
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
wireshark)
|
wireshark)
|
||||||
name="Wireshark"
|
name="Wireshark"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20Latest%20Intel%2064.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 "Stable Release" | grep -o "(.*.)" | cut -f2 | head -1 | awk -F '[()]' '{print $2}')
|
appNewVersion=$(curl -fs https://www.wireshark.org/download.html | grep "Stable Release" | grep -o "(.*.)" | cut -f2 | head -1 | awk -F '[()]' '{print $2}')
|
||||||
expectedTeamID="7Z6EMTD2C6"
|
expectedTeamID="7Z6EMTD2C6"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user