一键解决 MacOS Antigravity 登录问题 无需开 tun 模式 告别复杂配置!

1 月 29 日
 FreeLester

开发 Antify 的原因是 Proxifier 的使用太麻烦了‼️ 编写规则简直太劝退‼️

Antify 无需复杂配置,无需手动编写规则,只需一键拖动 Antigravity.app 到 Antify 即可自动配置所需规则。

Antify 支持对任意 App 的无侵入代理

官网: https://antifyapp.com/

Antify 支持 macOS 14+

用户需自备 SOCKS5/HTTP 代理

欢迎大家多多试用,多多反馈,我会继续优化打磨 Antify 的。

6190 次点击
所在节点    分享创造
63 条回复
FreeLester
1 月 29 日
@hay0577 新建一条 rule ,path 填写:
/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc
这条 rule 在 Antigravity 登录时需要 enable ,登录后就可以 disable 了。

原因是这个这个登录流程是 OAuth 2.0 for Native Apps ,在验证阶段使用了 MacOS WebKit 处理请求, 所以需要将 WebKit 的请求也代理。
FreeLester
1 月 29 日
@pengyOne 图看起来 Antigravity rules 都添加了。请你尝试以下步骤:
1. 先确定自己填写的代理是可用的
2. 先启动 Antify ,后重启 Antigravity ,或者重启几次 Antigravity 试试
FreeLester
1 月 30 日
@nginxxx #16 已修复,可以 Settings - Check Upgrade
FreeLester
1 月 30 日
@nginxxx #3 已修复,可以 Settings - Check Upgrade
BlueSkyXN
1 月 30 日
? macOS 上反而遇不到登录问题,那玩意只出现在 Windows ,因为 win 下代理基本以系统代理为主
反而 Mac 上一般用 iOS 同款的火箭这些,反而遇不到
sn0wdr1am
1 月 30 日
Antify 需要 macOS 14.0 (Sonoma) 或更高版本。
pengyOne
1 月 30 日
@BlueSkyXN 牛,感谢。。。楼主的软件没给我解决问题,你的方法给我解决了
infyni
1 月 30 日
配置过后,Loading models... 无法加载 models 。 不知道有没有哪里配置错了?

andforce
1 月 30 日
代理配置的地方我没看明白,我现在用的是 Clash ,代理配置是机场给的一个链接而已。

那么请问,我在 Antify 里的 Peoxies 里因该如何填写呢?
black55
1 月 30 日
@andforce 不管你用的什么软件,软件上去看设置界面,会有端口设置相关的,你要找到端口相关的地方,一般来说是使用 7890 端口,你找找看有没有眼熟的数字。代理的话,你就是填 127.0.0.1:7890
nginxxx
1 月 30 日
添加完 cursor 和 antigravity 后,命令行的 git 也会被 rule 接管了
nginxxx
1 月 30 日
git,curl 等 cli 指令感觉都被接管了,感觉还是没完全隔离 app
FreeLester
1 月 30 日
@nginxxx #32 等我复现研究下
mauve
1 月 30 日
为什么不开 TUN 模式呢?我日常一直开
FreeLester
1 月 30 日
@nginxxx #32 没有复现这个情况,你再试试看呢,是否你配置默认 mode = proxy 了?
nginxxx
1 月 30 日
@FreeLester 只添加了 cursor 后
$ git pull
Connection closed by 127.0.0.1 port 7890
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
itplanes01
1 月 30 日
必须开 extension 吗 开了和 tailscale magicdns 冲突
ares001
1 月 30 日
这个项目的原理是什么?做得很漂亮
FreeLester
1 月 30 日
@ares001 MacOS Network Extension 其中的 transparent network proxy
FreeLester
1 月 30 日
@itplanes01 是说 tailscale 也有一个 Network Extension 是吗?
我要花点时间研究下,没用过 tailscale magicdns 。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/1189257

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX