-
-
Notifications
You must be signed in to change notification settings - Fork 10
修复使用VBScript实现的右键功能在Windows11失效的问题 #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Follow on with #68 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
该 PR 旨在修复 Windows 11 上基于 VBScript/mshta 的右键相关功能失效的问题,通过在较新系统上改用 PowerShell 执行。
Changes:
- 在增强菜单字典中将“复制路径”在
>= 10.0系统上改为 PowerShellSet-Clipboard ShellExecuteDialog.GetCommand在 Windows 10+ 上改为生成 PowerShellStart-Process命令替代mshta vbscript:shellexecuteObjectPath.ExtractFilePath新增对上述 PowerShellStart-Process -FilePath ...命令的解析支持
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| ContextMenuManager/Properties/Resources/Texts/EnhanceMenusDic.xml | 为 CopyAsPath 按 OSVersion 拆分实现,Win10+ 使用 PowerShell 复制到剪贴板 |
| ContextMenuManager/Methods/ObjectPath.cs | 增加对 PowerShell Start-Process -FilePath 命令的文件路径提取逻辑 |
| ContextMenuManager/Controls/ShellExecuteDialog.cs | Win10+ 生成 PowerShell Start-Process 命令,旧系统保留 VBScript/mshta 分支 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ContextMenuManager/Properties/Resources/Texts/EnhanceMenusDic.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.