Update synology.sh

This commit is contained in:
MacRimi 2025-03-30 23:16:35 +02:00
parent 7ab9b4e1c5
commit 9f97137ee9

View File

@ -652,14 +652,14 @@ function download_loader() {
case $LOADER_TYPE in case $LOADER_TYPE in
arc) arc)
curl -s https://api.github.com/repos/AuxXxilium/arc/releases/latest \ curl -s https://api.github.com/repos/AuxXxilium/arc/releases/latest \
| grep "browser_download_url.*evo.img.zip" \ | grep "browser_download_url.*arc-.*\.img\.zip" \
| cut -d '"' -f 4 \ | cut -d '"' -f 4 \
| xargs wget -q --show-progress -O "$IMAGES_DIR/evo.img.zip" | xargs wget -q --show-progress -O "$IMAGES_DIR/arc.img.zip"
if [ -f "$IMAGES_DIR/evo.img.zip" ]; then if [ -f "$IMAGES_DIR/arc.img.zip" ]; then
cd "$IMAGES_DIR" cd "$IMAGES_DIR"
unzip -q evo.img.zip unzip -q arc.img.zip
rm evo.img.zip rm arc.img.zip
FILE="arc.img" FILE="arc.img"
LOADER_FILE="$IMAGES_DIR/$FILE" LOADER_FILE="$IMAGES_DIR/$FILE"
cd - > /dev/null cd - > /dev/null