Skip to content

feat: add ProxyFixer script to restore system proxy settings after use#144

Open
novaarc2025-svg wants to merge 2 commits intoqiye45:mainfrom
novaarc2025-svg:scripts
Open

feat: add ProxyFixer script to restore system proxy settings after use#144
novaarc2025-svg wants to merge 2 commits intoqiye45:mainfrom
novaarc2025-svg:scripts

Conversation

@novaarc2025-svg
Copy link

本 PR 为项目增加了一个修复脚本及使用指南,用于帮助用户在运行工具后恢复系统代理设置。

  • 问题描述: 该工具运行时会修改系统代理为 127.0.0.1:2023 。若程序异常退出或未成功恢复配置,会导致 Chrome 等浏览器网络异常,或无法正常访问 GitHub、Gemini 等站点。

  • 解决方案: 新增了 ProxyFixer.bat 脚本,可一键将代理强制重置回本地代理(默认为 Clash 的 7897 端口) 。

  • 主要功能:

    • 强制修改注册表中的 ProxyEnableProxyServer 键值 。

    • 清除 DefaultConnectionSettings 二进制缓存,解决“设置不生效”的顽疾 。

    • 自动刷新 DNS 缓存 。

  • 使用方式: 配套提供了中文 README.md ,指导用户修改端口并以管理员权限运行 。

针对使用下载工具后可能出现的系统代理残留问题,提供了一个一键恢复至本地代理(如 Clash Verge)的脚本。
1. 包含 ProxyFixer.bat:核心修复逻辑。
2. 包含 README.md:详细的使用说明。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant