Update synology.sh

This commit is contained in:
MacRimi 2025-04-01 19:39:30 +02:00
parent adc7a94aba
commit 72cc08d847

View File

@ -649,6 +649,17 @@ function download_loader() {
echo -e "${DGN}${TAB}Retrieving the URL for the ${BGN}$LOADER_NAME loader${CL}"
if [[ "$LOADER_TYPE" == "arc" || "$LOADER_TYPE" == "redpill" ]] && ! command -v unzip &> /dev/null; then
msg_info "Installing unzip..."
apt-get update -qq && apt-get install -y unzip -qq
if ! command -v unzip &> /dev/null; then
msg_error "Failed to install unzip"
sleep 2
return 1
fi
msg_ok "Installed unzip successfully."
fi
case $LOADER_TYPE in
arc)
curl -s https://api.github.com/repos/AuxXxilium/arc/releases/latest \