install_quakeinjector.ksh 380 B

123456789101112
  1. #!/bin/ksh
  2. mkdir -p ~/games
  3. cd ~/games || return
  4. mkdir -p quakeinjector
  5. cd ~/games/quakeinjector || return
  6. mkdir -p bin
  7. mkdir -p downloads
  8. cd ~/games/quakeinjector/bin || return
  9. curl -O -L $(curl -s https://api.github.com/repos/hrehfeld/QuakeInjector/releases/latest | jq -r ".assets[] | select(.name | test(\"quakeinjector\")) | .browser_download_url")
  10. unzip quakeinjector*.zip