Fix Antigravity download URL regex

This commit is contained in:
jschantli committed 2026-10-07 18:20:54 -07:00
1 parent 3ec30e9a64
commit bb462fcd4a
1 file changed
+2 -2
+2 -2
View File
@@ -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://[^"]+linux-x64/Antigravity\.tar\.gz' | head -n 1)
AG_IDE_URL=$(curl -s https://antigravity.google/download | grep -oP 'https://[^"]+linux-x64/Antigravity%20IDE\.tar\.gz' | head -n 1)
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)
if [ -z "$AG_URL" ] || [ -z "$AG_IDE_URL" ]; then
log_error "Failed to resolve Antigravity download URLs."