winutil-cn-mcp 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/data.json +1 -0
- package/index.js +232 -0
- package/package.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# WinUtil-CN MCP 服务器
|
|
2
|
+
|
|
3
|
+
让 **AI 智能体(Claude 等)按意图驱动 WinUtil 中文汉化版**——你说需求,AI 帮你搜软件、装软件、套用组合、换源。这是 winutil-cn 的「AI 原生配置层」,也是它区别于普通汉化版的护城河。
|
|
4
|
+
|
|
5
|
+
## 它能干什么
|
|
6
|
+
|
|
7
|
+
| 工具 | 作用 |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `search_apps` | 在 213 条软件库(含微信/QQ/WPS 等国货)里按关键词搜,返回 winget ID |
|
|
10
|
+
| `list_bundles` | 列出策展的一键装机组合(国内办公/国际开发/影音…) |
|
|
11
|
+
| `install_apps` | 用 winget 静默安装(传 winget ID 或组合里的 app key) |
|
|
12
|
+
| `switch_mirror` | pip/npm/yarn/go 在国内镜像与官方源之间一键切换 |
|
|
13
|
+
| `list_tweaks` | 查询系统优化项(禁用遥测/瘦身/隐私/性能,66 项) |
|
|
14
|
+
| `apply_tweaks` | 应用优化项(注册表 + 服务 + 内置脚本)⚠️ 改系统,需管理员 |
|
|
15
|
+
| `list_dns` | 列出 DNS 方案(国际 Cloudflare/Google… + 国内 阿里/DNSPod/114/百度) |
|
|
16
|
+
| `set_dns` | 把已连接网卡的 DNS 设为指定提供商 ⚠️ 改系统,需管理员 |
|
|
17
|
+
|
|
18
|
+
> ⚠️ `apply_tweaks` / `set_dns` / 部分 `install_apps` 会修改系统,需管理员权限——在**管理员终端**里启动 Claude / MCP 宿主。
|
|
19
|
+
|
|
20
|
+
**用法示例**(对 Claude 说):
|
|
21
|
+
> 「帮我把这台机器配成国内开发环境」→ AI 调 `list_bundles` 找到「国际·开发环境」+ 国货,`install_apps` 装 VSCode/Git/Node/Python/微信/WPS,再 `switch_mirror` 把 pip/npm 换国内源。
|
|
22
|
+
|
|
23
|
+
## 安装
|
|
24
|
+
|
|
25
|
+
需要 [Node.js](https://nodejs.org) 18+。
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git clone https://github.com/yasewang1337-svg/winutil-cn.git
|
|
29
|
+
cd winutil-cn/mcp
|
|
30
|
+
npm install
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 接入 Claude Code
|
|
34
|
+
|
|
35
|
+
发布到 npm 后,一行接入(无需 clone,数据已打包进包内,离线可用):
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
claude mcp add winutil-cn -- npx -y winutil-cn-mcp
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
或从本仓库运行:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
claude mcp add winutil-cn -- node "绝对路径/winutil-cn/mcp/index.js"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
或手动加进项目的 `.mcp.json`:
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"mcpServers": {
|
|
52
|
+
"winutil-cn": { "command": "node", "args": ["绝对路径/winutil-cn/mcp/index.js"] }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## 接入 Claude Desktop
|
|
58
|
+
|
|
59
|
+
编辑 `%APPDATA%\Claude\claude_desktop_config.json`:
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"mcpServers": {
|
|
64
|
+
"winutil-cn": { "command": "node", "args": ["绝对路径\\winutil-cn\\mcp\\index.js"] }
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
重启 Claude Desktop 后即可用。
|
|
70
|
+
|
|
71
|
+
## 说明
|
|
72
|
+
|
|
73
|
+
- 软件数据来自本仓库 `config/applications.json` + `汉化/extra-apps.json`(国货)+ `config/bundles.json`;本地读不到时自动回落 GitHub raw。
|
|
74
|
+
- `install_apps` / `switch_mirror` 会真实执行 winget / 换源命令;部分软件安装需管理员权限(在管理员终端启动 Claude / MCP 宿主)。
|
|
75
|
+
- 优化项(tweaks)、DNS 的意图应用在路线图上,后续加入。
|
|
76
|
+
|
|
77
|
+
MIT · Holha1337
|
package/data.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"apps":{"dockerdesktop":{"category":"开发工具","choco":"docker-desktop","content":"Docker Desktop","description":"在 Windows 上构建、运行和管理容器的桌面应用,集成 Docker 引擎、CLI 与 Kubernetes。","link":"https://www.docker.com/products/docker-desktop/","winget":"Docker.DockerDesktop","foss":false},"1password":{"category":"实用工具","choco":"1password","content":"1Password","description":"密码管理工具,可安全地存储和管理你的各种密码。","link":"https://1password.com/","winget":"AgileBits.1Password","foss":false},"7zip":{"category":"实用工具","choco":"7zip","content":"7-Zip","description":"免费开源的文件压缩工具,支持多种压缩格式,压缩率高,是文件压缩的热门之选。","link":"https://www.7-zip.org/","winget":"7zip.7zip","foss":true},"adobe":{"category":"多媒体工具","choco":"adobereader","content":"Adobe Acrobat Reader","description":"免费的 PDF 阅读器,具备查看、打印和批注 PDF 文档等核心功能。","link":"https://www.adobe.com/acrobat/pdf-reader.html","winget":"Adobe.Acrobat.Reader.64-bit","foss":false},"advancedip":{"category":"专业工具","choco":"advanced-ip-scanner","content":"Advanced IP Scanner","description":"快速易用的网络扫描工具,用于分析局域网并显示已连接设备的信息。","link":"https://www.advanced-ip-scanner.com/","winget":"Famatech.AdvancedIPScanner","foss":false},"aimp":{"category":"多媒体工具","choco":"aimp","content":"AIMP (Music Player)","description":"功能丰富的音乐播放器,支持多种音频格式、播放列表,界面可自定义。","link":"https://www.aimp.ru/","winget":"AIMP.AIMP","foss":false},"angryipscanner":{"category":"专业工具","choco":"angryip","content":"Angry IP Scanner","description":"开源跨平台的网络扫描工具,用于扫描 IP 地址和端口,展示网络连通性信息。","link":"https://angryip.org/","winget":"angryziber.AngryIPScanner","foss":true},"anydesk":{"category":"实用工具","choco":"anydesk","content":"AnyDesk","description":"远程桌面软件,可远程访问和控制电脑,以连接速度快、延迟低著称。","link":"https://anydesk.com/","winget":"AnyDesk.AnyDesk","foss":false},"audacity":{"category":"多媒体工具","choco":"audacity","content":"Audacity","description":"免费开源的音频编辑软件,以强大的录音和编辑功能著称。","link":"https://www.audacityteam.org/","winget":"Audacity.Audacity","foss":true},"autoruns":{"category":"微软工具","choco":"autoruns","content":"Autoruns","description":"显示哪些程序被设置为在系统启动或登录时自动运行。","link":"https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns","winget":"Microsoft.Sysinternals.Autoruns","foss":false},"rdcman":{"category":"微软工具","choco":"rdcman","content":"RDCMan","description":"用于管理多个远程桌面连接,适合需要频繁访问每台机器的服务器机房场景,如自动签到系统和数据中心。","link":"https://learn.microsoft.com/en-us/sysinternals/downloads/rdcman","winget":"Microsoft.Sysinternals.RDCMan","foss":false},"autohotkey":{"category":"实用工具","choco":"autohotkey","content":"AutoHotkey","description":"Windows 平台的脚本语言,可创建自定义的自动化脚本和宏,常用于自动执行重复任务和自定义键盘快捷键。","link":"https://www.autohotkey.com/","winget":"AutoHotkey.AutoHotkey","foss":true},"bitwarden":{"category":"实用工具","choco":"bitwarden","content":"Bitwarden","description":"开源的密码管理方案,将密码存储在安全加密的保险库中,可在多设备间访问。","link":"https://bitwarden.com/","winget":"Bitwarden.Bitwarden","foss":true},"blender":{"category":"多媒体工具","choco":"blender","content":"Blender (3D Graphics)","description":"强大的开源 3D 创作套件,提供建模、雕刻、动画和渲染等工具。","link":"https://www.blender.org/","winget":"BlenderFoundation.Blender","foss":true},"brave":{"category":"浏览器","choco":"brave","content":"Brave","description":"注重隐私的网页浏览器,可拦截广告和追踪器,带来更快更安全的浏览体验。","link":"https://www.brave.com","winget":"Brave.Brave","foss":true},"bulkcrapuninstaller":{"category":"实用工具","choco":"bulk-crap-uninstaller","content":"Bulk Crap Uninstaller","description":"免费开源的 Windows 卸载工具,可一次性卸载多个应用,帮助清除不需要的程序并清理系统。","link":"https://www.bcuninstaller.com/","winget":"Klocman.BulkCrapUninstaller","foss":true},"blurautoclicker":{"category":"实用工具","choco":"na","content":"BlurAutoClicker","description":"自动点击工具,带有若干高级功能,性能普遍优于常见的同类软件。","link":"https://blur009.vercel.app/projects/blur-autoclicker/","winget":"Blur009.BlurAutoClicker","foss":true},"calibre":{"category":"多媒体工具","choco":"calibre","content":"Calibre","description":"功能强大且易用的电子书管理、阅读与格式转换工具。","link":"https://calibre-ebook.com/","winget":"calibre.calibre","foss":true},"cemu":{"category":"游戏","choco":"cemu","content":"Cemu","description":"高度实验性的软件,用于在 PC 上模拟运行 Wii U 应用。","link":"https://cemu.info/","winget":"Cemu.Cemu","foss":true},"chatterino":{"category":"通讯","choco":"chatterino","content":"Chatterino","description":"面向 Twitch 聊天的客户端,界面简洁可定制,带来更好的观看直播体验。","link":"https://www.chatterino.com/","winget":"ChatterinoTeam.Chatterino","foss":true},"chrome":{"category":"浏览器","choco":"googlechrome","content":"Chrome","description":"广受欢迎的网页浏览器,以速度快、界面简洁以及与 Google 服务无缝集成著称。","link":"https://www.google.com/chrome/","winget":"Google.Chrome","foss":false},"chromium":{"category":"浏览器","choco":"chromium","content":"Chromium","description":"开源项目,是包括 Chrome 在内的多款网页浏览器的基础。","link":"https://github.com/Hibbiki/chromium-win64","winget":"Hibbiki.Chromium","foss":true},"cmake":{"category":"开发工具","choco":"cmake","content":"CMake","description":"开源、跨平台的工具集,用于构建、测试和打包软件。","link":"https://cmake.org/","winget":"Kitware.CMake","foss":true},"cpuz":{"category":"专业工具","choco":"cpu-z","content":"CPU-Z","description":"Windows 平台的系统监测与诊断工具,可提供 CPU、内存、主板等硬件部件的详细信息。","link":"https://www.cpuid.com/softwares/cpu-z.html","winget":"CPUID.CPU-Z","foss":false},"crystaldiskinfo":{"category":"实用工具","choco":"crystaldiskinfo","content":"Crystal Disk Info","description":"硬盘健康监测工具,可显示硬盘的状态和性能信息,帮助用户预判潜在故障并监控磁盘健康。","link":"https://crystalmark.info/en/software/crystaldiskinfo/","winget":"CrystalDewWorld.CrystalDiskInfo","foss":true},"crystaldiskmark":{"category":"实用工具","choco":"crystaldiskmark","content":"Crystal Disk Mark","description":"磁盘性能测试工具,测量存储设备的读写速度,帮助评估机械硬盘和 SSD 的性能。","link":"https://crystalmark.info/en/software/crystaldiskmark/","winget":"CrystalDewWorld.CrystalDiskMark","foss":true},"cursor":{"category":"开发工具","choco":"cursoride","content":"Cursor","description":"基于 VS Code 的 AI 代码编辑器,内置智能体编程能力和 AI 辅助,贯穿整个开发流程。","link":"https://cursor.com/","winget":"Anysphere.Cursor","foss":false},"ddu":{"category":"专业工具","choco":"ddu","content":"Display Driver Uninstaller","description":"彻底卸载 NVIDIA、AMD、Intel 显卡驱动的工具,适合排查显卡驱动相关的故障。","link":"https://www.wagnardsoft.com/display-driver-uninstaller-DDU-","winget":"Wagnardsoft.DisplayDriverUninstaller","foss":true},"discord":{"category":"通讯","choco":"discord","content":"Discord","description":"流行的语音、视频和文字聊天通讯平台,最初面向游戏玩家,如今被各类社区广泛使用。","link":"https://discord.com/","winget":"Discord.Discord","foss":false},"dismtools":{"category":"微软工具","choco":"dismtools","content":"DISMTools","description":"DISM 工具的快速可定制图形界面,支持 Windows 7 及以后的系统镜像。可在任意磁盘上安装,提供工程管理,并允许调整配色模式、语言、DISM 版本等设置;底层同时基于原生 DISM 和托管 DISM API。","link":"https://github.com/CodingWonders/DISMTools","winget":"CodingWondersSoftware.DISMTools.Stable","foss":true},"ntlite":{"category":"微软工具","choco":"ntlite-free","content":"NTLite","description":"集成更新、驱动,自动化 Windows 与应用的安装配置,加快 Windows 部署流程,一次设置后续直接复用。","link":"https://ntlite.com","winget":"Nlitesoft.NTLite","foss":false},"dorion":{"category":"通讯","choco":"dorion","content":"Dorion","description":"小巧的第三方 Discord 客户端,占用更小、启动更快,支持主题、插件等更多功能。","link":"https://github.com/SpikeHD/Dorion","winget":"SpikeHD.Dorion","foss":true},"dotnet6":{"category":"微软工具","choco":"dotnet-6.0-runtime","content":".NET Desktop Runtime 6","description":"运行基于 .NET 6 开发的桌面应用所需的运行库。","link":"https://dotnet.microsoft.com/download/dotnet/6.0","winget":"Microsoft.DotNet.DesktopRuntime.6","foss":true},"dotnet8":{"category":"微软工具","choco":"dotnet-8.0-runtime","content":".NET Desktop Runtime 8","description":"运行基于 .NET 8 开发的桌面应用所需的运行库。","link":"https://dotnet.microsoft.com/download/dotnet/8.0","winget":"Microsoft.DotNet.DesktopRuntime.8","foss":true},"dotnet9":{"category":"微软工具","choco":"dotnet-9.0-runtime","content":".NET Desktop Runtime 9","description":"运行基于 .NET 9 开发的桌面应用所需的运行库。","link":"https://dotnet.microsoft.com/download/dotnet/9.0","winget":"Microsoft.DotNet.DesktopRuntime.9","foss":true},"dotnet10":{"category":"微软工具","choco":"dotnet-10.0-runtime","content":".NET Desktop Runtime 10","description":"运行基于 .NET 10 开发的桌面应用所需的运行库。","link":"https://dotnet.microsoft.com/download/dotnet/10.0","winget":"Microsoft.DotNet.DesktopRuntime.10","foss":true},"eaapp":{"category":"游戏","choco":"ea-app","content":"EA App","description":"用于获取和畅玩 Electronic Arts(美国艺电)游戏的平台。","link":"https://www.ea.com/ea-app","winget":"ElectronicArts.EADesktop","foss":false},"eartrumpet":{"category":"多媒体工具","choco":"eartrumpet","content":"EarTrumpet (Audio)","description":"Windows 的音频控制应用,提供简洁直观的界面来管理声音设置。","link":"https://eartrumpet.app/","winget":"File-New-Project.EarTrumpet","foss":true},"edge":{"category":"浏览器","choco":"microsoft-edge","content":"Edge","description":"微软基于 Chromium 打造的现代浏览器,兼顾性能与安全,并深度集成微软各项服务。","link":"https://www.microsoft.com/edge","winget":"Microsoft.Edge","foss":false},"enteauth":{"category":"实用工具","choco":"ente-auth","content":"Ente Auth","description":"免费、跨平台、端到端加密的两步验证器(身份验证)应用。","link":"https://ente.io/auth/","winget":"ente-io.auth-desktop","foss":true},"epicgames":{"category":"游戏","choco":"epicgameslauncher","content":"Epic Games Launcher","description":"用于获取和畅玩 Epic Games 商店游戏的客户端。","link":"https://www.epicgames.com/store/en-US/","winget":"EpicGames.EpicGamesLauncher","foss":false},"files":{"category":"实用工具","choco":"files","content":"Files","description":"替代系统自带资源管理器的第三方文件管理器。","link":"https://github.com/files-community/Files","winget":"FilesCommunity.Files","foss":true},"firefox":{"category":"浏览器","choco":"firefox","content":"Firefox","description":"Mozilla 开发的开源浏览器,以丰富的自定义选项、隐私保护功能和扩展生态著称。","link":"https://www.mozilla.org/en-US/firefox/new/","winget":"Mozilla.Firefox","foss":true},"firefoxesr":{"category":"浏览器","choco":"FirefoxESR","content":"Firefox ESR","description":"Mozilla 开发的开源浏览器,以丰富的自定义选项、隐私保护功能和扩展生态著称。ESR(延长支持版)每 42 周进行一次大版本更新,期间按需推送崩溃修复、安全修复和策略更新等小更新,且至少每四周更新一次。","link":"https://www.mozilla.org/en-US/firefox/enterprise/","winget":"Mozilla.Firefox.ESR","foss":true},"floorp":{"category":"浏览器","choco":"floorp","content":"Floorp","description":"开源浏览器项目,目标是提供简洁快速的浏览体验。","link":"https://floorp.app/","winget":"Ablaze.Floorp","foss":true},"flux":{"category":"实用工具","choco":"flux","content":"F.lux","description":"根据时间调整屏幕色温,减轻夜间使用时的眼睛疲劳。","link":"https://justgetflux.com/","winget":"flux.flux","foss":false},"geforcenow":{"category":"游戏","choco":"nvidia-geforce-now","content":"GeForce NOW","description":"NVIDIA 的云游戏服务,让你在各种设备上畅玩高画质 PC 游戏。","link":"https://www.nvidia.com/en-us/geforce-now/","winget":"Nvidia.GeForceNow","foss":false},"gimp":{"category":"多媒体工具","choco":"gimp","content":"GIMP (Image Editor)","description":"功能全面的开源位图(光栅)图像编辑器,可用于照片修饰、图像编辑和图像合成等。","link":"https://www.gimp.org/","winget":"GIMP.GIMP.3","foss":true},"git":{"category":"开发工具","choco":"git","content":"Git","description":"广泛使用的分布式版本控制系统,用于在软件开发中跟踪源代码的变更。","link":"https://git-scm.com/","winget":"Git.Git","foss":true},"githubdesktop":{"category":"开发工具","choco":"git;github-desktop","content":"GitHub Desktop","description":"可视化 Git 客户端,界面简洁易用,简化 GitHub 仓库的协作流程。","link":"https://desktop.github.com/","winget":"GitHub.GitHubDesktop","foss":true},"gog":{"category":"游戏","choco":"goggalaxy","content":"GOG Galaxy","description":"游戏平台客户端,提供无 DRM 的游戏、附加内容等。","link":"https://www.gog.com/galaxy","winget":"GOG.Galaxy","foss":false},"golang":{"category":"开发工具","choco":"golang","content":"Go","description":"Go(又称 Golang)是一门静态类型的编译型编程语言,追求简洁、可靠与高效。","link":"https://go.dev/","winget":"GoLang.Go","foss":true},"googledrive":{"category":"实用工具","choco":"googledrive","content":"Google Drive","description":"跨设备文件同步服务,与你的 Google 账户关联。","link":"https://www.google.com/drive/","winget":"Google.GoogleDrive","foss":false},"gpuz":{"category":"专业工具","choco":"gpu-z","content":"GPU-Z","description":"提供显卡与 GPU 详细信息的查看工具。","link":"https://www.techpowerup.com/gpuz/","winget":"TechPowerUp.GPU-Z","foss":false},"helium":{"category":"浏览器","choco":"helium","content":"Helium","description":"注重隐私、快速且诚实的网页浏览器。","link":"https://github.com/imputnet/helium/","winget":"ImputNet.Helium","foss":true},"hugo":{"category":"实用工具","choco":"hugo-extended","content":"Hugo","description":"号称全球最快的静态网站构建框架。","link":"https://github.com/gohugoio/hugo/","winget":"Hugo.Hugo.Extended","foss":true},"handbrake":{"category":"多媒体工具","choco":"handbrake","content":"HandBrake","description":"开源视频转码工具,可将几乎任意格式的视频转换为多种广泛支持的编码格式。","link":"https://handbrake.fr/","winget":"HandBrake.HandBrake","foss":true},"heroiclauncher":{"category":"游戏","choco":"heroic-games-launcher","content":"Heroic Games Launcher","description":"开源的第三方游戏启动器,可替代 Epic Games Store 启动器使用。","link":"https://heroicgameslauncher.com/","winget":"HeroicGamesLauncher.HeroicGamesLauncher","foss":true},"hwinfo":{"category":"专业工具","choco":"hwinfo","content":"HWiNFO","description":"面向 Windows 的全面硬件信息查询与诊断工具。","link":"https://www.hwinfo.com/","winget":"REALiX.HWiNFO","foss":false},"hwmonitor":{"category":"专业工具","choco":"hwmonitor","content":"HWMonitor","description":"硬件监控工具,读取 PC 系统主要的健康状态传感器数据。","link":"https://www.cpuid.com/softwares/hwmonitor.html","winget":"CPUID.HWMonitor","foss":false},"imageglass":{"category":"多媒体工具","choco":"imageglass","content":"ImageGlass (Image Viewer)","description":"功能多样的图片查看器,支持多种图像格式,注重简洁与速度。","link":"https://imageglass.org/","winget":"DuongDieuPhap.ImageGlass","foss":true},"irfanview":{"category":"多媒体工具","choco":"irfanview","content":"IrfanView","description":"轻量、快速、免费的图片查看与编辑工具,支持多种格式、批量处理及丰富的插件。","link":"https://irfanview.com/","winget":"IrfanSkiljan.IrfanView","foss":false},"itch":{"category":"游戏","choco":"itch","content":"Itch.io","description":"面向独立游戏与创意作品的数字发行平台。","link":"https://itch.io/","winget":"ItchIo.Itch","foss":true},"itunes":{"category":"多媒体工具","choco":"itunes","content":"iTunes","description":"由 Apple 开发的媒体播放器、媒体库及网络电台应用。","link":"https://www.apple.com/itunes/","winget":"Apple.iTunes","foss":false},"java8":{"category":"开发工具","choco":"corretto8jdk","content":"Amazon Corretto 8 (LTS)","description":"Amazon Corretto 是免费、跨平台、可用于生产环境的 OpenJDK 发行版。","link":"https://aws.amazon.com/corretto","winget":"Amazon.Corretto.8.JDK","foss":true},"java21":{"category":"开发工具","choco":"corretto21jdk","content":"Amazon Corretto 21 (LTS)","description":"Amazon Corretto 是免费、跨平台、可用于生产环境的 OpenJDK 发行版。","link":"https://aws.amazon.com/corretto","winget":"Amazon.Corretto.21.JDK","foss":true},"java25":{"category":"开发工具","choco":"corretto25jdk","content":"Amazon Corretto 25 (LTS)","description":"Amazon Corretto 是免费、跨平台、可用于生产环境的 OpenJDK 发行版。","link":"https://aws.amazon.com/corretto","winget":"Amazon.Corretto.25.JDK","foss":true},"jellyfinmediaplayer":{"category":"自托管工具","choco":"jellyfin-media-player","content":"Jellyfin Media Player","description":"Jellyfin 媒体服务器的客户端应用,用于访问你的媒体库。","link":"https://github.com/jellyfin/jellyfin-media-player","winget":"Jellyfin.JellyfinMediaPlayer","foss":true},"jellyfinserver":{"category":"自托管工具","choco":"jellyfin","content":"Jellyfin Server","description":"开源媒体服务器软件,用于整理并流式播放你的媒体库。","link":"https://jellyfin.org/","winget":"Jellyfin.Server","foss":true},"jetbrains":{"category":"开发工具","choco":"jetbrainstoolbox","content":"Jetbrains Toolbox","description":"用于便捷安装与管理 JetBrains 系列开发者工具的平台。","link":"https://www.jetbrains.com/toolbox/","winget":"JetBrains.Toolbox","foss":false},"jpegview":{"category":"实用工具","choco":"jpegview","content":"JPEG View","description":"精简、快速且高度可配置的图片查看/编辑工具,支持 JPEG、BMP、PNG、WEBP、TGA、GIF、JXL、HEIC、HEIF、AVIF 和 TIFF 格式,界面极简。","link":"https://github.com/sylikc/jpegview","winget":"sylikc.JPEGView","foss":true},"klite":{"category":"多媒体工具","choco":"k-litecodecpack-standard","content":"K-Lite Codec Standard","description":"音视频编解码器及相关工具的合集,提供媒体播放所需的核心组件。","link":"https://www.codecguide.com/","winget":"CodecGuide.K-LiteCodecPack.Standard","foss":false},"kodi":{"category":"自托管工具","choco":"kodi","content":"Kodi Media Center","description":"开源媒体中心应用,可播放与查看绝大多数视频、音乐、播客及其他数字媒体文件。","link":"https://kodi.tv/","winget":"XBMCFoundation.Kodi","foss":true},"lazygit":{"category":"开发工具","choco":"lazygit","content":"Lazygit","description":"git 命令的简洁终端 UI 工具,在终端里以可视化界面操作 git。","link":"https://github.com/jesseduffield/lazygit/","winget":"JesseDuffield.lazygit","foss":true},"libreoffice":{"category":"多媒体工具","choco":"libreoffice-fresh","content":"LibreOffice","description":"功能强大的免费办公套件,兼容其他主流办公软件格式。","link":"https://www.libreoffice.org/","winget":"TheDocumentFoundation.LibreOffice","foss":true},"librewolf":{"category":"浏览器","choco":"librewolf","content":"LibreWolf","description":"基于 Firefox 的注重隐私的网页浏览器,在隐私和安全方面做了额外强化。","link":"https://librewolf-community.gitlab.io/","winget":"LibreWolf.LibreWolf","foss":true},"localsend":{"category":"自托管工具","choco":"localsend.install","content":"LocalSend","description":"开源跨平台的 AirDrop 替代方案,用于在设备间传输文件。","link":"https://localsend.org/","winget":"LocalSend.LocalSend","foss":true},"mpc-qt":{"category":"多媒体工具","choco":"mediainfo","content":"mpc-qt","description":"基于 Qt 重写的 Media Player Classic 媒体播放器(Media Player Classic Qute Theater)。","link":"https://github.com/mpc-qt/mpc-qt","winget":"mpc-qt.mpc-qt","foss":true},"matrix":{"category":"通讯","choco":"element-desktop","content":"Element","description":"Matrix 协议的客户端,Matrix 是面向安全、去中心化通信的开放网络。","link":"https://element.io/","winget":"Element.Element","foss":true},"modrinth":{"category":"游戏","choco":"modrinth-app","content":"Modrinth App","description":"用于管理 Minecraft 模组和整合包的桌面应用。","link":"https://modrinth.com/app","winget":"Modrinth.ModrinthApp","foss":true},"moonlight":{"category":"自托管工具","choco":"moonlight-qt","content":"Moonlight/GameStream Client","description":"GameStream 串流客户端,可在局域网内将 PC 游戏画面串流到其他设备。","link":"https://moonlight-stream.org/","winget":"MoonlightGameStreamingProject.Moonlight","foss":true},"mpchc":{"category":"多媒体工具","choco":"mpc-hc-clsid2","content":"Media Player Classic - Home Cinema","description":"免费开源的 Windows 视频和音频播放器(MPC-HC),基于早期 Guliverkli 项目开发,新增了大量功能并修复了诸多 bug。","link":"https://github.com/clsid2/mpc-hc/","winget":"clsid2.mpc-hc","foss":true},"msedgeredirect":{"category":"实用工具","choco":"msedgeredirect","content":"MSEdgeRedirect","description":"将 Windows 中的新闻、搜索、小组件、天气等内容重定向到默认浏览器打开的工具。","link":"https://github.com/rcmaehl/MSEdgeRedirect","winget":"rcmaehl.MSEdgeRedirect","foss":true},"msiafterburner":{"category":"实用工具","choco":"msiafterburner","content":"MSI Afterburner","description":"显卡超频工具,带有丰富的高级功能。","link":"https://www.msi.com/Landing/afterburner","winget":"Guru3D.Afterburner","foss":false},"mullvadvpn":{"category":"专业工具","choco":"mullvad-app","content":"Mullvad VPN","description":"Mullvad VPN 服务的官方客户端软件。","link":"https://github.com/mullvad/mullvadvpn-app","winget":"MullvadVPN.MullvadVPN","foss":true},"mullvadbrowser":{"category":"浏览器","choco":"na","content":"Mullvad Browser","description":"注重隐私的网页浏览器,与 Tor Project 合作开发。","link":"https://mullvad.net/browser","winget":"MullvadVPN.MullvadBrowser","foss":true},"nomacs":{"category":"多媒体工具","choco":"nomacs","content":"nomacs","description":"免费开源的跨平台图片查看器,支持包括 RAW 和 psd 在内的各种常见图片格式。","link":"https://nomacs.org/","winget":"nomacs.nomacs","foss":true},"nanazip":{"category":"实用工具","choco":"nanazip","content":"NanaZip","description":"快速高效的文件压缩和解压工具。","link":"https://github.com/M2Team/NanaZip","winget":"M2Team.NanaZip","foss":true},"netbird":{"category":"自托管工具","choco":"netbird","content":"NetBird","description":"开源的网络组网工具,类似 Tailscale,可连接到自托管服务器。","link":"https://netbird.io/","winget":"Netbird.Netbird","foss":true},"naps2":{"category":"多媒体工具","choco":"naps2","content":"NAPS2 (Document Scanner)","description":"文档扫描应用,简化电子文档的创建流程。","link":"https://www.naps2.com/","winget":"Cyanfish.NAPS2","foss":true},"neovim":{"category":"开发工具","choco":"neovim","content":"Neovim","description":"高度可扩展的文本编辑器,是对原版 Vim 编辑器的改进。","link":"https://neovim.io/","winget":"Neovim.Neovim","foss":true},"nextclouddesktop":{"category":"自托管工具","choco":"nextcloud-client","content":"Nextcloud Desktop","description":"Nextcloud 文件同步与共享平台的官方桌面客户端。","link":"https://nextcloud.com/install/#install-clients","winget":"Nextcloud.NextcloudDesktop","foss":true},"nmap":{"category":"专业工具","choco":"nmap","content":"Nmap","description":"开源的网络探测与安全审计工具(Network Mapper),可发现网络中的设备并获取其端口和服务信息。","link":"https://nmap.org/","winget":"Insecure.Nmap","foss":true},"nodejs":{"category":"开发工具","choco":"nodejs","content":"NodeJS","description":"基于 Chrome V8 引擎构建的 JavaScript 运行时,用于开发服务端和网络应用。","link":"https://nodejs.org/","winget":"OpenJS.NodeJS","foss":true},"nodejslts":{"category":"开发工具","choco":"nodejs-lts","content":"NodeJS LTS","description":"NodeJS 的长期支持(LTS)版本,为服务端 JavaScript 开发提供稳定可靠的发行版。","link":"https://nodejs.org/","winget":"OpenJS.NodeJS.LTS","foss":true},"notepadplus":{"category":"多媒体工具","choco":"notepadplusplus","content":"Notepad++","description":"免费开源的代码编辑器,可替代记事本,支持多种编程语言。","link":"https://notepad-plus-plus.org/","winget":"Notepad++.Notepad++","foss":true},"nuget":{"category":"微软工具","choco":"nuget.commandline","content":"NuGet","description":".NET 框架的包管理器,帮助开发者在 .NET 应用中管理和共享类库。","link":"https://www.nuget.org/","winget":"Microsoft.NuGet","foss":true},"nvclean":{"category":"实用工具","choco":"na","content":"NVCleanstall","description":"用于定制 NVIDIA 驱动安装的工具,让高级用户能更细致地控制驱动安装过程中的各个环节。","link":"https://www.techpowerup.com/nvcleanstall/","winget":"TechPowerUp.NVCleanstall","foss":false},"obs":{"category":"多媒体工具","choco":"obs-studio","content":"OBS Studio","description":"免费开源的视频录制与直播软件,支持实时音视频采集与混流,深受内容创作者欢迎。","link":"https://obsproject.com/","winget":"OBSProject.OBSStudio","foss":true},"obsidian":{"category":"多媒体工具","choco":"obsidian","content":"Obsidian","description":"功能强大的笔记与知识管理应用。","link":"https://obsidian.md/","winget":"Obsidian.Obsidian","foss":false},"onedrive":{"category":"微软工具","choco":"onedrive","content":"OneDrive","description":"Microsoft 提供的云存储服务,可在多设备间安全地存储和共享文件。","link":"https://onedrive.live.com/","winget":"Microsoft.OneDrive","foss":false},"onlyoffice":{"category":"多媒体工具","choco":"onlyoffice","content":"ONLYOffice Desktop","description":"功能全面的办公套件,支持文档编辑与协作。","link":"https://www.onlyoffice.com/desktop.aspx","winget":"ONLYOFFICE.DesktopEditors","foss":true},"OPAutoClicker":{"category":"实用工具","choco":"autoclicker","content":"OPAutoClicker","description":"功能完整的自动点击工具,提供两种点击模式:跟随鼠标当前位置点击,或在预先指定的固定位置点击。","link":"https://www.opautoclicker.com","winget":"OPAutoClicker.OPAutoClicker","foss":false},"openrgb":{"category":"实用工具","choco":"openrgb","content":"OpenRGB","description":"开源的 RGB 灯效控制软件,可统一管理和调节各类硬件及外设的 RGB 灯光。","link":"https://openrgb.org/","winget":"OpenRGB.OpenRGB","foss":true},"OpenVPN":{"category":"专业工具","choco":"openvpn-connect","content":"OpenVPN Connect","description":"VPN 客户端,可安全连接到 VPN 服务器,提供加密连接以保护上网隐私。","link":"https://openvpn.net/","winget":"OpenVPNTechnologies.OpenVPNConnect","foss":false},"OVirtualBox":{"category":"实用工具","choco":"virtualbox","content":"Oracle VirtualBox","description":"Oracle 推出的免费开源虚拟化工具,支持 x86 及 AMD64/Intel64 架构。","link":"https://www.virtualbox.org/","winget":"Oracle.VirtualBox","foss":true},"policyplus":{"category":"实用工具","choco":"na","content":"Policy Plus","description":"本地组策略编辑器的增强版,功能更丰富,适用于所有 Windows 版本。","link":"https://github.com/Fleex255/PolicyPlus","winget":"Fleex255.PolicyPlus","foss":true},"processexplorer":{"category":"微软工具","choco":"procexp","content":"Process Explorer","description":"任务管理与系统监视工具。","link":"https://learn.microsoft.com/sysinternals/downloads/process-explorer","winget":"Microsoft.Sysinternals.ProcessExplorer","foss":false},"Paintdotnet":{"category":"多媒体工具","choco":"paint.net","content":"Paint.NET","description":"Windows 平台的免费图像与照片编辑软件,界面直观,内置丰富而强大的编辑工具。","link":"https://www.getpaint.net/","winget":"dotPDN.PaintDotNet","foss":false},"parsec":{"category":"实用工具","choco":"parsec","content":"Parsec","description":"低延迟、高画质的远程桌面共享应用,适合跨设备协作与游戏串流。","link":"https://parsec.app/","winget":"Parsec.Parsec","foss":false},"peazip":{"category":"实用工具","choco":"peazip","content":"PeaZip","description":"免费开源的文件压缩工具,支持多种压缩格式,并提供加密功能。","link":"https://peazip.github.io/","winget":"Giorgiotani.Peazip","foss":true},"playnite":{"category":"游戏","choco":"playnite","content":"Playnite","description":"开源的游戏库管理器,目标简单明确:为你的所有游戏提供统一的管理界面。","link":"https://playnite.link/","winget":"Playnite.Playnite","foss":true},"plex":{"category":"自托管工具","choco":"plexmediaserver","content":"Plex Media Server","description":"媒体服务器软件,可整理并串流你的媒体库,支持多种媒体格式并提供丰富功能。","link":"https://www.plex.tv/your-media/","winget":"Plex.PlexMediaServer","foss":false},"plexdesktop":{"category":"自托管工具","choco":"plex","content":"Plex Desktop","description":"Plex Media Server 的 Windows 桌面客户端(前端)。","link":"https://www.plex.tv","winget":"Plex.Plex","foss":false},"posh":{"category":"开发工具","choco":"oh-my-posh","content":"Oh My Posh (Prompt)","description":"跨平台的命令行提示符主题引擎,适用于任意 shell。","link":"https://ohmyposh.dev/","winget":"JanDeDobbeleer.OhMyPosh","foss":true},"powershell":{"category":"微软工具","choco":"powershell-core","content":"PowerShell","description":"面向系统管理员的任务自动化框架与脚本语言,提供强大的命令行能力。","link":"https://github.com/PowerShell/PowerShell","winget":"Microsoft.PowerShell","foss":true},"powertoys":{"category":"微软工具","choco":"powertoys","content":"PowerToys","description":"面向高级用户的实用工具集,可提升工作效率,内含 FancyZones、PowerRename 等工具。","link":"https://github.com/microsoft/PowerToys","winget":"Microsoft.PowerToys","foss":true},"prismlauncher":{"category":"游戏","choco":"prismlauncher","content":"Prism Launcher","description":"开源的 Minecraft 启动器,可管理多个游戏实例、账户和模组。","link":"https://prismlauncher.org/","winget":"PrismLauncher.PrismLauncher","foss":true},"processlasso":{"category":"实用工具","choco":"plasso","content":"Process Lasso","description":"系统优化与自动化工具,通过调整进程优先级和 CPU 亲和性来提升系统响应速度与稳定性。","link":"https://bitsum.com/","winget":"BitSum.ProcessLasso","foss":false},"protonauth":{"category":"实用工具","choco":"protonauth","content":"Proton Authenticator","description":"Proton 推出的两步验证(2FA)应用,可安全地同步与备份 2FA 验证码。","link":"https://proton.me/authenticator","winget":"Proton.ProtonAuthenticator","foss":true},"protonmail":{"category":"通讯","choco":"protonmail","content":"Proton Mail","description":"Proton 提供的端到端加密电子邮件服务,采用零访问加密保护你的隐私。","link":"https://proton.me/mail","winget":"Proton.ProtonMail","foss":true},"protondrive":{"category":"实用工具","choco":"protondrive","content":"Proton Drive","description":"端到端加密的瑞士云存储,安全保护你的文件与数据。","link":"https://proton.me/drive","winget":"Proton.ProtonDrive","foss":true},"protonpass":{"category":"实用工具","choco":"protonpass","content":"Proton Pass","description":"基于云的密码管理器,提供端到端加密和唯一的邮箱别名功能。","link":"https://proton.me/pass","winget":"Proton.ProtonPass","foss":true},"protonvpn":{"category":"专业工具","choco":"protonvpn","content":"Proton VPN","description":"无日志记录的 VPN 服务,通过 Secure Core、Tor over VPN 等功能保护你的在线隐私。","link":"https://protonvpn.com/","winget":"Proton.ProtonVPN","foss":true},"processmonitor":{"category":"微软工具","choco":"procexp","content":"SysInternals Process Monitor","description":"SysInternals 出品的高级监控工具,实时显示文件系统、注册表及进程/线程活动。","link":"https://docs.microsoft.com/en-us/sysinternals/downloads/procmon","winget":"Microsoft.Sysinternals.ProcessMonitor","foss":false},"putty":{"category":"专业工具","choco":"putty","content":"PuTTY","description":"免费开源的终端模拟器、串口控制台和网络文件传输工具,支持 SSH、Telnet、SCP 等多种网络协议。","link":"https://www.chiark.greenend.org.uk/~sgtatham/putty/","winget":"PuTTY.PuTTY","foss":true},"python3":{"category":"开发工具","choco":"python","content":"Python3","description":"通用编程语言,广泛用于 Web 开发、数据分析、人工智能等领域。","link":"https://www.python.org/","winget":"Python.Python.3.14","foss":true},"qbittorrent":{"category":"实用工具","choco":"qbittorrent","content":"qBittorrent","description":"免费开源的 BitTorrent 下载客户端,功能丰富且轻量,可替代其他 BT 客户端。","link":"https://www.qbittorrent.org/","winget":"qBittorrent.qBittorrent","foss":true},"qtox":{"category":"通讯","choco":"qtox","content":"QTox","description":"免费开源的即时通讯应用,设计上优先保障用户隐私与安全。","link":"https://qtox.github.io/","winget":"Tox.qTox","foss":true},"revo":{"category":"实用工具","choco":"revo-uninstaller","content":"Revo Uninstaller","description":"高级卸载工具,帮你彻底删除无用软件并清理系统残留。","link":"https://www.revouninstaller.com/","winget":"RevoUninstaller.RevoUninstaller","foss":false},"WiseProgramUninstaller":{"category":"实用工具","choco":"na","content":"Wise Program Uninstaller (WiseCleaner)","description":"Windows 程序卸载工具,界面简洁易用,可快速彻底地卸载应用程序。","link":"https://www.wisecleaner.com/wise-program-uninstaller.html","winget":"WiseCleaner.WiseProgramUninstaller","foss":false},"rufus":{"category":"实用工具","choco":"rufus","content":"Rufus Imager","description":"用于格式化并制作可启动 USB 驱动器(如 U 盘、闪存盘)的工具。","link":"https://rufus.ie/","winget":"Rufus.Rufus","foss":true},"rustlang":{"category":"开发工具","choco":"rust","content":"Rust","description":"注重安全与性能的编程语言,尤其适合系统级编程。","link":"https://www.rust-lang.org/","winget":"Rustlang.Rust.MSVC","foss":true},"sdio":{"category":"实用工具","choco":"sdio","content":"Snappy Driver Installer Origin","description":"免费开源的驱动更新工具,内置面向 Windows 的庞大驱动数据库。","link":"https://www.glenn.delahoy.com/snappy-driver-installer-origin/","winget":"GlennDelahoy.SnappyDriverInstallerOrigin","foss":true},"sharex":{"category":"多媒体工具","choco":"sharex","content":"ShareX (Screenshots)","description":"免费开源的屏幕截图与文件分享工具,支持多种截图方式,并提供截图编辑、分享等高级功能。","link":"https://getsharex.com/","winget":"ShareX.ShareX","foss":true},"nilesoftShell":{"category":"实用工具","choco":"nilesoft-shell","content":"Nilesoft Shell","description":"扩展 Windows 右键菜单的工具,为系统上下文菜单添加更多功能和自定义选项。","link":"https://nilesoft.org/","winget":"Nilesoft.Shell","foss":false},"systeminformer":{"category":"开发工具","choco":"systeminformer","content":"System Informer","description":"免费、强大的多功能工具,可监控系统资源、调试软件并检测恶意程序。","link":"https://systeminformer.com/","winget":"WinsiderSS.SystemInformer","foss":true},"signal":{"category":"通讯","choco":"signal","content":"Signal","description":"注重隐私的即时通讯应用,提供端到端加密,保障通信安全私密。","link":"https://signal.org/","winget":"OpenWhisperSystems.Signal","foss":true},"signalrgb":{"category":"实用工具","choco":"na","content":"SignalRGB","description":"用一款免费应用即可统一控制并同步各种 RGB 设备的灯效。","link":"https://www.signalrgb.com/","winget":"WhirlwindFX.SignalRgb","foss":false},"simplewall":{"category":"专业工具","choco":"simplewall","content":"Simplewall","description":"免费开源的 Windows 防火墙应用,可控制和管理各应用程序的入站与出站网络流量。","link":"https://github.com/henrypp/simplewall","winget":"Henry++.simplewall","foss":true},"slack":{"category":"通讯","choco":"slack","content":"Slack","description":"团队协作平台,通过频道、消息和文件分享连接团队、便利沟通。","link":"https://slack.com/","winget":"SlackTechnologies.Slack","foss":false},"steam":{"category":"游戏","choco":"steam-client","content":"Steam","description":"数字游戏发行平台,可购买和畅玩电子游戏,并提供多人联机、视频直播等功能。","link":"https://store.steampowered.com/about/","winget":"Valve.Steam","foss":false},"sublimetext":{"category":"开发工具","choco":"sublimetext4","content":"Sublime Text","description":"功能精巧的文本编辑器,适用于代码、标记语言和文稿编辑。","link":"https://www.sublimetext.com/","winget":"SublimeHQ.SublimeText.4","foss":false},"sunshine":{"category":"自托管工具","choco":"sunshine","content":"Sunshine/GameStream Server","description":"GameStream 串流服务端,可将 PC 游戏低延迟串流到 Android 设备上远程游玩。","link":"https://github.com/LizardByte/Sunshine","winget":"LizardByte.Sunshine","foss":true},"tcpview":{"category":"微软工具","choco":"tcpview","content":"SysInternals TCPView","description":"SysInternals 出品的网络监控工具,详细列出系统上所有的 TCP 和 UDP 连接端点。","link":"https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview","winget":"Microsoft.Sysinternals.TCPView","foss":false},"teams":{"category":"通讯","choco":"microsoft-teams","content":"Teams","description":"微软的协作平台,集成 Office 365,提供聊天、视频会议、文件共享等功能。","link":"https://www.microsoft.com/en-us/microsoft-teams/group-chat-software","winget":"Microsoft.Teams","foss":false},"teamviewer":{"category":"实用工具","choco":"teamviewer9","content":"TeamViewer","description":"广受欢迎的远程访问与远程支持软件,可连接并控制远程设备。","link":"https://www.teamviewer.com/","winget":"TeamViewer.TeamViewer","foss":false},"teamspeak3":{"category":"通讯","choco":"teamspeak","content":"TeamSpeak 3","description":"跨平台语音通讯工具,以清晰音质、低延迟、高可靠性和强加密著称,适合团队协作沟通。","link":"https://www.teamspeak.com/","winget":"TeamSpeakSystems.TeamSpeakClient","foss":false},"telegram":{"category":"通讯","choco":"telegram","content":"Telegram","description":"基于云端的即时通讯应用,以注重安全、速度快、界面简洁著称。","link":"https://telegram.org/","winget":"Telegram.TelegramDesktop","foss":true},"terminal":{"category":"微软工具","choco":"microsoft-windows-terminal","content":"Windows Terminal","description":"现代化、快速高效的终端应用,面向命令行用户,支持多标签页、分屏等功能。","link":"https://aka.ms/terminal","winget":"Microsoft.WindowsTerminal","foss":true},"thunderbird":{"category":"通讯","choco":"thunderbird","content":"Thunderbird","description":"Mozilla 出品的免费开源客户端,集邮件、新闻组和聊天于一体,功能丰富。","link":"https://www.thunderbird.net/","winget":"Mozilla.Thunderbird","foss":true},"betterbird":{"category":"通讯","choco":"betterbird","content":"Betterbird","description":"Mozilla Thunderbird 的分支版本,增加了额外功能并修复了若干缺陷。","link":"https://www.betterbird.eu/","winget":"Betterbird.Betterbird","foss":true},"tor":{"category":"浏览器","choco":"tor-browser","content":"Tor Browser","description":"面向匿名上网的浏览器,借助 Tor 网络保护用户隐私与安全。","link":"https://www.torproject.org/","winget":"TorProject.TorBrowser","foss":true},"totalcommander":{"category":"实用工具","choco":"TotalCommander","content":"Total Commander","description":"Windows 平台的文件管理器,提供强大且直观的双窗格文件管理界面。","link":"https://www.ghisler.com/","winget":"Ghisler.TotalCommander","foss":false},"treesize":{"category":"实用工具","choco":"treesizefree","content":"TreeSize Free","description":"磁盘空间管理工具,帮助分析并直观展示各驱动器的空间占用情况。","link":"https://www.jam-software.com/treesize_free/","winget":"JAMSoftware.TreeSize.Free","foss":false},"ttaskbar":{"category":"实用工具","choco":"translucenttb","content":"TranslucentTB","description":"用于自定义 Windows 任务栏透明度的小工具。","link":"https://github.com/TranslucentTB/TranslucentTB","winget":"CharlesMilette.TranslucentTB","foss":true},"ubisoft":{"category":"游戏","choco":"ubisoft-connect","content":"Ubisoft Connect","description":"育碧的数字发行与在线游戏平台,提供旗下游戏及相关服务。","link":"https://ubisoftconnect.com/","winget":"Ubisoft.Connect","foss":false},"ungoogled":{"category":"浏览器","choco":"ungoogled-chromium","content":"Ungoogled","description":"去除了 Google 集成的 Chromium 版本,增强隐私保护与可控性。","link":"https://github.com/Eloston/ungoogled-chromium","winget":"eloston.ungoogled-chromium","foss":true},"unity":{"category":"开发工具","choco":"unityhub","content":"Unity Game Engine","description":"强大的游戏开发平台,可用于创作 2D、3D 以及 AR/VR 游戏。","link":"https://unity.com/","winget":"Unity.UnityHub","foss":false},"everything":{"category":"实用工具","choco":"everything","content":"VoidTools Everything","description":"Windows 平台的极速文件搜索工具,按文件名瞬间定位文件和文件夹。与 Windows 自带搜索不同,它会先列出电脑上的所有文件和文件夹(因此得名 Everything),再输入关键词筛选要显示的内容。","link":"https://www.voidtools.com/","winget":"voidtools.Everything","foss":false},"vc2015_32":{"category":"微软工具","choco":"vcredist2015","content":"Visual C++ 2015-2022 32-bit","description":"Visual C++ 2015-2022 32 位可再发行组件包,安装运行 32 位应用所需的 Visual C++ 库运行时组件。","link":"https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads","winget":"Microsoft.VCRedist.2015+.x86","foss":false},"vc2015_64":{"category":"微软工具","choco":"vcredist2015","content":"Visual C++ 2015-2022 64-bit","description":"Visual C++ 2015-2022 64 位可再发行组件包,安装运行 64 位应用所需的 Visual C++ 库运行时组件。","link":"https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads","winget":"Microsoft.VCRedist.2015+.x64","foss":false},"ventoy":{"category":"专业工具","choco":"ventoy","content":"Ventoy","description":"开源的启动盘制作工具,支持在同一个 U 盘上放置多个 ISO 文件,方便灵活地安装各种操作系统。","link":"https://www.ventoy.net/","winget":"Ventoy.Ventoy","foss":true},"vesktop":{"category":"通讯","choco":"na","content":"Vesktop","description":"基于 Electron 的跨平台桌面客户端,预装 Vencord,带来更流畅的 Discord 使用体验。","link":"https://github.com/Vencord/Vesktop","winget":"Vencord.Vesktop","foss":true},"viber":{"category":"通讯","choco":"viber","content":"Viber","description":"免费的即时通讯与通话应用,支持群聊、视频通话等功能。","link":"https://www.viber.com/","winget":"Rakuten.Viber","foss":false},"visualstudio2022":{"category":"开发工具","choco":"visualstudio2022community","content":"Visual Studio 2022","description":"集成开发环境(IDE),用于构建、调试和部署应用程序。","link":"https://visualstudio.microsoft.com/","winget":"Microsoft.VisualStudio.2022.Community","foss":false},"visualstudio2026":{"category":"开发工具","choco":"visualstudio2026community","content":"Visual Studio 2026","description":"集成开发环境(IDE),用于构建、调试和部署应用程序。","link":"https://visualstudio.microsoft.com/","winget":"Microsoft.VisualStudio.Community","foss":false},"vivaldi":{"category":"浏览器","choco":"vivaldi","content":"Vivaldi","description":"高度可定制的网页浏览器,注重个性化设置与效率功能。","link":"https://vivaldi.com/","winget":"Vivaldi.Vivaldi","foss":false},"vlc":{"category":"多媒体工具","choco":"vlc","content":"VLC (Video Player)","description":"免费开源的多媒体播放器,支持种类繁多的音视频格式,以全能和跨平台兼容性著称。","link":"https://www.videolan.org/vlc/","winget":"VideoLAN.VLC","foss":true},"vrdesktopstreamer":{"category":"游戏","choco":"na","content":"Virtual Desktop Streamer","description":"将电脑桌面画面串流到 VR 设备的工具,配合 Virtual Desktop 客户端在头显中使用电脑。","link":"https://www.vrdesktop.net/","winget":"VirtualDesktop.Streamer","foss":false},"vscode":{"category":"开发工具","choco":"vscode","content":"VS Code","description":"免费开源的代码编辑器,支持多种编程语言,内置调试、Git 集成与丰富的扩展生态。","link":"https://code.visualstudio.com/","winget":"Microsoft.VisualStudioCode","foss":true},"vscodium":{"category":"开发工具","choco":"vscodium","content":"VS Codium","description":"由社区维护的 VS Code 自由许可二进制发行版,去除了微软的遥测与品牌追踪。","link":"https://vscodium.com/","winget":"VSCodium.VSCodium","foss":true},"waterfox":{"category":"浏览器","choco":"waterfox","content":"Waterfox","description":"基于 Firefox 的快速、注重隐私的浏览器,主打保留用户选择权与隐私保护。","link":"https://www.waterfox.net/","winget":"Waterfox.Waterfox","foss":true},"wingetui":{"category":"实用工具","choco":"wingetui","content":"UniGetUI","description":"为 WinGet、Chocolatey 等 Windows 命令行包管理器提供的图形界面,方便统一搜索、安装和更新软件。","link":"https://devolutions.net/unigetui/","winget":"Devolutions.UniGetUI","foss":true},"winrar":{"category":"实用工具","choco":"winrar","content":"WinRAR","description":"功能强大的压缩文件管理器,可创建、管理和解压多种格式的压缩包。","link":"https://www.win-rar.com/","winget":"RARLab.WinRAR","foss":false},"winscp":{"category":"专业工具","choco":"winscp","content":"WinSCP","description":"广受欢迎的开源 Windows 客户端,支持 SFTP、FTP 和 SCP 协议,可在本地与远程计算机之间安全传输文件。","link":"https://winscp.net/","winget":"WinSCP.WinSCP","foss":true},"wireguard":{"category":"专业工具","choco":"wireguard","content":"WireGuard","description":"快速、现代的 VPN(虚拟专用网络)协议,相比传统 VPN 协议更简洁高效,提供安全可靠的连接。","link":"https://www.wireguard.com/","winget":"WireGuard.WireGuard","foss":true},"wireshark":{"category":"专业工具","choco":"wireshark","content":"Wireshark","description":"广泛使用的开源网络协议分析器,可实时抓取并分析网络流量,深入洞察网络活动。","link":"https://www.wireshark.org/","winget":"WiresharkFoundation.Wireshark","foss":true},"wiztree":{"category":"实用工具","choco":"wiztree","content":"WizTree","description":"快速的磁盘空间分析工具,帮你迅速找出占用硬盘空间最多的文件和文件夹。","link":"https://wiztreefree.com/","winget":"AntibodySoftware.WizTree","foss":false},"xeheditor":{"category":"实用工具","choco":"HxD","content":"HxD Hex Editor","description":"免费的十六进制编辑器,可编辑、查看、搜索和分析二进制文件。","link":"https://mh-nexus.de/en/hxd/","winget":"MHNexus.HxD","foss":false},"yarn":{"category":"开发工具","choco":"yarn","content":"Yarn","description":"快速、可靠、安全的 JavaScript 项目依赖管理工具。","link":"https://yarnpkg.com/","winget":"Yarn.Yarn","foss":true},"zoom":{"category":"通讯","choco":"zoom","content":"Zoom","description":"广受欢迎的视频与网络会议服务,适用于在线会议、网络研讨会和团队协作。","link":"https://zoom.us/","winget":"Zoom.Zoom","foss":false},"uv":{"category":"开发工具","choco":"uv","content":"uv","description":"用 Rust 编写的高速 Python 包与项目管理工具。","link":"https://docs.astral.sh/uv/getting-started/installation/","winget":"astral-sh.uv","foss":true},"tightvnc":{"category":"实用工具","choco":"TightVNC","content":"TightVNC","description":"免费开源的远程桌面软件,可通过网络访问和控制另一台电脑,如同坐在它面前一样打开文件、运行程序和操作桌面。","link":"https://www.tightvnc.com/","winget":"GlavSoft.TightVNC","foss":true},"glazewm":{"category":"实用工具","choco":"glazewm","content":"GlazeWM","description":"受 i3 和 Polybar 启发的 Windows 平铺式窗口管理器,可自动排布窗口、用键盘高效切换。","link":"https://github.com/glzr-io/glazewm","winget":"glzr-io.glazewm","foss":true},"Overwolf":{"category":"游戏","choco":"overwolf","content":"Overwolf","description":"广受玩家欢迎的游戏叠加层与配套应用平台,支持 mod 管理器、数据追踪等各类游戏内工具。","link":"https://www.overwolf.com/app/overwolf-curseforge","winget":"Overwolf.CurseForge","foss":false},"OFGB":{"category":"实用工具","choco":"ofgb","content":"OFGB (Oh Frick Go Back)","description":"图形界面工具,用于移除 Windows 11 各处的广告。","link":"https://github.com/xM4ddy/OFGB","winget":"xM4ddy.OFGB","foss":true},"ZenBrowser":{"category":"浏览器","choco":"zen-browser","content":"Zen Browser","description":"基于 Firefox 打造的现代浏览器,注重隐私与性能。","link":"https://zen-browser.app/","winget":"Zen-Team.Zen-Browser","foss":true},"Zed":{"category":"开发工具","choco":"zed","content":"Zed","description":"从零打造的现代高性能代码编辑器,主打极致速度与协作功能。","link":"https://zed.dev/","winget":"ZedIndustries.Zed","foss":true},"deskflow":{"category":"实用工具","choco":"deskflow","content":"Deskflow","description":"免费开源的软件 KVM,可在多台电脑之间共享同一套键盘和鼠标。","link":"https://github.com/deskflow/deskflow","winget":"Deskflow.Deskflow","foss":true},"Ruby":{"category":"开发工具","choco":"ruby","winget":"RubyInstallerTeam.Ruby.4.0","description":"Ruby 语言运行环境,附带 MSYS2 安装。","content":"Ruby","link":"https://rubyinstaller.org/","foss":true},"Lua":{"category":"开发工具","choco":"lua","winget":"rjpcomputing.luaforwindows","description":"面向 Windows 的 Lua 脚本语言「开箱即用」环境,集成了常用组件。","content":"Lua","link":"https://github.com/rjpcomputing/luaforwindows","foss":true},"wechat":{"category":"通讯","content":"微信","description":"腾讯出品的即时通讯软件,支持聊天、朋友圈、公众号、小程序与微信支付。","link":"https://weixin.qq.com/","winget":"Tencent.WeChat","foss":false},"tencentqq":{"category":"通讯","content":"QQ","description":"腾讯经典即时通讯软件(NT 新版),支持聊天、群组、文件传输、空间与在线状态。","link":"https://im.qq.com/","winget":"Tencent.QQ.NT","foss":false},"wecom":{"category":"通讯","content":"企业微信","description":"腾讯面向企业的办公通讯平台,支持内部通讯录、审批、日程与微信客户互通。","link":"https://work.weixin.qq.com/","winget":"Tencent.WeCom","foss":false},"dingtalk":{"category":"通讯","content":"钉钉","description":"阿里巴巴出品的企业办公协作平台,支持考勤、审批、视频会议与文档协作(大陆版)。","link":"https://www.dingtalk.com/","winget":"Alibaba.DingTalk.Mainland","foss":false},"feishu":{"category":"通讯","content":"飞书","description":"字节跳动出品的一体化协作平台,融合即时通讯、文档、多维表格、会议与日历。","link":"https://www.feishu.cn/","winget":"ByteDance.Feishu","foss":false},"tencentmeeting":{"category":"通讯","content":"腾讯会议","description":"腾讯出品的云视频会议工具,支持多人会议、屏幕共享、录制与美颜。","link":"https://meeting.tencent.com/","winget":"Tencent.TencentMeeting","foss":false},"neteasecloudmusic":{"category":"多媒体工具","content":"网易云音乐","description":"网易出品的音乐平台,以歌单、乐评与个性化推荐见长,支持无损音质与云盘。","link":"https://music.163.com/","winget":"NetEase.CloudMusic","foss":false},"bilibili":{"category":"多媒体工具","content":"哔哩哔哩","description":"国内知名的视频弹幕网站客户端,涵盖动画、游戏、知识、生活等多元内容。","link":"https://www.bilibili.com/","winget":"Bilibili.Bilibili","foss":false},"iqiyi":{"category":"多媒体工具","content":"爱奇艺","description":"综合视频平台,提供电影、电视剧、综艺、动漫等在线点播。","link":"https://www.iqiyi.com/","winget":"iQIYI.iQIYI","foss":false},"tencentvideo":{"category":"多媒体工具","content":"腾讯视频","description":"腾讯出品的视频平台,提供影视剧、综艺、体育与自制内容点播。","link":"https://v.qq.com/","winget":"Tencent.TencentVideo","foss":false},"thunder":{"category":"多媒体工具","content":"迅雷","description":"国内主流的下载工具,支持多资源加速、离线云下载与 BT/磁力链接。","link":"https://www.xunlei.com/","winget":"Thunder.Thunder","foss":false},"quark":{"category":"浏览器","content":"夸克浏览器","description":"阿里巴巴出品的极简浏览器,主打 AI 搜索、网盘与文档扫描,界面清爽无广告。","link":"https://quark.sm.cn/","winget":"Alibaba.Quark","foss":false},"wpsoffice":{"category":"专业工具","content":"WPS Office","description":"金山出品的国产办公套件,兼容 Word/Excel/PPT 格式,体积小、含云文档(大陆版)。","link":"https://www.wps.cn/","winget":"Kingsoft.WPSOffice.CN","foss":false},"xmind":{"category":"专业工具","content":"Xmind","description":"跨平台思维导图与头脑风暴工具,支持多种结构、演示模式与丰富主题。","link":"https://www.xmind.cn/","winget":"Xmind.Xmind","foss":false},"sogouinput":{"category":"实用工具","content":"搜狗输入法","description":"国内主流的拼音/五笔输入法,词库丰富、联想智能,支持自定义皮肤。","link":"https://pinyin.sogou.com/","winget":"Sogou.SogouInput","foss":false},"utools":{"category":"实用工具","content":"uTools","description":"国产效率启动器,通过插件实现搜索、翻译、剪贴板、图床等一站式快捷操作。","link":"https://www.u.tools/","winget":"Yuanli.uTools","foss":false},"snipaste":{"category":"实用工具","content":"Snipaste","description":"强大的截图与贴图工具,支持像素级取色、标注,以及将截图钉在屏幕上。","link":"https://www.snipaste.com/","winget":"liule.Snipaste","foss":false},"todesk":{"category":"实用工具","content":"ToDesk","description":"国产远程桌面工具,支持远程控制、文件传输与多端互联,个人使用免费。","link":"https://www.todesk.com/","winget":"Youqu.ToDesk","foss":false},"picgo":{"category":"实用工具","content":"PicGo","description":"开源图床上传工具,支持七牛、腾讯云、GitHub 等多种图床,方便 Markdown 写作。","link":"https://molunerfinn.com/PicGo/","winget":"PicGo.PicGo","foss":true},"baidunetdisk":{"category":"实用工具","content":"百度网盘","description":"国内使用最广的云存储服务客户端,支持大文件上传、备份与在线预览。","link":"https://pan.baidu.com/","winget":"Baidu.BaiduNetdisk","foss":false},"quarkclouddrive":{"category":"实用工具","content":"夸克网盘","description":"阿里巴巴出品的云盘,主打高速下载不限速、在线播放与文档管理。","link":"https://pan.quark.cn/","winget":"Alibaba.QuarkCloudDrive","foss":false}},"bundles":{"_meta":"应用组合推荐(策展式一键装机):按 id 索引,每组含 region(国内/国际)、name(中文名)、desc、apps(完整 WPFInstall<key>)。id 用作按钮名 WPFBundle<id>,须为 ASCII。apps 可直接喂给 Update-WinUtilSelections 一键勾选。数据驱动,加组合只改本文件。","cn_office":{"region":"国内","name":"日常办公","desc":"国内主流办公通讯全家桶:聊天、协作、文档、输入法一步到位。","apps":["WPFInstallwechat","WPFInstalltencentqq","WPFInstallwpsoffice","WPFInstalldingtalk","WPFInstallfeishu","WPFInstalltencentmeeting","WPFInstallsogouinput"]},"cn_media":{"region":"国内","name":"影音娱乐","desc":"听歌、追剧、看视频、下载,国内平台一网打尽。","apps":["WPFInstallneteasecloudmusic","WPFInstallbilibili","WPFInstalliqiyi","WPFInstalltencentvideo","WPFInstallthunder"]},"cn_cloud":{"region":"国内","name":"网盘与远程","desc":"云存储 + 远程控制 + 极简浏览器,居家办公/传文件常用。","apps":["WPFInstallbaidunetdisk","WPFInstallquarkclouddrive","WPFInstalltodesk","WPFInstallquark"]},"cn_create":{"region":"国内","name":"效率创作","desc":"启动器、截图贴图、图床、思维导图,提升日常效率。","apps":["WPFInstallutools","WPFInstallsnipaste","WPFInstallpicgo","WPFInstallxmind"]},"intl_dev":{"region":"国际","name":"开发环境","desc":"编辑器 + 版本控制 + 运行时 + 容器,开箱即用的开发工作站。","apps":["WPFInstallvscode","WPFInstallgit","WPFInstallnodejs","WPFInstallpython3","WPFInstalldockerdesktop"]},"intl_browser":{"region":"国际","name":"浏览器矩阵","desc":"主流与注重隐私的浏览器,按需选用。","apps":["WPFInstallchrome","WPFInstallfirefox","WPFInstallbrave","WPFInstalledge"]},"intl_media":{"region":"国际","name":"影音媒体","desc":"全能播放器、录屏、截图、音频处理与解码包。","apps":["WPFInstallvlc","WPFInstallobs","WPFInstallsharex","WPFInstallklite","WPFInstallaudacity"]},"intl_comm":{"region":"国际","name":"通讯协作","desc":"国际主流即时通讯与会议工具。","apps":["WPFInstalldiscord","WPFInstalltelegram","WPFInstallslack","WPFInstallzoom","WPFInstallsignal"]},"intl_system":{"region":"国际","name":"系统必备","desc":"压缩、文件管理、文本编辑、下载、启动盘制作,重装必备。","apps":["WPFInstall7zip","WPFInstallfiles","WPFInstallnotepadplus","WPFInstallqbittorrent","WPFInstallrufus"]},"intl_privacy":{"region":"国际","name":"隐私安全","desc":"密码管理、加密通讯、注重隐私的浏览器。","apps":["WPFInstallbitwarden","WPFInstallprotonpass","WPFInstallsignal","WPFInstalllibrewolf","WPFInstallmullvadbrowser"]}},"tweaks":{"WPFTweaksActivity":{"Content":"禁用活动历史记录","Description":"关闭 Windows 活动历史(时间线),减少对最近打开文件、剪贴板/运行历史等的记录与同步。","category":"必备优化","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System","Name":"EnableActivityFeed","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System","Name":"PublishUserActivities","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System","Name":"UploadUserActivities","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/activity"},"WPFTweaksHiber":{"Content":"禁用休眠","Description":"关闭休眠功能并释放 hiberfil.sys 以节省磁盘空间。台式机通常不需要;笔记本若依赖休眠可不要选。","category":"必备优化","panel":"1","registry":[{"Path":"HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power","Name":"HibernateEnabled","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings","Name":"ShowHibernateOption","Value":"0","Type":"DWord","OriginalValue":"1"}],"InvokeScript":["powercfg.exe /hibernate off"],"UndoScript":["powercfg.exe /hibernate on"],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/hiber"},"WPFTweaksWidget":{"Content":"移除小组件","Description":"移除任务栏左下角的小组件及相关组件。","category":"必备优化","panel":"1","InvokeScript":["\r\n # Sometimes if you dont stop the Widgets process the removal may fail\r\n\r\n Get-Process *Widget* | Stop-Process\r\n Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers\r\n Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers\r\n\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n Write-Host \"Removed widgets\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/widget"},"WPFTweaksRevertStartMenu":{"Content":"恢复旧版开始菜单布局","Description":"把 25H2 新版开始菜单恢复为逐步推送前的旧布局。","category":"必备优化","panel":"1","InvokeScript":["\r\n Invoke-WebRequest https://github.com/thebookisclosed/ViVe/releases/download/v0.3.4/ViVeTool-v0.3.4-IntelAmd.zip -OutFile ViVeTool.zip\r\n\r\n Expand-Archive ViVeTool.zip\r\n Remove-Item ViVeTool.zip\r\n\r\n Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/disable /id:47205210' -Wait -NoNewWindow\r\n\r\n Remove-Item ViVeTool -Recurse\r\n\r\n Write-Host 'Old start menu reverted. Please restart your computer to take effect.'\r\n Write-Host 'On newer versions of windows !!THIS TWEAK WILL NOT WORK!!.'\r\n "],"UndoScript":["\r\n Invoke-WebRequest https://github.com/thebookisclosed/ViVe/releases/download/v0.3.4/ViVeTool-v0.3.4-IntelAmd.zip -OutFile ViVeTool.zip\r\n\r\n Expand-Archive ViVeTool.zip\r\n Remove-Item ViVeTool.zip\r\n\r\n Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/enable /id:47205210' -Wait -NoNewWindow\r\n\r\n Remove-Item ViVeTool -Recurse\r\n\r\n Write-Host 'New start menu reverted. Please restart your computer to take effect.'\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/revertstartmenu"},"WPFTweaksDisableStoreSearch":{"Content":"禁用 Microsoft Store 搜索结果","Description":"在开始菜单搜索应用时,不再显示 Microsoft Store 推荐结果。","category":"必备优化","panel":"1","InvokeScript":["icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /deny Everyone:F"],"UndoScript":["icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /grant Everyone:F"],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablestoresearch"},"WPFTweaksLocation":{"Content":"禁用定位服务","Description":"关闭定位相关权限/服务,阻止系统与应用获取你的地理位置。","category":"必备优化","panel":"1","service":[{"Name":"lfsvc","StartupType":"Disable","OriginalType":"Manual"}],"registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location","Name":"Value","Value":"Deny","Type":"String","OriginalValue":"Allow"},{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}","Name":"SensorPermissionState","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKLM:\\SYSTEM\\Maps","Name":"AutoUpdateEnabled","Value":"0","Type":"DWord","OriginalValue":"1"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/location"},"WPFTweaksServices":{"Content":"将部分服务设为手动启动","Description":"把一批不常用的系统服务改为“手动启动/按需启动”,减少后台常驻;如某些功能需要会在使用时自动启动。","category":"必备优化","panel":"1","service":[{"Name":"CscService","StartupType":"Disabled","OriginalType":"Manual"},{"Name":"DiagTrack","StartupType":"Disabled","OriginalType":"Automatic"},{"Name":"MapsBroker","StartupType":"Manual","OriginalType":"Automatic"},{"Name":"StorSvc","StartupType":"Manual","OriginalType":"Automatic"},{"Name":"SharedAccess","StartupType":"Disabled","OriginalType":"Automatic"}],"InvokeScript":["\r\n $Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB\r\n Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/services"},"WPFTweaksBraveDebloat":{"Content":"Brave 浏览器精简","Description":"对 Brave 做“降打扰”设置:减少推广/遥测/弹窗等(不影响基础浏览)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveRewardsDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveWalletDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveVPNDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveAIChatEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveStatsPingEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveNewsDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveTalkDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"TorDisabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"BraveP3AEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"UrlKeyedAnonymizedDataCollectionEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"SafeBrowsingExtendedReportingEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave","Name":"MetricsReportingEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/bravedebloat"},"WPFTweaksDisableWarningForUnsignedRdp":{"Content":"禁用未签名 RDP 文件警告","Description":"关闭新版 Windows 10/11 在启动未签名 RDP 文件时显示的安全警告。仅在你信任这些 RDP 文件来源时使用。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services\\Client","Name":"RedirectionWarningDialogVersion","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Terminal Server Client","Name":"RdpLaunchConsentAccepted","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablewarningforunsignedrdp"},"WPFTweaksEdgeDebloat":{"Content":"Edge 浏览器精简","Description":"对 Edge 做“降打扰”设置:减少遥测、推荐、弹窗等(不卸载 Edge)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\EdgeUpdate","Name":"CreateDesktopShortcutDefault","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"PersonalizationReportingEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallBlocklist","Name":"1","Value":"ofefcgjbeghpigppfmkologfjadafddi","Type":"String","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"ShowRecommendationsEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"HideFirstRunExperience","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"UserFeedbackAllowed","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"ConfigureDoNotTrack","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"AlternateErrorPagesEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"EdgeCollectionsEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"EdgeShoppingAssistantEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"MicrosoftEdgeInsiderPromotionEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"ShowMicrosoftRewards","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"WebWidgetAllowed","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"DiagnosticData","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"EdgeAssetDeliveryServiceEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"WalletDonationEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge","Name":"DefaultBrowserSettingsCampaignEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/edgedebloat"},"WPFTweaksConsumerFeatures":{"Content":"禁用“消费者体验/推荐应用”","Description":"阻止 Windows 自动安装推荐应用/游戏等“消费者内容”,减少系统自带推广。","category":"必备优化","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent","Name":"DisableWindowsConsumerFeatures","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/consumerfeatures"},"WPFTweaksTelemetry":{"Content":"禁用遥测","Description":"关闭 Microsoft 遥测与部分相关数据收集。","category":"必备优化","panel":"1","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo","Name":"Enabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy","Name":"TailoredExperiencesWithDiagnosticDataEnabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy","Name":"HasAccepted","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Input\\TIPC","Name":"Enabled","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\InputPersonalization","Name":"RestrictImplicitInkCollection","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\InputPersonalization","Name":"RestrictImplicitTextCollection","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore","Name":"HarvestContacts","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Personalization\\Settings","Name":"AcceptedPrivacyPolicy","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection","Name":"AllowTelemetry","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"Start_TrackProgs","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System","Name":"PublishUserActivities","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Siuf\\Rules","Name":"NumberOfSIUFInPeriod","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"InvokeScript":["\r\n # Disable Defender Auto Sample Submission\r\n Set-MpPreference -SubmitSamplesConsent 2\r\n\r\n # Disable (Connected User Experiences and Telemetry) Service\r\n Set-Service -Name diagtrack -StartupType Disabled\r\n\r\n # Disable (Windows Error Reporting Manager) Service\r\n Set-Service -Name wermgr -StartupType Disabled\r\n\r\n # Disable PowerShell 7 telemetry\r\n [Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')\r\n\r\n Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds\r\n "],"UndoScript":["\r\n # Enable Defender Auto Sample Submission\r\n Set-MpPreference -SubmitSamplesConsent 1\r\n\r\n # Enable (Connected User Experiences and Telemetry) Service\r\n Set-Service -Name diagtrack -StartupType Automatic\r\n\r\n # Enable (Windows Error Reporting Manager) Service\r\n Set-Service -Name wermgr -StartupType Automatic\r\n\r\n # Enable PowerShell 7 telemetry\r\n [Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/telemetry"},"WPFTweaksDeliveryOptimization":{"Content":"传递优化 - 禁用","Description":"阻止 Windows 占用你的带宽,向互联网或局域网中的其他电脑上传更新。","category":"必备优化","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization","Name":"DODownloadMode","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/deliveryoptimization"},"WPFTweaksRemoveEdge":{"Content":"卸载 Microsoft Edge","Description":"解除 Edge 的卸载限制后,调用其卸载程序移除 Edge。","category":"z__高级优化 - 谨慎","panel":"1","InvokeScript":["Invoke-WinUtilRemoveEdge"],"UndoScript":["\r\n Write-Host 'Installing Microsoft Edge...'\r\n winget install Microsoft.Edge --source winget\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeedge"},"WPFTweaksDisableBitLocker":{"Content":"BitLocker - 禁用","Description":"禁用 BitLocker 磁盘加密。","category":"必备优化","panel":"1","InvokeScript":["Disable-BitLocker -MountPoint $Env:SystemDrive"],"UndoScript":["Enable-BitLocker -MountPoint $Env:SystemDrive"],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablebitlocker"},"WPFTweaksUTC":{"Content":"时间改为 UTC(双系统)","Description":"把系统时钟按 UTC 存储,适合与 Linux 双系统共用硬件时钟,避免来回切换导致时间错乱。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation","Name":"RealTimeIsUniversal","Value":"1","Type":"QWord","OriginalValue":"0"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/utc"},"WPFTweaksRemoveOneDrive":{"Content":"卸载 OneDrive","Description":"先保护 OneDrive 用户文件不被误删,再调用其卸载程序移除 OneDrive,最后恢复权限。","category":"z__高级优化 - 谨慎","panel":"1","InvokeScript":["\r\n # Deny permission to remove OneDrive folder\r\n icacls $Env:OneDrive /deny \"Administrators:(D,DC)\"\r\n\r\n Write-Host \"Uninstalling OneDrive...\"\r\n Start-Process 'C:\\Windows\\System32\\OneDriveSetup.exe' -ArgumentList '/uninstall' -Wait\r\n\r\n # Some of OneDrive files use explorer, and OneDrive uses FileCoAuth\r\n Write-Host \"Removing leftover OneDrive Files...\"\r\n\r\n Stop-Process -Name FileCoAuth,Explorer\r\n\r\n Remove-Item \"$Env:LocalAppData\\Microsoft\\OneDrive\" -Recurse -Force\r\n Remove-Item \"C:\\ProgramData\\Microsoft OneDrive\" -Recurse -Force\r\n\r\n # Grant back permission to access OneDrive folder\r\n icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"\r\n\r\n if (-not (Get-ChildItem -Path $Env:OneDrive)) {\r\n Remove-Item -Path $Env:OneDrive -Recurse\r\n [Environment]::SetEnvironmentVariable('OneDrive', $null, 'User')\r\n }\r\n\r\n # Disable OneSyncSvc\r\n Set-Service -Name OneSyncSvc -StartupType Disabled\r\n "],"UndoScript":["\r\n Write-Host \"Installing OneDrive\"\r\n winget install Microsoft.Onedrive --source winget\r\n\r\n # Enabled OneSyncSvc\r\n Set-Service -Name OneSyncSvc -StartupType Automatic\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"},"WPFTweaksRemoveHomeAndGallery":{"Content":"文件资源管理器 主文件夹与图库 - 禁用","Description":"从资源管理器移除“主文件夹”和“图库”,并将“此电脑”设为默认打开位置。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\Software\\Classes\\CLSID\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}","Name":"System.IsPinnedToNameSpaceTree","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Classes\\CLSID\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}","Name":"System.IsPinnedToNameSpaceTree","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"LaunchTo","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removehomeandgallery"},"WPFTweaksDisplay":{"Content":"显示效果优先性能","Description":"关闭部分视觉特效(动画、透明等)以提升响应速度,适合老机器或性能优先。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\Control Panel\\Desktop","Name":"DragFullWindows","Value":"0","Type":"String","OriginalValue":"1"},{"Path":"HKCU:\\Control Panel\\Desktop","Name":"MenuShowDelay","Value":"200","Type":"String","OriginalValue":"400"},{"Path":"HKCU:\\Control Panel\\Desktop\\WindowMetrics","Name":"MinAnimate","Value":"0","Type":"String","OriginalValue":"1"},{"Path":"HKCU:\\Control Panel\\Keyboard","Name":"KeyboardDelay","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"ListviewAlphaSelect","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"ListviewShadow","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"TaskbarAnimations","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects","Name":"VisualFXSetting","Value":"3","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\DWM","Name":"EnableAeroPeek","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"TaskbarMn","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"ShowTaskViewButton","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search","Name":"SearchboxTaskbarMode","Value":"0","Type":"DWord","OriginalValue":"1"}],"InvokeScript":["Set-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\" -Type Binary -Value ([byte[]](144,18,3,128,16,0,0,0))"],"UndoScript":["Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\""],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/display"},"WPFTweaksXboxRemoval":{"Content":"移除 Xbox 与游戏相关组件","Description":"移除 Xbox 服务、Xbox 应用、Game Bar 及相关身份验证组件。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\GameDVR","Name":"AppCaptureEnabled","Value":"0","Type":"DWord","OriginalValue":"1"}],"appx":["Microsoft.XboxIdentityProvider","Microsoft.XboxSpeechToTextOverlay","Microsoft.GamingApp","Microsoft.Xbox.TCUI","Microsoft.XboxGamingOverlay"],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/xboxremoval"},"WPFTweaksDeBloat":{"Content":"移除所有微软商店应用(不推荐)","Description":"卸载/移除多数微软商店(UWP)应用。可能导致开始菜单、照片、计算器等缺失;一般不建议。","category":"必备优化","panel":"1","appx":["Microsoft.WindowsFeedbackHub","Microsoft.BingNews","Microsoft.BingSearch","Microsoft.BingWeather","Clipchamp.Clipchamp","Microsoft.Todos","Microsoft.PowerAutomateDesktop","Microsoft.MicrosoftSolitaireCollection","Microsoft.WindowsSoundRecorder","Microsoft.MicrosoftStickyNotes","Microsoft.Windows.DevHome","Microsoft.Paint","Microsoft.OutlookForWindows","Microsoft.WindowsAlarms","Microsoft.StartExperiencesApp","Microsoft.GetHelp","Microsoft.ZuneMusic","MicrosoftCorporationII.QuickAssist","MSTeams"],"InvokeScript":["\r\n $TeamsPath = \"$Env:LocalAppData\\Microsoft\\Teams\\Update.exe\"\r\n\r\n if (Test-Path $TeamsPath) {\r\n Write-Host \"Uninstalling Teams\"\r\n Start-Process $TeamsPath -ArgumentList -uninstall -wait\r\n\r\n Write-Host \"Deleting Teams directory\"\r\n Remove-Item $TeamsPath -Recurse -Force\r\n }\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/debloat"},"WPFTweaksRestorePoint":{"Content":"创建系统还原点","Description":"在执行优化前创建系统还原点,便于出问题时回滚(推荐先勾)。","category":"必备优化","panel":"1","Checked":"False","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore","Name":"SystemRestorePointCreationFrequency","Value":"0","Type":"DWord","OriginalValue":"1440"}],"InvokeScript":["\r\n if (-not (Get-ComputerRestorePoint)) {\r\n Enable-ComputerRestore -Drive $Env:SystemDrive\r\n }\r\n\r\n Checkpoint-Computer -Description \"System Restore Point created by WinUtil\" -RestorePointType MODIFY_SETTINGS\r\n Write-Host \"System Restore Point Created Successfully\" -ForegroundColor Green\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/restorepoint"},"WPFTweaksEndTaskOnTaskbar":{"Content":"右键任务栏启用“结束任务”","Description":"在任务栏程序右键菜单里增加“结束任务”选项,方便一键强退卡死程序。","category":"必备优化","panel":"1","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings","Name":"TaskbarEndTask","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar"},"WPFTweaksStorage":{"Content":"关闭存储感知","Description":"关闭“存储感知”(自动清理临时文件/回收站等),避免系统自动删文件。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy","Name":"01","Value":"0","Type":"DWord","OriginalValue":"1"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/storage"},"WPFTweaksWindowsAI":{"Content":"Windows AI - 禁用","Description":"移除或禁用所有 AI 功能与组件(如 Copilot、Recall)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer","Name":"SettingsPageVisibility","Value":"hide:aicomponents","Type":"String","OriginalValue":"<RemoveEntry>"},{"Path":"HKLM:\\SOFTWARE\\Policies\\WindowsNotepad","Name":"DisableAIFeatures","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"InvokeScript":["\r\n $Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName\r\n $Sid = (Get-LocalUser $Env:UserName).Sid.Value\r\n\r\n New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force\r\n\r\n Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers\r\n Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers\r\n Remove-AppxPackage $Appx\r\n\r\n Set-Service -Name WSAIFabricSvc -StartupType Disabled\r\n Disable-WindowsOptionalFeature -FeatureName Recall -Online -NoRestart\r\n\r\n Write-Host \"Windows AI Disabled\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/windowsai"},"WPFTweaksWPBT":{"Content":"禁用 WPBT(平台二进制表)","Description":"阻止系统执行 OEM 写入的 WPBT 内容,降低厂商预装/持久化程序带来的风险(高级选项)。","category":"必备优化","panel":"1","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager","Name":"DisableWpbtExecution","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"}],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/wpbt"},"WPFTweaksRazerBlock":{"Content":"阻止 Razer 软件安装","Description":"阻止 Razer 相关软件/驱动的自动安装(硬件通常仍可用)。注意:也可能影响部分第三方驱动安装流程。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching","Name":"SearchOrderConfig","Value":"0","Type":"DWord","OriginalValue":"1"},{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer","Name":"DisableCoInstallers","Value":"1","Type":"DWord","OriginalValue":"0"}],"InvokeScript":["\r\n $RazerPath = \"C:\\Windows\\Installer\\Razer\"\r\n\r\n if (Test-Path $RazerPath) {\r\n Remove-Item $RazerPath\\* -Recurse -Force\r\n } else {\r\n New-Item -Path $RazerPath -ItemType Directory\r\n }\r\n\r\n icacls $RazerPath /deny \"Everyone:(W)\"\r\n "],"UndoScript":["\r\n icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/razerblock"},"WPFTweaksDisableNotifications":{"Content":"禁用通知中心/日历(全部通知)","Description":"禁用通知中心与日历弹窗(会关闭大部分系统通知)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer","Name":"DisableNotificationCenter","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>"},{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications","Name":"ToastEnabled","Value":"0","Type":"DWord","OriginalValue":"1"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablenotifications"},"WPFTweaksBlockAdobeNet":{"Content":"屏蔽 Adobe 联网(激活/遥测)","Description":"通过 hosts 阻断部分 Adobe 激活/遥测域名,减少弹窗与联网请求(可能影响正版激活/更新,慎用)。","category":"z__高级优化 - 谨慎","panel":"1","InvokeScript":["\r\n $hostsUrl = Invoke-RestMethod -Uri https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\r\n Add-Content -Path \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" -Value $hostsUrl\r\n\r\n ipconfig /flushdns\r\n Write-Host 'Added Adobe url block list from host file'\r\n "],"UndoScript":["\r\n Set-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" (\r\n (Get-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\") -join \"`n\" -replace '(?s)#New Ver.*', ''\r\n )\r\n\r\n ipconfig /flushdns\r\n Write-Host 'Removed Adobe url block list from host file'\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/blockadobenet"},"WPFTweaksRightClickMenu":{"Content":"恢复经典右键菜单","Description":"恢复在文件资源管理器中右键时的经典右键菜单,替换 Windows 11 的简化版菜单。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\\InprocServer32","Name":"(default)","Value":"","Type":"String","OriginalValue":"<RemoveEntry>"}],"InvokeScript":["\r\n New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\"\r\n Write-Host Restarting explorer.exe ...\r\n Stop-Process -Name \"explorer\" -Force\r\n "],"UndoScript":["\r\n Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse -Confirm:$false -Force\r\n # Restarting Explorer in the Undo Script might not be necessary, as the Registry change without restarting Explorer does work, but just to make sure.\r\n Write-Host Restarting explorer.exe ...\r\n Stop-Process -Name \"explorer\" -Force\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/rightclickmenu"},"WPFTweaksDiskCleanup":{"Content":"运行磁盘清理","Description":"运行系统磁盘清理并清理旧组件/更新缓存,释放空间(可能需要较长时间)。","category":"必备优化","panel":"1","InvokeScript":["\r\n cleanmgr.exe /d C: /VERYLOWDISK\r\n Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/diskcleanup"},"WPFTweaksDeleteTempFiles":{"Content":"删除临时文件","Description":"删除用户临时目录与系统临时目录中的文件,用于快速释放空间(可能删掉某些软件的临时缓存)。","category":"必备优化","panel":"1","InvokeScript":["\r\n Remove-Item -Path \"$Env:Temp\\*\" -Recurse -Force\r\n Remove-Item -Path \"$Env:SystemRoot\\Temp\\*\" -Recurse -Force\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/deletetempfiles"},"WPFTweaksIPv46":{"Content":"优先使用 IPv4(降低 IPv6 优先级)","Description":"不完全禁用 IPv6,而是让系统优先走 IPv4;在 IPv6 配置不完整的网络里可能更稳定。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters","Name":"DisabledComponents","Value":"32","Type":"DWord","OriginalValue":"0"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/ipv46"},"WPFTweaksTeredo":{"Content":"禁用 Teredo","Description":"关闭 Teredo(IPv6 隧道)。可能改善延迟/安全,但可能影响部分 Xbox/联机 NAT 场景。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters","Name":"DisabledComponents","Value":"1","Type":"DWord","OriginalValue":"0"}],"InvokeScript":["netsh interface teredo set state disabled"],"UndoScript":["netsh interface teredo set state default"],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/teredo"},"WPFTweaksDisableIPv6":{"Content":"禁用 IPv6","Description":"禁用 IPv6 协议栈。可能影响部分网络/内网环境;不确定就别选。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters","Name":"DisabledComponents","Value":"255","Type":"DWord","OriginalValue":"0"}],"InvokeScript":["Disable-NetAdapterBinding -Name * -ComponentID ms_tcpip6"],"UndoScript":["Enable-NetAdapterBinding -Name * -ComponentID ms_tcpip6"],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disableipv6"},"WPFTweaksDisableBGapps":{"Content":"禁止商店应用后台运行","Description":"禁止商店应用在后台运行,减少后台耗电/占用(可能影响通知/后台同步)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\BackgroundAccessApplications","Name":"GlobalUserDisabled","Value":"1","Type":"DWord","OriginalValue":"0"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablebgapps"},"WPFTweaksDisableFSO":{"Content":"禁用全屏优化","Description":"禁用全屏优化(有时可减少某些游戏的输入延迟/兼容问题,但也可能影响色彩管理等)。","category":"z__高级优化 - 谨慎","panel":"1","registry":[{"Path":"HKCU:\\System\\GameConfigStore","Name":"GameDVR_DXGIHonorFSEWindowsCompatible","Value":"1","Type":"DWord","OriginalValue":"0"}],"link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablefso"},"WPFTweaksDisableExplorerAutoDiscovery":{"Content":"禁用资源管理器自动识别文件夹类型","Description":"关闭资源管理器对文件夹“自动套模板”(图片/音乐/视频等)判断,减少卡顿或模板乱跳。","category":"必备优化","panel":"1","InvokeScript":["\r\n # Previously detected folders\r\n $bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"\r\n\r\n # Folder types lookup table\r\n $bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"\r\n\r\n # Flush Explorer view database\r\n Remove-Item -Path $bags -Recurse -Force\r\n Write-Host \"Removed $bags\"\r\n\r\n Remove-Item -Path $bagMRU -Recurse -Force\r\n Write-Host \"Removed $bagMRU\"\r\n\r\n # Every folder\r\n $allFolders = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\"\r\n\r\n if (!(Test-Path $allFolders)) {\r\n New-Item -Path $allFolders -Force\r\n Write-Host \"Created $allFolders\"\r\n }\r\n\r\n # Generic view\r\n New-ItemProperty -Path $allFolders -Name \"FolderType\" -Value \"NotSpecified\" -PropertyType String -Force\r\n Write-Host \"Set FolderType to NotSpecified\"\r\n\r\n Write-Host Please sign out and back in, or restart your computer to apply the changes!\r\n "],"UndoScript":["\r\n # Previously detected folders\r\n $bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"\r\n\r\n # Folder types lookup table\r\n $bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"\r\n\r\n # Flush Explorer view database\r\n Remove-Item -Path $bags -Recurse -Force\r\n Write-Host \"Removed $bags\"\r\n\r\n Remove-Item -Path $bagMRU -Recurse -Force\r\n Write-Host \"Removed $bagMRU\"\r\n\r\n Write-Host Please sign out and back in, or restart your computer to apply the changes!\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/essential-tweaks/disableexplorerautodiscovery"},"WPFToggleDetailedBSoD":{"Content":"详细蓝屏信息","Description":"蓝屏时显示更详细的信息(对排障更友好)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl","Name":"DisplayParameters","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"},{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl","Name":"DisableEmoticon","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/detailedbsod"},"WPFToggleBatteryPercentage":{"Content":"系统托盘电池百分比","Description":"在系统托盘电池图标旁显示数字形式的电池百分比。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"IsBatteryPercentageEnabled","Value":"1","Type":"DWord","OriginalValue":"<RemoveEntry>","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/batterypercentage"},"WPFToggleDarkMode":{"Content":"Windows 深色模式","Description":"切换系统与应用深色/浅色主题。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize","Name":"AppsUseLightTheme","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"false"},{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize","Name":"SystemUsesLightTheme","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"false"}],"InvokeScript":["\r\n Invoke-WinUtilExplorerUpdate\r\n if ($sync.ThemeButton.Content -eq [char]0xF08C) {\r\n Invoke-WinutilThemeChange -theme \"Auto\"\r\n }\r\n "],"UndoScript":["\r\n Invoke-WinUtilExplorerUpdate\r\n if ($sync.ThemeButton.Content -eq [char]0xF08C) {\r\n Invoke-WinutilThemeChange -theme \"Auto\"\r\n }\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/darkmode"},"WPFToggleShowExt":{"Content":"显示文件扩展名","Description":"在资源管理器中显示文件扩展名(推荐,防止伪装文件)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"HideFileExt","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"false"}],"InvokeScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"UndoScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/showext"},"WPFToggleHiddenFiles":{"Content":"显示隐藏文件","Description":"在资源管理器中显示隐藏文件。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"Hidden","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"}],"InvokeScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"UndoScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/hiddenfiles"},"WPFToggleVerboseLogon":{"Content":"登录时显示详细状态信息","Description":"登录/关机时显示更详细的系统状态消息,便于排障。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System","Name":"VerboseStatus","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/verboselogon"},"WPFToggleNewOutlook":{"Content":"新版 Outlook","Description":"控制 Office/Outlook 是否使用“新版 Outlook”与相关切换入口(偏向保持旧版体验)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences","Name":"UseNewOutlook","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"},{"Path":"HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General","Name":"HideNewOutlookToggle","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"true"},{"Path":"HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General","Name":"DoNewOutlookAutoMigration","Value":"0","Type":"DWord","OriginalValue":"0","DefaultState":"false"},{"Path":"HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences","Name":"NewOutlookMigrationUserSetting","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/newoutlook"},"WPFToggleScrollbars":{"Content":"始终显示滚动条","Description":"开启后滚动条会始终可见;关闭后 Windows 会在不使用时自动隐藏滚动条。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Control Panel\\Accessibility","Name":"DynamicScrollbars","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"false","link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/scrollbars"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/scrollbars"},"WPFToggleMultiplaneOverlay":{"Content":"禁用 MPO(多平面叠加)","Description":"禁用 MPO(多平面叠加)。某些显卡/驱动下可缓解闪屏/黑屏/画面撕裂;但可能略增耗电。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm","Name":"OverlayTestMode","Value":"0","Type":"DWord","OriginalValue":"5","DefaultState":"true"},{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\GraphicsDrivers","Name":"DisableOverlays","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/multiplaneoverlay"},"WPFToggleMouseAcceleration":{"Content":"鼠标加速","Description":"开关鼠标加速(关闭后鼠标更线性,适合游戏)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Control Panel\\Mouse","Name":"MouseSpeed","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"},{"Path":"HKCU:\\Control Panel\\Mouse","Name":"MouseThreshold1","Value":"6","Type":"DWord","OriginalValue":"0","DefaultState":"true"},{"Path":"HKCU:\\Control Panel\\Mouse","Name":"MouseThreshold2","Value":"10","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/mouseacceleration"},"WPFToggleNumLock":{"Content":"开机自动开启 NumLock","Description":"控制开机后 NumLock 是否默认开启。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKU:\\.Default\\Control Panel\\Keyboard","Name":"InitialKeyboardIndicators","Value":"2","Type":"String","OriginalValue":"0","DefaultState":"false"},{"Path":"HKCU:\\Control Panel\\Keyboard","Name":"InitialKeyboardIndicators","Value":"2","Type":"String","OriginalValue":"0","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/numlock"},"WPFToggleStandbyFix":{"Content":"现代待机修复","Description":"在 S0 睡眠期间禁用网络连接,减少现代笔记本待机发热或偷跑电。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Power\\PowerSettings\\f15576e8-98b7-4186-b944-eafa664402d9","Name":"ACSettingIndex","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/standbyfix"},"WPFToggleS3Sleep":{"Content":"S3 睡眠(传统睡眠)","Description":"切换到传统 S3 睡眠(若硬件/BIOS 支持)。有助于解决某些“睡眠唤醒异常”。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power","Name":"PlatformAoAcOverride","Value":"0","Type":"DWord","OriginalValue":"<RemoveEntry>","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/s3sleep"},"WPFToggleHideSettingsHome":{"Content":"移除“设置”首页","Description":"在 Windows 11 中移除“设置”应用的首页(Home)入口/内容。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer","Name":"SettingsPageVisibility","Value":"show:home","Type":"String","OriginalValue":"hide:home","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/hidesettingshome"},"WPFToggleBingSearch":{"Content":"开始菜单搜索 Bing 网页结果","Description":"控制开始菜单搜索是否包含 Bing 网页结果(关掉更隐私、也更干净)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search","Name":"BingSearchEnabled","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/bingsearch"},"WPFToggleLoginBlur":{"Content":"登录界面亚克力模糊","Description":"控制 Windows 10/11 登录界面背景的亚克力模糊效果。关闭后登录背景会更清晰。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System","Name":"DisableAcrylicBackgroundOnLogon","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/loginblur"},"WPFToggleStartMenuRecommendations":{"Content":"开始菜单显示“推荐”","Description":"控制开始菜单是否显示“推荐”区域内容。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start","Name":"HideRecommendedSection","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"true"},{"Path":"HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education","Name":"IsEducationEnvironment","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"true"},{"Path":"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer","Name":"HideRecommendedSection","Value":"0","Type":"DWord","OriginalValue":"1","DefaultState":"true"}],"InvokeScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"UndoScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/startmenurecommendations"},"WPFToggleStickyKeys":{"Content":"粘滞键","Description":"开关粘滞键(连续按 Shift 触发的辅助功能)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Control Panel\\Accessibility\\StickyKeys","Name":"Flags","Value":"506","Type":"DWord","OriginalValue":"58","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/stickykeys"},"WPFToggleTaskbarAlignment":{"Content":"任务栏图标居中","Description":"切换任务栏图标居中/靠左(Win11)。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"TaskbarAl","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"InvokeScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"UndoScript":["\r\n Invoke-WinUtilExplorerUpdate -action \"restart\"\r\n "],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/taskbaralignment"},"WPFToggleTaskbarSearch":{"Content":"任务栏搜索按钮","Description":"显示/隐藏任务栏上的搜索按钮/搜索框。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search","Name":"SearchboxTaskbarMode","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/taskbarsearch"},"WPFToggleTaskView":{"Content":"任务栏任务视图按钮","Description":"显示/隐藏任务栏上的“任务视图”按钮。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced","Name":"ShowTaskViewButton","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/taskview"},"WPFToggleGameMode":{"Content":"游戏模式","Description":"开启后 Windows 通过为游戏分配系统资源,优先保证游戏性能。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKCU:\\Software\\Microsoft\\GameBar","Name":"AllowAutoGameMode","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"},{"Path":"HKCU:\\Software\\Microsoft\\GameBar","Name":"AutoGameModeEnabled","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"true"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/gamemode"},"WPFToggleLongPaths":{"Content":"启用长路径","Description":"开启后资源管理器支持长度超过 260 个字符的文件路径。","category":"自定义偏好","panel":"2","Type":"Toggle","registry":[{"Path":"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem","Name":"LongPathsEnabled","Value":"1","Type":"DWord","OriginalValue":"0","DefaultState":"false"}],"link":"https://winutil.christitus.com/dev/tweaks/customize-preferences/longpaths"},"WPFOOSUbutton":{"Content":"运行 O&O ShutUp10++(隐私工具)","category":"z__高级优化 - 谨慎","panel":"1","Type":"Button","link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/oosubutton"},"WPFDNSRegion":{"Content":"DNS 区域模式","category":"z__高级优化 - 谨慎","panel":"1","Type":"Combobox","ComboItems":"国际 国内","LinkedCombo":"WPFchangedns","LinkedData":"regiondns"},"WPFchangedns":{"Content":"DNS(快速设置)","category":"z__高级优化 - 谨慎","panel":"1","Type":"Combobox","ComboItems":"Default DHCP Google Cloudflare Cloudflare_Malware Cloudflare_Malware_Adult Open_DNS Quad9 AdGuard_Ads_Trackers AdGuard_Ads_Trackers_Malware_Adult","link":"https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/changedns"},"WPFAddUltPerf":{"Content":"添加并启用“卓越性能”电源计划","category":"性能计划 - 不适用于笔记本","panel":"2","Type":"Button","ButtonWidth":"300","link":"https://winutil.christitus.com/dev/tweaks/performance-plans---not-for-laptops/addultperf"},"WPFRemoveUltPerf":{"Content":"移除“卓越性能”电源计划","category":"性能计划 - 不适用于笔记本","panel":"2","Type":"Button","ButtonWidth":"300","link":"https://winutil.christitus.com/dev/tweaks/performance-plans---not-for-laptops/removeultperf"}},"dns":{"Google":{"Primary":"8.8.8.8","Secondary":"8.8.4.4","Primary6":"2001:4860:4860::8888","Secondary6":"2001:4860:4860::8844"},"Cloudflare":{"Primary":"1.1.1.1","Secondary":"1.0.0.1","Primary6":"2606:4700:4700::1111","Secondary6":"2606:4700:4700::1001"},"Cloudflare_Malware":{"Primary":"1.1.1.2","Secondary":"1.0.0.2","Primary6":"2606:4700:4700::1112","Secondary6":"2606:4700:4700::1002"},"Cloudflare_Malware_Adult":{"Primary":"1.1.1.3","Secondary":"1.0.0.3","Primary6":"2606:4700:4700::1113","Secondary6":"2606:4700:4700::1003"},"Open_DNS":{"Primary":"208.67.222.222","Secondary":"208.67.220.220","Primary6":"2620:119:35::35","Secondary6":"2620:119:53::53"},"Quad9":{"Primary":"9.9.9.9","Secondary":"149.112.112.112","Primary6":"2620:fe::fe","Secondary6":"2620:fe::9"},"AdGuard_Ads_Trackers":{"Primary":"94.140.14.14","Secondary":"94.140.15.15","Primary6":"2a10:50c0::ad1:ff","Secondary6":"2a10:50c0::ad2:ff"},"AdGuard_Ads_Trackers_Malware_Adult":{"Primary":"94.140.14.15","Secondary":"94.140.15.16","Primary6":"2a10:50c0::bad1:ff","Secondary6":"2a10:50c0::bad2:ff"},"AliDNS":{"Primary":"223.5.5.5","Secondary":"223.6.6.6","Primary6":"2400:3200::1","Secondary6":"2400:3200:baba::1"},"DNSPod":{"Primary":"119.29.29.29","Secondary":"182.254.116.116","Primary6":"","Secondary6":""},"DNS114":{"Primary":"114.114.114.114","Secondary":"114.114.115.115","Primary6":"","Secondary6":""},"BaiduDNS":{"Primary":"180.76.76.76","Secondary":"180.76.76.76","Primary6":"2400:da00::6666","Secondary6":"2400:da00::6666"}}}
|
package/index.js
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// WinUtil-CN MCP 服务器
|
|
3
|
+
// 让 AI 智能体(Claude 等)按意图驱动 WinUtil 中文汉化版:
|
|
4
|
+
// 搜索/安装软件、套用组合、一键换源、查询/应用优化项(tweaks)、配置 DNS。
|
|
5
|
+
// 数据源:winutil-cn 的 config/*.json + 汉化/extra-apps.json(国货);本地读不到时回落 GitHub raw。
|
|
6
|
+
|
|
7
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
8
|
+
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
import { readFile, writeFile } from 'node:fs/promises';
|
|
11
|
+
import { execFile } from 'node:child_process';
|
|
12
|
+
import { fileURLToPath } from 'node:url';
|
|
13
|
+
import { dirname, join } from 'node:path';
|
|
14
|
+
import { tmpdir } from 'node:os';
|
|
15
|
+
import { promisify } from 'node:util';
|
|
16
|
+
import { randomUUID } from 'node:crypto';
|
|
17
|
+
|
|
18
|
+
const execFileAsync = promisify(execFile);
|
|
19
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
20
|
+
const REPO_RAW = 'https://raw.githubusercontent.com/yasewang1337-svg/winutil-cn/main';
|
|
21
|
+
|
|
22
|
+
// 宽松 JSON 解析:修复 winutil 配置里字符串内的字面控制符(换行/回车/制表),使其成为合法 JSON。
|
|
23
|
+
function lenientParse(text) {
|
|
24
|
+
let out = '', inStr = false, esc = false;
|
|
25
|
+
for (const ch of text) {
|
|
26
|
+
if (esc) { out += ch; esc = false; continue; }
|
|
27
|
+
if (ch === '\\') { out += ch; esc = true; continue; }
|
|
28
|
+
if (ch === '"') { inStr = !inStr; out += ch; continue; }
|
|
29
|
+
if (inStr) {
|
|
30
|
+
if (ch === '\n') { out += '\\n'; continue; }
|
|
31
|
+
if (ch === '\r') { out += '\\r'; continue; }
|
|
32
|
+
if (ch === '\t') { out += '\\t'; continue; }
|
|
33
|
+
}
|
|
34
|
+
out += ch;
|
|
35
|
+
}
|
|
36
|
+
return JSON.parse(out);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function mergeApps(apps, extra) {
|
|
40
|
+
const merged = {};
|
|
41
|
+
for (const [k, v] of Object.entries(apps || {})) if (v && typeof v === 'object' && v.content) merged[k] = v;
|
|
42
|
+
for (const [k, v] of Object.entries(extra || {})) { if (k === '_meta' || !v || typeof v !== 'object') continue; merged[k] = v; }
|
|
43
|
+
return merged;
|
|
44
|
+
}
|
|
45
|
+
const readLocal = async (p) => lenientParse(await readFile(join(__dirname, '..', p), 'utf8'));
|
|
46
|
+
const readRaw = async (p) => { const r = await fetch(`${REPO_RAW}/${p}`); if (!r.ok) throw new Error(`HTTP ${r.status}`); return lenientParse(await r.text()); };
|
|
47
|
+
|
|
48
|
+
async function loadData() {
|
|
49
|
+
// 1) 打包快照(发布场景:离线自包含,零运行时网络依赖)
|
|
50
|
+
try {
|
|
51
|
+
const d = JSON.parse(await readFile(join(__dirname, 'data.json'), 'utf8'));
|
|
52
|
+
return { source: 'bundled', apps: d.apps, bundles: d.bundles, tweaks: d.tweaks, dns: d.dns };
|
|
53
|
+
} catch {}
|
|
54
|
+
// 2) 本地仓库实时(从仓库运行:始终最新)
|
|
55
|
+
try {
|
|
56
|
+
const [apps, extra, bundles, tweaks, dns] = await Promise.all([
|
|
57
|
+
readLocal('config/applications.json'), readLocal('汉化/extra-apps.json').catch(() => ({})),
|
|
58
|
+
readLocal('config/bundles.json'), readLocal('config/tweaks.json'), readLocal('config/dns.json'),
|
|
59
|
+
]);
|
|
60
|
+
return { source: 'local', apps: mergeApps(apps, extra), bundles, tweaks, dns };
|
|
61
|
+
} catch {}
|
|
62
|
+
// 3) GitHub raw(最后兜底:串行,避免并行请求撞限流)
|
|
63
|
+
const apps = await readRaw('config/applications.json');
|
|
64
|
+
const extra = await readRaw('汉化/extra-apps.json').catch(() => ({}));
|
|
65
|
+
const bundles = await readRaw('config/bundles.json');
|
|
66
|
+
const tweaks = await readRaw('config/tweaks.json');
|
|
67
|
+
const dns = await readRaw('config/dns.json');
|
|
68
|
+
return { source: 'raw', apps: mergeApps(apps, extra), bundles, tweaks, dns };
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const DATA = await loadData();
|
|
72
|
+
const BUNDLES = DATA.bundles || {};
|
|
73
|
+
const TWEAKS = DATA.tweaks || {};
|
|
74
|
+
const DNS = DATA.dns || {};
|
|
75
|
+
const ALL_APPS = Object.entries(DATA.apps || {}).map(([key, v]) => ({
|
|
76
|
+
key, name: v.content || key, category: v.category || '', winget: v.winget || '', choco: v.choco || '', description: v.description || '',
|
|
77
|
+
}));
|
|
78
|
+
|
|
79
|
+
const APP_BY_KEY = new Map();
|
|
80
|
+
for (const a of ALL_APPS) { APP_BY_KEY.set(a.key.toLowerCase(), a); APP_BY_KEY.set(('wpfinstall' + a.key).toLowerCase(), a); }
|
|
81
|
+
|
|
82
|
+
const MIRRORS = {
|
|
83
|
+
pip: { cn: ['pip', ['config', 'set', 'global.index-url', 'https://pypi.tuna.tsinghua.edu.cn/simple']], official: ['pip', ['config', 'unset', 'global.index-url']] },
|
|
84
|
+
npm: { cn: ['npm', ['config', 'set', 'registry', 'https://registry.npmmirror.com']], official: ['npm', ['config', 'set', 'registry', 'https://registry.npmjs.org']] },
|
|
85
|
+
yarn: { cn: ['yarn', ['config', 'set', 'registry', 'https://registry.npmmirror.com']], official: ['yarn', ['config', 'set', 'registry', 'https://registry.yarnpkg.com']] },
|
|
86
|
+
go: { cn: ['go', ['env', '-w', 'GOPROXY=https://goproxy.cn,direct']], official: ['go', ['env', '-w', 'GOPROXY=https://proxy.golang.org,direct']] },
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const ok = (obj) => ({ content: [{ type: 'text', text: JSON.stringify(obj, null, 2) }] });
|
|
90
|
+
const q1 = (s) => String(s).replace(/'/g, "''"); // 单引号 PS 字符串转义
|
|
91
|
+
|
|
92
|
+
// 在管理员权限下运行一段 PowerShell(写临时脚本再执行),返回输出
|
|
93
|
+
async function runPwsh(script) {
|
|
94
|
+
const f = join(tmpdir(), `winutilcn-mcp-${randomUUID()}.ps1`);
|
|
95
|
+
await writeFile(f, '' + script, 'utf8'); // BOM 保中文
|
|
96
|
+
try {
|
|
97
|
+
const { stdout, stderr } = await execFileAsync('powershell', ['-NoProfile', '-ExecutionPolicy', 'Bypass', '-File', f], { timeout: 120000, windowsHide: true });
|
|
98
|
+
return { ok: true, output: (stdout || stderr || '').trim() };
|
|
99
|
+
} catch (e) {
|
|
100
|
+
return { ok: false, output: (e.stdout || '') + (e.stderr || e.message || '') };
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const server = new McpServer({ name: 'winutil-cn-mcp', version: '0.2.0' });
|
|
105
|
+
|
|
106
|
+
// ── 软件 ──────────────────────────────────────────────────────────────
|
|
107
|
+
server.registerTool('search_apps', {
|
|
108
|
+
title: '搜索软件',
|
|
109
|
+
description: '在 WinUtil 中文汉化版收录的软件库(含微信/QQ/WPS 等国货)里按关键词搜索,返回软件名、分类、winget 包 ID 和介绍。',
|
|
110
|
+
inputSchema: { query: z.string().describe('关键词,中英文皆可'), limit: z.number().int().optional() },
|
|
111
|
+
}, async ({ query, limit = 20 }) => {
|
|
112
|
+
const s = query.toLowerCase();
|
|
113
|
+
const hits = ALL_APPS.filter(a => [a.name, a.description, a.category, a.winget, a.key].some(x => x.toLowerCase().includes(s)))
|
|
114
|
+
.slice(0, limit).map(a => ({ name: a.name, category: a.category, winget: a.winget, description: a.description }));
|
|
115
|
+
return ok({ count: hits.length, apps: hits });
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
server.registerTool('list_bundles', {
|
|
119
|
+
title: '列出应用组合',
|
|
120
|
+
description: '列出策展的一键装机组合(国内/国际 × 场景)。每个含名称、说明、软件 key。',
|
|
121
|
+
inputSchema: {},
|
|
122
|
+
}, async () => {
|
|
123
|
+
const out = [];
|
|
124
|
+
for (const [id, b] of Object.entries(BUNDLES)) { if (id === '_meta' || !b?.apps) continue; out.push({ id, region: b.region, name: b.name, desc: b.desc, apps: b.apps }); }
|
|
125
|
+
return ok({ count: out.length, bundles: out });
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
server.registerTool('install_apps', {
|
|
129
|
+
title: '安装软件',
|
|
130
|
+
description: '用 winget 静默安装软件。传入 winget 包 ID 或组合里的 app key(自动解析)。部分软件需管理员权限。',
|
|
131
|
+
inputSchema: { ids: z.array(z.string()) },
|
|
132
|
+
}, async ({ ids }) => {
|
|
133
|
+
const results = [];
|
|
134
|
+
for (const raw of ids) {
|
|
135
|
+
let wingetId = raw;
|
|
136
|
+
const app = APP_BY_KEY.get(raw.toLowerCase());
|
|
137
|
+
if (app?.winget) wingetId = app.winget;
|
|
138
|
+
if (!wingetId || wingetId.includes(' ')) { results.push({ id: raw, status: 'skipped', reason: '无法解析为 winget ID' }); continue; }
|
|
139
|
+
try {
|
|
140
|
+
const { stdout } = await execFileAsync('winget', ['install', '--id', wingetId, '-e', '--accept-source-agreements', '--accept-package-agreements', '--disable-interactivity'], { timeout: 300000, windowsHide: true });
|
|
141
|
+
results.push({ id: wingetId, status: /Successfully installed|已成功安装|already installed|已安装/i.test(stdout) ? 'installed' : 'ran' });
|
|
142
|
+
} catch (e) { results.push({ id: wingetId, status: 'error', reason: (e.stderr || e.message || '').toString().split('\n').slice(-2).join(' ') }); }
|
|
143
|
+
}
|
|
144
|
+
return ok({ results });
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
// ── 换源 ──────────────────────────────────────────────────────────────
|
|
148
|
+
server.registerTool('switch_mirror', {
|
|
149
|
+
title: '换源(国内镜像)',
|
|
150
|
+
description: '把 pip/npm/yarn/go 的包源在国内镜像与官方源之间切换。',
|
|
151
|
+
inputSchema: { tool: z.enum(['pip', 'npm', 'yarn', 'go']), action: z.enum(['cn', 'official']) },
|
|
152
|
+
}, async ({ tool, action }) => {
|
|
153
|
+
const spec = MIRRORS[tool]?.[action];
|
|
154
|
+
if (!spec) return ok({ status: 'error', reason: '不支持的组合' });
|
|
155
|
+
try { const { stdout, stderr } = await execFileAsync(spec[0], spec[1], { timeout: 30000, windowsHide: true }); return ok({ tool, action, status: 'done', output: (stdout || stderr || '').trim() }); }
|
|
156
|
+
catch (e) { return ok({ tool, action, status: 'error', reason: `未检测到 ${tool} 或执行失败` }); }
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
// ── 优化项(tweaks) ───────────────────────────────────────────────────
|
|
160
|
+
server.registerTool('list_tweaks', {
|
|
161
|
+
title: '查询优化项',
|
|
162
|
+
description: '搜索 WinUtil 的系统优化项(禁用遥测/瘦身/隐私/性能等),返回优化项 key、名称、说明、分类。key 可传给 apply_tweaks。',
|
|
163
|
+
inputSchema: { query: z.string().optional().describe('关键词,如「遥测」「隐私」「telemetry」;留空返回全部(截断)'), limit: z.number().int().optional() },
|
|
164
|
+
}, async ({ query = '', limit = 30 }) => {
|
|
165
|
+
const s = query.toLowerCase();
|
|
166
|
+
const out = [];
|
|
167
|
+
for (const [key, t] of Object.entries(TWEAKS)) {
|
|
168
|
+
if (!t || typeof t !== 'object' || !t.Content) continue;
|
|
169
|
+
const hay = [t.Content, t.Description || '', t.category || '', key].join(' ').toLowerCase();
|
|
170
|
+
if (s && !hay.includes(s)) continue;
|
|
171
|
+
out.push({ key, name: t.Content, category: t.category || '', description: t.Description || '' });
|
|
172
|
+
if (out.length >= limit) break;
|
|
173
|
+
}
|
|
174
|
+
return ok({ count: out.length, tweaks: out });
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
server.registerTool('apply_tweaks', {
|
|
178
|
+
title: '应用优化项',
|
|
179
|
+
description: '应用一个或多个优化项(执行其注册表改动 + 服务设置 + 内置脚本)。⚠️ 会修改系统,需管理员权限(在管理员终端启动 MCP 宿主)。传入 apply_tweaks 的 key。',
|
|
180
|
+
inputSchema: { keys: z.array(z.string()).describe('优化项 key,如 WPFTweaksTelemetry') },
|
|
181
|
+
}, async ({ keys }) => {
|
|
182
|
+
const results = [];
|
|
183
|
+
for (const key of keys) {
|
|
184
|
+
const t = TWEAKS[key];
|
|
185
|
+
if (!t) { results.push({ key, status: 'not_found' }); continue; }
|
|
186
|
+
const lines = [`$ErrorActionPreference='Continue'`];
|
|
187
|
+
for (const r of (t.registry || [])) {
|
|
188
|
+
lines.push(`if(-not (Test-Path '${q1(r.Path)}')){New-Item -Path '${q1(r.Path)}' -Force | Out-Null}`);
|
|
189
|
+
lines.push(`New-ItemProperty -Path '${q1(r.Path)}' -Name '${q1(r.Name)}' -PropertyType ${r.Type || 'String'} -Value '${q1(r.Value)}' -Force | Out-Null`);
|
|
190
|
+
}
|
|
191
|
+
for (const sv of (t.service || [])) lines.push(`Set-Service -Name '${q1(sv.Name)}' -StartupType ${sv.StartupType} -ErrorAction SilentlyContinue`);
|
|
192
|
+
for (const scr of (t.InvokeScript || [])) lines.push(scr);
|
|
193
|
+
lines.push(`Write-Output '__TWEAK_DONE__'`);
|
|
194
|
+
const res = await runPwsh(lines.join("\n"));
|
|
195
|
+
results.push({ key, name: t.Content, status: res.output.includes('__TWEAK_DONE__') ? 'applied' : 'ran', note: res.ok ? undefined : res.output.split('\n').slice(-2).join(' ') });
|
|
196
|
+
}
|
|
197
|
+
return ok({ results, warning: '优化项已尝试应用;部分改动需重启或重新登录生效。若报权限错误,请在管理员终端启动 MCP 宿主。' });
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
// ── DNS ───────────────────────────────────────────────────────────────
|
|
201
|
+
server.registerTool('list_dns', {
|
|
202
|
+
title: '列出 DNS 方案',
|
|
203
|
+
description: '列出可用的 DNS 提供商(国际:Cloudflare/Google/Quad9/AdGuard;国内:阿里/DNSPod/114/百度)及其地址。名称可传给 set_dns。',
|
|
204
|
+
inputSchema: {},
|
|
205
|
+
}, async () => {
|
|
206
|
+
const out = Object.entries(DNS).map(([name, v]) => ({ name, primary: v.Primary, secondary: v.Secondary, primary6: v.Primary6 || '', secondary6: v.Secondary6 || '' }));
|
|
207
|
+
out.unshift({ name: 'Default', primary: '(恢复系统默认/DHCP)', secondary: '' });
|
|
208
|
+
return ok({ count: out.length, dns: out });
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
server.registerTool('set_dns', {
|
|
212
|
+
title: '设置 DNS',
|
|
213
|
+
description: '把所有「已连接」网卡的 DNS 设为指定提供商(用 list_dns 里的名称;Default=恢复默认)。⚠️ 修改系统网络设置,需管理员权限。',
|
|
214
|
+
inputSchema: { provider: z.string().describe('DNS 提供商名称,如 AliDNS / Cloudflare / Default') },
|
|
215
|
+
}, async ({ provider }) => {
|
|
216
|
+
let script;
|
|
217
|
+
if (provider === 'Default' || provider === 'DHCP') {
|
|
218
|
+
script = `Get-NetAdapter | Where-Object {$_.Status -eq 'Up'} | ForEach-Object { Set-DnsClientServerAddress -InterfaceIndex $_.ifIndex -ResetServerAddresses }; Write-Output 'DNS 已恢复默认'`;
|
|
219
|
+
} else {
|
|
220
|
+
const d = DNS[provider];
|
|
221
|
+
if (!d) return ok({ status: 'not_found', reason: `未知 DNS 提供商: ${provider}`, hint: '用 list_dns 查看可用名称' });
|
|
222
|
+
const v4 = `'${q1(d.Primary)}','${q1(d.Secondary)}'`;
|
|
223
|
+
const v6line = d.Primary6 ? `Set-DnsClientServerAddress -InterfaceIndex $_.ifIndex -ServerAddresses '${q1(d.Primary6)}','${q1(d.Secondary6)}';` : '';
|
|
224
|
+
script = `Get-NetAdapter | Where-Object {$_.Status -eq 'Up'} | ForEach-Object { Set-DnsClientServerAddress -InterfaceIndex $_.ifIndex -ServerAddresses ${v4}; ${v6line} }; Write-Output 'DNS 已设为 ${q1(provider)}'`;
|
|
225
|
+
}
|
|
226
|
+
const res = await runPwsh(script);
|
|
227
|
+
return ok({ provider, status: res.ok ? 'done' : 'error', output: res.output.split('\n').slice(-3).join(' ') });
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
const transport = new StdioServerTransport();
|
|
231
|
+
await server.connect(transport);
|
|
232
|
+
console.error(`[winutil-cn-mcp v0.2] 已启动(${DATA.source}) · 软件 ${ALL_APPS.length} · 组合 ${Object.keys(BUNDLES).filter(k => k !== '_meta').length} · 优化项 ${Object.keys(TWEAKS).length} · DNS ${Object.keys(DNS).length}`);
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "winutil-cn-mcp",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "MCP 服务器:让 AI 智能体按意图驱动 WinUtil 中文汉化版 —— 搜索/安装软件、套用组合、一键换源、查询/应用优化项、配置 DNS。让 Claude 帮你按意图配 Windows。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"winutil-cn-mcp": "index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"index.js",
|
|
11
|
+
"data.json",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "node build-data.js",
|
|
16
|
+
"prepublishOnly": "node build-data.js"
|
|
17
|
+
},
|
|
18
|
+
"keywords": ["mcp", "winutil", "windows", "ai", "claude", "chinese", "winget"],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=18"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
24
|
+
"zod": "^3.23.8"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"author": "Holha1337",
|
|
28
|
+
"repository": "https://github.com/yasewang1337-svg/winutil-cn"
|
|
29
|
+
}
|