dsh-open-in-dsh 0.3.5 → 0.3.6

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 CHANGED
@@ -45,6 +45,7 @@ pwsh -File "$env:USERPROFILE\.dsh\profiles\<profile>\node_modules\dsh-open-in-ds
45
45
  - `-Action status`:只查看当前注册与解析结果;`-Action uninstall`:移除。
46
46
  - 不带 `-Port` / `-App` 就是自动:桌面版只把「每次点击时现场发现端口」这件事写进动词(存的是 `0`),并记住应用路径;没有桌面版时退回 `dsh web`(3080)+ 浏览器 URL。也可以显式钉住:`-Port 3080 -App <exe 路径>`。
47
47
  - 写入两个 HKCU 动词:`Directory\shell\DSHOpen`(右键文件夹)与 `Directory\Background\shell\DSHOpen`(右键文件夹空白处)。
48
+ - **Windows 11 26H2(build 26200/26300,KB5127936 起)**:新版资源管理器右键菜单把第三方入口统一收进「应用扩展」子菜单,且只收录打包的 `IExplorerCommand` 扩展;传统注册表动词不再出现在新菜单里。DSH 这条动词仍在,只是要走经典菜单——**Shift+右键**,或在 设置 → 个性化 → 上下文菜单 → 其他选项 打开「显示更多选项」让右键默认走经典菜单。要直接进「应用扩展」得做 MSIX/sparse package,不在本插件范围内。
48
49
  - 装完重启一次资源管理器:Explorer 按进程缓存右键菜单,不重启看不到新条目。
49
50
 
50
51
  **macOS**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-open-in-dsh",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,11 +15,17 @@
15
15
  HKCU, not HKLM: nothing here needs elevation, and a per-user verb is the
16
16
  right blast radius for a personal tool.
17
17
 
18
- Windows 11: measured on build 26200, a classic verb registered this way does
19
- appear in the trimmed top-level menu (next to PowerShell 7 and VS Code), not
20
- only under "显示更多选项". No MSIX sparse package or `IExplorerCommand` is
21
- needed for this machine's build. Explorer caches context menus per process,
22
- so restart the shell once after installing.
18
+ Windows 11 26H2 (build 26200/26300 with KB5127936, 2026-10-28) redesigned
19
+ the Explorer context menu. A plain right-click now shows a compact menu whose
20
+ only third-party slot is the "应用扩展" submenu, and that submenu lists
21
+ packaged IExplorerCommand extensions only. A classic `Directory\shell` verb
22
+ like this one is therefore NOT shown there; it stays reachable from the
23
+ classic menu -- Shift+right-click, or right-click then 显示更多选项 after
24
+ enabling it in 设置 -> 个性化 -> 上下文菜单 -> 其他选项. Surfacing in the new
25
+ menu would need an MSIX/sparse package implementing IExplorerCommand, which
26
+ is out of scope for this script.
27
+ Explorer caches context menus per process, so restart the shell once after
28
+ installing.
23
29
 
24
30
  .PARAMETER Action
25
31
  install, uninstall, or status.
@@ -222,5 +228,7 @@ if ($verbApp -ne '') {
222
228
  }
223
229
  if (Test-Path -LiteralPath $iconPath) { Write-Output " icon: $iconPath" }
224
230
  Write-Output ''
225
- Write-Output 'Windows 11: restart Explorer (or sign out and back in) once so the'
226
- Write-Output 'shell rebuilds its context-menu cache, then right-click any folder.'
231
+ Write-Output 'Windows 11 26H2+: the compact menu keeps classic verbs out of the top'
232
+ Write-Output 'level. Use Shift+right-click, or enable 设置 -> 个性化 -> 上下文菜单 ->'
233
+ Write-Output '其他选项 -> 显示更多选项 to make right-click open the classic menu.'
234
+ Write-Output 'Restart Explorer once so the shell rebuilds its context-menu cache.'