From 0db01224a4816776020a28b1da489cf02bba97ed Mon Sep 17 00:00:00 2001 From: jschantli Date: Wed, 7 Oct 2026 18:25:40 -0700 Subject: [PATCH] Fix AG_URL extraction with curl --compressed --- postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postinstall.sh b/postinstall.sh index 0427f9e..b7d9fee 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -552,8 +552,8 @@ install_antigravity() { sudo dnf install -y python3 nautilus-python curl tar log_info "Fetching latest download URLs from Google..." - AG_URL=$(curl -s https://antigravity.google/download | grep -oP 'https://\S+linux-x64/Antigravity\.tar\.gz' | head -n 1) - AG_IDE_URL=$(curl -s https://antigravity.google/download | grep -oP 'https://\S+linux-x64/Antigravity%20IDE\.tar\.gz' | head -n 1) + AG_URL=$(curl -fsSL --compressed https://antigravity.google/download | grep -oP 'https://\S+linux-x64/Antigravity\.tar\.gz' | head -n 1) + AG_IDE_URL=$(curl -fsSL --compressed https://antigravity.google/download | grep -oP 'https://\S+linux-x64/Antigravity%20IDE\.tar\.gz' | head -n 1) if [ -z "$AG_URL" ] || [ -z "$AG_IDE_URL" ]; then log_error "Failed to resolve Antigravity download URLs."