Skip to content

交付物在资源管理器中打开不可用 #489

Description

@lxltyw

点击在资源管理器中打开,不会有界面弹出来
已做的修改
只对 explorer 的 reveal 调用关掉隐藏,其余命令保持不变:

D:\Program Files\DSH Desktop\resources\app\node_modules@deepseek-ai\dsh-native-command\lib\index.js(第 17/21 行支持 { hidden: false },第 232 行改用它)
C:\Users\lxlty.dsh\profiles\node_modules@deepseek-ai\dsh-native-command\lib\index.js(与上面是同一底层文件,已同步)
原文件备份为同目录 index.js.bak-reveal
你需要做一步
完全退出并重新打开 DSH Desktop(ESM 模块已在 Host 进程内缓存,改文件不会热生效)。重启后再点一次「在文件资源管理器中显示」,窗口就会正常弹出来。

顺带清理:那些隐藏的旧窗口可以靠任务管理器里「重新启动 Windows 资源管理器」一次性清掉。

两点提醒
升级 DSH Desktop 或重装依赖会覆盖这个补丁(profiles/node_modules 由 pnpm 管理,同样会还原)。回滚就是把 index.js.bak-reveal 覆盖回去。
这其实是上游 bug,而且 dsh-host-open-in-app 里已经有按条目声明 windowsHide 的先例(launch.windowsHide),说明作者知道这个坑、只是漏了 reveal 分支——值得给 anywhere-labs/deepseek-harness 提个 issue,标题大意:reveal in file manager spawns explorer with windowsHide, creating an invisible Explorer window。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions