fix(#10): use robust regex for extension detectAndUseProxy patch
This commit is contained in:
@@ -139,7 +139,7 @@ RUST_LOG=info ./target/release/antigravity-proxy
|
||||
# The LS has a protobuf field `detect_and_use_proxy` that defaults to UNSPECIFIED,
|
||||
# which means it ignores HTTPS_PROXY for LLM API calls. This patch sets it to ENABLED (1).
|
||||
# Must be re-applied after every Antigravity update.
|
||||
sudo sed -i 's/detectAndUseProxy=pe.UNSPECIFIED/detectAndUseProxy=1/' \
|
||||
sudo sed -i -E 's/detectAndUseProxy=[^,;)]+/detectAndUseProxy=1/g' \
|
||||
/usr/share/antigravity/resources/app/extensions/antigravity/dist/extension.js
|
||||
|
||||
# 3. Install wrapper (patches LS binary to route through MITM)
|
||||
|
||||
Reference in New Issue
Block a user