1
2
3
4
5
6
7
8
9
10
11
12
13
14
cd /sdcard/

echo "Make sure RetroArch ARM64 has been opened at least once."
sleep 2

echo "Pulling latest configuration file..."
mkdir -p RetroArch/config/
curl -L# https://gist.github.com/USERNAME/GIST_ID/raw/retroarch.cfg > Android/data/com.retroarch.aarch64/files/retroarch.cfg

echo "Downloading preferred ROMs..."
curl -L# https://github.com/USERNAME/REPO/archive/master.tar.gz | tar xzv

echo "Done."