Created
May 7, 2023 12:14
-
-
Save bunkbail/28edf0d0dd30a59a9a6726b36699b710 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| REPO="pineappleEA/pineapple-src" | |
| LOCATION=$(curl -s https://api.github.com/repos/$REPO/releases/latest \ | |
| | grep "browser_download_url" \ | |
| | awk '{print substr($2, 2, length($2)-2)}' \ | |
| | grep "Linux-Yuzu-EA" ) | |
| FILENAME=$(basename $LOCATION) | |
| if [ ! -f $(basename $FILENAME .AppImage) ]; then | |
| aria2c -x 16 -o $FILENAME $LOCATION | |
| chmod +x $FILENAME | |
| ./$FILENAME --appimage-extract | |
| cp squashfs-root/usr/bin/yuzu $(basename $FILENAME .AppImage) | |
| rm -rf squashfs-root | |
| upx --lzma $(basename $FILENAME .AppImage) | |
| rm $FILENAME | |
| fi | |
| echo "You now have the latest version of Yuzu EA" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need to have
curl,aria2candupxto use this script.