Skip to content

Commit

Permalink
Merge pull request #610 from macmangr/horos
Browse files Browse the repository at this point in the history
New Label: Horos
  • Loading branch information
Theile committed Sep 30, 2022
2 parents 6bdddff + 6c829ed commit b5ead8f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions fragments/labels/horos.sh
Original file line number Diff line number Diff line change
@@ -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
;;

0 comments on commit b5ead8f

Please sign in to comment.