ecmenu/update

28 lines
654 B
Text
Raw Normal View History

2024-10-10 13:49:40 +00:00
#!/usr/bin/env bash
if [ "$(which pacman)" ]
then
yes j | sudo pacman -Syu
CSC=chicken-csc
else
sudo apt -y update
sudo apt -y upgrade
CSC=csc
fi
flatpak update -y
sudo chicken-install -s lay
sudo lay -j 8 sdl2 sdl2-ttf sdl2-image srfi-18 srfi-69 toml csm
#${CSC} -o menu -gui ./menu.scm
csm -program menu
# Core Updates
cd /tmp
curl -L https://github.com/zilti/retroarch-cores/archive/refs/heads/master.tar.gz | tar -xzf -
cd retroarch-cores-master/aarch64
for FILE in $(find .)
do
unzip $FILE -do ~/.var/app/org.libretro.RetroArch/config/retroarch/cores
done
cd /tmp
rm -rf retroarch-cores-master
# The End
sudo shutdown -r now