Skip to content

Instantly share code, notes, and snippets.

@pvoliveira
Last active July 26, 2023 14:26
Show Gist options
  • Save pvoliveira/cdf94128034a2ed975d9af45604a9f08 to your computer and use it in GitHub Desktop.
Save pvoliveira/cdf94128034a2ed975d9af45604a9f08 to your computer and use it in GitHub Desktop.
Script to update Yuzu EA on SteamDeck
# !/bin/bash
# download the new release
url=$(curl -L 'https://api.github.com/repos/pineappleEA/pineapple-src/releases/latest' \
| grep browser_download_url \
| cut -d '"' -f 4 \
| grep "Linux-Yuzu-EA-*")
#create the final name
finalname=$(basename $url | awk '{split($0,a,"-"); print "yuzu-ea-" a[4];}')
# remove earlier versions
rm $HOME/Applications/yuzu-ea-*
curl -Lo "$HOME/Applications/$finalname" $url
chmod +x "$HOME/Applications/$finalname"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment