From b7086deeac867d424c7d296872d86d30ac3eee4d Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sat, 18 Oct 2025 16:16:48 +0200 Subject: [PATCH] Update zimaos.sh --- scripts/vm/zimaos.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/vm/zimaos.sh b/scripts/vm/zimaos.sh index abf8c8e..50abac2 100644 --- a/scripts/vm/zimaos.sh +++ b/scripts/vm/zimaos.sh @@ -786,12 +786,12 @@ function download_loader() { | cut -d '"' -f 4) - if [[ -z "$DOWNLOAD_URL" ]]; then - TAG=$(curl -fsSL "$API_URL" | grep -Eo '"tag_name":\s*"[^"]+"' | cut -d '"' -f 4 | head -1) - if [[ -n "$TAG" ]]; then - DOWNLOAD_URL="https://github.com/IceWhaleTech/ZimaOS/releases/download/${TAG}/zimaos-x86_64-${TAG}_installer.img" - fi - fi +# if [[ -z "$DOWNLOAD_URL" ]]; then +# TAG=$(curl -fsSL "$API_URL" | grep -Eo '"tag_name":\s*"[^"]+"' | cut -d '"' -f 4 | head -1) +# if [[ -n "$TAG" ]]; then +# DOWNLOAD_URL="https://github.com/IceWhaleTech/ZimaOS/releases/download/${TAG}/zimaos-x86_64-${TAG}_installer.img" +# fi +# fi if [[ -z "$DOWNLOAD_URL" ]]; then msg_error "Failed to get latest ZimaOS release URL"