28 lines
654 B
Text
28 lines
654 B
Text
|
#!/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
|