Skip to content

Instantly share code, notes, and snippets.

@tjluoma
Created April 3, 2014 16:07
Show Gist options
  • Save tjluoma/9957389 to your computer and use it in GitHub Desktop.
Save tjluoma/9957389 to your computer and use it in GitHub Desktop.
INSTALLED_NAME="VLC.app"
INSTALL_DIR="/Applications"
DL_URL=$(curl -sL 'http://update.videolan.org/vlc/sparkle/vlc.xml' | awk -F'"' '/http:\/\/.*\.dmg/{print $2}'| tail -1)
LATEST_VERSION=$(curl -sL 'http://update.videolan.org/vlc/sparkle/vlc.xml' | awk -F'"' '/sparkle:version/{print $2}'| tail -1)
VERSION_TYPE="CFBundleVersion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment