Skip to content

v0.1.3

Latest

Choose a tag to compare

@tianleyitian tianleyitian released this 17 Aug 07:48

dsh-file-drop 0.1.3

把文件/文件夹拖到 DSH 窗口任意位置,真实磁盘路径瞬间写入对话输入框——零内容传输,与文件大小无关。

变更

  • pick-file 命令菜单选择文件,支持多选:输入框左下角 +pick-file → 系统原生文件对话框(可 Ctrl 多选)→ 路径逐行填入输入框

修复

  • helper 启动方式改为 -EncodedCommand(UTF-16LE Base64)——根治 PowerShell 5.1 按 ANSI 解码脚本源码导致的中文乱码(对话框标题、日志)
  • 移除 C# 扩展(FolderPicker COM 代码在 PS 5.1 的 Add-Type 编译环境下中文/反斜杠字面量会破裂,导致 helper 启动即崩)
  • 保留 0.1.2 全部修复:选择器停留不再消失(8s 自动隐藏与对话框隔离)、对话框超时/中止收敛(close-picker)、helper 单实例自清理

安装

dsh plugin --profile web add dsh-file-drop

使用

  1. 打开任意会话
  2. 拖文件到窗口任意位置,或点 +pick-file 用系统对话框选择(可多选)
  3. 路径瞬时出现在输入框