Skip to content

Releases: lenrendre/dsh-screenshot-native

v1.0.0 - WeChat-style screenshot overlay (Windows)

Choose a tag to compare

@lenrendre lenrendre released this 24 Oct 09:35

安装

# npm(推荐)
dsh plugin --profile desktop add dsh-screenshot-native

# GitHub(钉版本)
dsh plugin --profile desktop add github:lenrendre/dsh-screenshot-native#v1.0.0

重启 DSH 后,输入框左侧出现相机按钮。

功能

  • 原生 C# 全屏浮层:点相机即隐藏 DSH 窗口,对桌面截图
  • 悬停窗口高亮,单击截整窗;拖动自由框选;被遮挡窗口也能截
  • 桌面高亮不含任务栏;任务栏上高亮整屏
  • Shift 切换「隐藏/保留」DSH 画面
  • 单 tick 确认 / Enter / 双击;右键或 Esc 取消
  • 截图自动进输入框;模型侧另有 screenshot_capture / list_windows / annotate_image 三个工具

性能(2560x1440 / 150% 实测)

场景 每帧
小框拖动 0.77-0.83 ms
大框拖动 1.56-1.62 ms
打开浮层 54-150 ms

说明

  • 仅 Windows 10/11;引擎为预编译 bin/WeChatShot.exe(未签名,SmartScreen 可能提示;插件用 spawn 启动不经过它)
  • MIT,fork 自 Durandalw/dsh-plugin-screenshot