Fix AG_URL extraction with curl --compressed
This commit is contained in:
1 parent
bb462fcd4a
commit
0db01224a4
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://\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."
|
||||
|
||||
Reference in new issue
Block a user