You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] 将「在 Pebrel 中打开」集成到 Windows 11 一级右键菜单,无需点击「显示更多选项」 #494
Activity
WilliamWang1721 commentedon Oct 6, 2026
我看了一下当前代码,先同步一下结论,也想请 @Kuddev 帮忙拿个主意。
现状
现在的「在 Pebrel 中打开」和 WSL 子菜单都是写在
HKCU\Software\Classes\Directory\{Background\,}shell\下的传统注册表右键项(见scripts/installer.iss和[Code]里动态生成的 WSL 项)。Windows 11 会把这类菜单统一放进「显示更多选项」,这一点光靠改注册表是改不掉的。要做到一级菜单需要什么
Win11 新菜单只认
IExplorerCommand这种 COM 处理器,而且应用必须有包身份。大致要:IExplorerCommand的 COM DLL;FileExplorerContextMenus和对应的 COM 扩展;Add-AppxPackage -ExternalLocation注册;卡点
想请 @Kuddev 定一下方向
你倾向哪个?定下来我就按这个推进。
W2514 commentedon Oct 6, 2026
不如直接修改注册表,让win11使用win10的右键菜单
MengXiangxi commentedon Oct 12, 2026
听说Windows 11的26H2更新可以更灵活地调控右键菜单选项。