mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
14
fragments/labels/horos.sh
Normal file
14
fragments/labels/horos.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
horos)
|
||||
name="Horos"
|
||||
type="dmg"
|
||||
versionKey="CFBundleGetInfoString"
|
||||
appNewVersion=$(curl -fs https://github.com/horosproject/horos/blob/horos/Horos/Info.plist | grep -A 4 "CFBundleGetInfoString" | tail -1 | sed -r 's/.*Horos v([^<]+).*/\1/' | sed 's/ //g')
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
downloadURL="https://horosproject.org/horos-content/Horos"$appNewVersion"_Apple.dmg"
|
||||
TeamID="8NDFEW7285"
|
||||
elif [[ $(arch) == "i386" ]]; then
|
||||
downloadURL="https://horosproject.org/horos-content/Horos"$appNewVersion".dmg"
|
||||
TeamID="TPT6TVH8UY"
|
||||
fi
|
||||
expectedTeamID=$TeamID
|
||||
;;
|
||||
Reference in New Issue
Block a user