适配 Antigravity IDE 2.0 主进程重命名#87
Open
unendev wants to merge 2 commits into
Open
Conversation
Antigravity IDE 升级至 2.0 后,主进程的可执行文件名由 Antigravity.exe 变更为 Antigravity IDE.exe,导致代理 DLL 无法正确识别主进程,网络请求拦截失效。 修改内容: 1. src/hooks/Hooks.cpp:IsCurrentAntigravityMainProcess() 增加对 antigravity ide.exe 的匹配,向下兼容旧版 antigravity.exe 2. build.ps1:默认 config.json 的 target_processes 增补 Antigravity IDE.exe,确保新装用户开箱即用 3. resources/config-web/index.html:同步更新配置工具中的默认值,保持一致性 已在 Windows x64 本地编译并部署,实测 Antigravity IDE 2.0 网络请求可正常被代理拦截。
|
It can't be compiled because of error in build.ps1 |
CrazyBoyFeng
left a comment
There was a problem hiding this comment.
language_server.exe 也应该加入 target_processes 列表。或者将 language_server_windows 改为 language_server,这样除了 Antigravity IDE,还兼容了新的 Antigravity 2.0。
31312ce to
2c74a05
Compare
2c74a05 to
5844afb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Antigravity IDE 升级至 2.0 后,主进程的可执行文件名由 Antigravity.exe 变更为 Antigravity IDE.exe,导致代理 DLL 无法正确识别主进程,网络请求拦截失效。
修改内容:
已在 Windows x64 本地编译并部署,实测 Antigravity IDE 2.0 网络请求可正常被代理拦截。