mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-01 06:13:13 +01:00
Merge pull request #490 from jasmania2/New-Label-SonoBus
New Label- SonoBus
This commit is contained in:
9
fragments/labels/sonobus.sh
Normal file
9
fragments/labels/sonobus.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
sonobus)
|
||||||
|
name="Sonobus"
|
||||||
|
type="pkgInDmg"
|
||||||
|
html_page_source="$(curl -fs 'https://www.sonobus.net')"
|
||||||
|
downloadFile="$(echo "${html_page_source}" | xmllint --html --xpath "string(//a[contains(@href, 'mac.dmg')]/@href)" - 2> /dev/null)"
|
||||||
|
downloadURL="https://www.sonobus.net/$downloadFile"
|
||||||
|
appNewVersion="$(echo "${downloadFile}" | sed 's/releases\/sonobus-//' | sed 's/\-mac.dmg//' )"
|
||||||
|
expectedTeamID="XCS435894D"
|
||||||
|
;;
|
||||||
Reference in New Issue
Block a user