mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-10 06:13:12 +01:00
changed fragments to .sh extension
This commit is contained in:
12
fragments/labels/vlc.sh
Normal file
12
fragments/labels/vlc.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
vlc)
|
||||
name="VLC"
|
||||
type="dmg"
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
downloadURL=$(curl -fs http://update.videolan.org/vlc/sparkle/vlc-arm64.xml | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2 )
|
||||
appNewVersion=$(curl -fs http://update.videolan.org/vlc/sparkle/vlc-arm64.xml | xpath '//rss/channel/item[last()]/enclosure/@sparkle:version' 2>/dev/null | cut -d '"' -f 2 )
|
||||
elif [[ $(arch) == "i386" ]]; then
|
||||
downloadURL=$(curl -fs http://update.videolan.org/vlc/sparkle/vlc-intel64.xml | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2 )
|
||||
appNewVersion=$(curl -fs http://update.videolan.org/vlc/sparkle/vlc-intel64.xml | xpath '//rss/channel/item[last()]/enclosure/@sparkle:version' 2>/dev/null | cut -d '"' -f 2 )
|
||||
fi
|
||||
expectedTeamID="75GAHG3SZQ"
|
||||
;;
|
||||
Reference in New Issue
Block a user