Updated installer once more

This commit is contained in:
2026-02-28 17:33:14 -06:00
parent 88f6d0b05d
commit 0f549a48d5
2 changed files with 44 additions and 32 deletions

View File

@@ -1,7 +1,10 @@
#!/bin/bash
ENDPOINT="https://git.sassysalamander.net/wytch/recalbox-savesync/archive/main.tar.gz"
cd ~ || { printf "Could not cd to ~. Exiting\n"; exit 1; }
cd ~ || {
printf "Could not cd to ~. Exiting\n"
exit 1
}
printf "Curling tarball..."
curl -L -o savesync.tar.gz "$ENDPOINT" 2>/dev/null
printf "done\n"
@@ -10,7 +13,10 @@ tar -xvf savesync.tar.gz >/dev/null
printf "done\n"
rm savesync.tar.gz
cd recalbox-savesync || { printf "Could not cd into extracted directory. Exiting\n"; exit 1; }
cd recalbox-savesync || {
printf "Could not cd into extracted directory. Exiting\n"
exit 1
}
re="'^[yY][eE]?[sS]?$'"
result="0"
@@ -29,7 +35,10 @@ mkdir -p /recalbox/share/userscripts/manual
cp "locksync.ash" /recalbox/share/userscripts/manual/
printf "done\n"
printf "Cleaning up..."
cd .. || { printf "failed\nExiting\n"; exit 1; }
cd .. || {
printf "failed\nExiting\n"
exit 1
}
rm -rf recalbox-savesync
printf "done\n"

View File

@@ -1,4 +1,9 @@
#!/bin/bash
### THIS IS NOT MY SCRIPT
### THIS WAS WRITTEN BY Claude Pageau
### All rights over license goes to them
ver="1.6"
echo "$0 ver $ver written by Claude Pageau"
@@ -71,5 +76,3 @@ To upgrade
For more Details See https://github.com/pageauc/rclone4pi/wiki/Home
Bye
"