feat: add ProxyFixer script to restore system proxy settings after use#144
Open
novaarc2025-svg wants to merge 2 commits intoqiye45:mainfrom
Open
feat: add ProxyFixer script to restore system proxy settings after use#144novaarc2025-svg wants to merge 2 commits intoqiye45:mainfrom
novaarc2025-svg wants to merge 2 commits intoqiye45:mainfrom
Conversation
针对使用下载工具后可能出现的系统代理残留问题,提供了一个一键恢复至本地代理(如 Clash Verge)的脚本。 1. 包含 ProxyFixer.bat:核心修复逻辑。 2. 包含 README.md:详细的使用说明。
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.
本 PR 为项目增加了一个修复脚本及使用指南,用于帮助用户在运行工具后恢复系统代理设置。
问题描述: 该工具运行时会修改系统代理为 127.0.0.1:2023 。若程序异常退出或未成功恢复配置,会导致 Chrome 等浏览器网络异常,或无法正常访问 GitHub、Gemini 等站点。
解决方案: 新增了 ProxyFixer.bat 脚本,可一键将代理强制重置回本地代理(默认为 Clash 的 7897 端口) 。
主要功能:
强制修改注册表中的 ProxyEnable 和 ProxyServer 键值 。
清除 DefaultConnectionSettings 二进制缓存,解决“设置不生效”的顽疾 。
自动刷新 DNS 缓存 。
使用方式: 配套提供了中文 README.md ,指导用户修改端口并以管理员权限运行 。