ecmenu/update

29 lines
680 B
Text
Raw Permalink 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
2024-10-21 14:18:08 +00:00
flatpak update -u -y
2024-10-10 13:49:40 +00:00
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
2024-10-21 14:18:08 +00:00
rm -rf menu *.o *.so
2024-10-10 13:49:40 +00:00
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
2024-10-21 14:18:08 +00:00
unzip -o $FILE -d ~/.var/app/org.libretro.RetroArch/config/retroarch/cores
2024-10-10 13:49:40 +00:00
done
cd /tmp
rm -rf retroarch-cores-master
# The End
sudo shutdown -r now