~hnaguski/squeezer

script to download and install citra-nightly
add grep+awk fallback in case jq isn't avaliable
unquote link in readme
initial commit of squeezer, a script to download and install citra-nightly from the latest github release

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~hnaguski/squeezer
read/write
git@git.sr.ht:~hnaguski/squeezer

You can also use your local clone with git send-email.

https://wikipedia.org/wiki/Lemon_squeezer
https://github.com/citra-emu/citra

Download, extract, and install/uninstall a release asset from citra's nightly
github.

Squeezer attempts to use jq to parse github's api to get the download link. If
jq is not installed, it uses grep and awk instead.

usage
-----

squeezer [install] [uninstall]

rate limitting
--------------

Github only allows 60 unauthenticated requests per hour from a given ip. If
you're on a busy network or otherwise get rate limitted, a "personal access
token" can be used. Follow github's instructions to do this:

https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

There is no need to give it any scopes, as the only thing we're doing is getting
a download url. Once created, set the SQUEEZER_AUTH variable to
"<your username>:<token>" and squeezer will attempt to use it to authenticate.