18 lines
563 B
Bash
18 lines
563 B
Bash
#!/bin/bash
|
|
|
|
ENDPOINT="https://git.sassysalamander.net/wytch/recalbox-savesync/archive/main.tar.gz"
|
|
cd /recalbox/share/system
|
|
curl -L -o savesync.tar.gz "$ENDPOINT"
|
|
|
|
tar -xvf savesync.tar.gz
|
|
rm savesync.tar.gz
|
|
cd recalbox-savesync
|
|
cp *.ash /recalbox/share/userscripts/
|
|
mkdir -p /recalbox/share/system/config/savesync
|
|
cp *.conf /recalbox/share/system/config/savesync/
|
|
|
|
mount -o remount,rw / 2>/dev/null
|
|
curl -L -o /usr/bin/nc https://github.com/therealsaumil/static-arm-bins/raw/refs/heads/master/nc-arm-static
|
|
chmod 755 /usr/bin/nc
|
|
mount -o remount,ro >/dev/null
|