mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-31 06:13:12 +01:00
Update typora.sh
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
typora)
|
typora)
|
||||||
name="Typora"
|
name="Typora"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://www.typora.io/download/Typora.dmg"
|
#downloadURL="https://www.typora.io/download/Typora.dmg"
|
||||||
appNewVersion="$(curl -fs "https://www.typora.io/dev_release.html" | grep -o -i "h4>[0-9.]*</h4" | head -1 | sed -E 's/.*h4>([0-9.]*)<\/h4.*/\1/')"
|
downloadURL=$(curl -fs "https://www.typora.io/download/dev_update.xml" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2)
|
||||||
|
#appNewVersion="$(curl -fs "https://www.typora.io/dev_release.html" | grep -o -i "h4>[0-9.]*</h4" | head -1 | sed -E 's/.*h4>([0-9.]*)<\/h4.*/\1/')"
|
||||||
|
appNewVersion=$(curl -fs "https://www.typora.io/download/dev_update.xml" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f2)
|
||||||
expectedTeamID="9HWK5273G4"
|
expectedTeamID="9HWK5273G4"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user