antigravity升到2.0之后没有自动同意插件了 没找到自动同意的教程,自己研究了一下 有弄得不对的 就当抛砖引玉,期待佬友们更好的办法了
期待佬友 点赞 鼓励 ![]()
1.修改全局配置文件 C:\Users\用户名\.gemini\config\config.json
2.修改内容: 不够的再加 我目前用这些够用了
{
“userSettings”: {
“globalPermissionGrants”: {
“allow”: [
“mcp()",
"custom()”
“read_url()",
"write_file()”,
“read_file()",
"unsandboxed()”,
“command(*)”,
“command(powershell)”,
“command(git status)”,
“command(Remove-Item)”,
“command(adb)”,
“read_url(antigravity.google)”,
]
}
}
}
1 个帖子 - 1 位参与者