mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Update smartgit.sh
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
smartgit)
|
||||
name="SmartGit"
|
||||
type="dmg"
|
||||
downloadURL="https://www.syntevo.com$(curl -fs "https://www.syntevo.com/smartgit/download/" | grep -i -o -E "/downloads/.*/smartgit.*\.dmg")"
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
downloadURL="https://www.syntevo.com$(curl -fs "https://www.syntevo.com/smartgit/download/" | grep -i -o -E "/downloads/.*/smartgit.*\.dmg" | tail -1)"
|
||||
elif [[ $(arch) == "i386" ]]; then
|
||||
downloadURL="https://www.syntevo.com$(curl -fs "https://www.syntevo.com/smartgit/download/" | grep -i -o -E "/downloads/.*/smartgit.*\.dmg" | head -1)"
|
||||
fi
|
||||
appNewVersion="$(curl -fs "https://www.syntevo.com/smartgit/changelog.txt" | grep -i -E "SmartGit *[0-9.]* *.*" | head -1 | awk '{print $2}')"
|
||||
expectedTeamID="PHMY45PTNW"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user