mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update synology.sh
This commit is contained in:
parent
7ab9b4e1c5
commit
9f97137ee9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user