Last active
July 26, 2023 14:26
-
-
Save pvoliveira/cdf94128034a2ed975d9af45604a9f08 to your computer and use it in GitHub Desktop.
Script to update Yuzu EA on SteamDeck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/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