#!/usr/bin/sh YUZUURL="https://api.github.com/repos/pineappleEA/pineapple-src/releases/latest" YUZU="/home/zoey/AppImages/Linux-Yuzu*.AppImage" APPIMAGES="/home/zoey/AppImages" if test -f $YUZU; then rm $YUZU else echo "abababa" > /dev/null fi cd $APPIMAGES && curl -s $YUZUURL \ | grep "browser_download_url.*.AppImage" \ | cut -d : -f 2,3 \ | tr -d \" \ | wget -qi - && chmod +x $YUZU