Fix Antigravity download URL regex
This commit is contained in:
1 parent
3ec30e9a64
commit
bb462fcd4a
1 file changed
+2
-2
+2
-2
@@ -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."
|
||||
|
||||
Reference in new issue
Block a user