05-28-2019, 09:14 AM
I find manually entering those lines to be a pain so I made a script, not perfect but it normally does the job if you leave it inside a file called update.sh (for clarity) and run it, don't recall trying with bash but should work, if it doesn't then it's just sh
Code:
NXT=
REMOVE=1
Remove() {
return $REMOVE
}
wget --content-disposition https://rpcs3.net/latest-appimage
for f in rpcs3-*_linux64.AppImage*; do
if $(Remove); then
echo Removing $NXT
rm $NXT
fi
NXT=$f
REMOVE=0
done
echo NXT = $NXT
ln -sf $NXT rpcs3.AppImage
ln -sf $NXT ~/Desktop/rpcs3.AppImage
chmod a+x $NXT