Skip to content

Instantly share code, notes, and snippets.

@hazcod
Created May 19, 2015 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hazcod/a627cf488b8fa6625b5d to your computer and use it in GitHub Desktop.
Save hazcod/a627cf488b8fa6625b5d to your computer and use it in GitHub Desktop.
Download latest files from moonlight repo
#!/bin/bash
function downloadFile {
releases=`curl -s -L https://github.com/irtimmer/moonlight-embedded/releases/latest`
echo "$releases" | egrep -o "/irtimmer/moonlight-embedded/releases/download/v([0-9]\.*)+/$1" | wget --base=http://github.com/ -i - -O "$1"
}
downloadFile libopus.so
downloadFile limelight.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment