Repository navigation
Releases
v1.1.1
1.1.1
- 只改文档,插件行为不变:这台开发机的仓库目录已在 2026-10-11 从
E:\dshplugins\dsh-screenshot迁到E:\dsh-screenshot-xn\dsh-screenshot,profile 里那条link:因此指向了不存在的路径。DSH Desktop 2.0.17 起,profile 里任意一行 bundle 解析不到都会让整个应用拒绝启动(日志:dsh-plugin-desktop: cannot resolve package "dsh-screenshot-xn" from the Desktop installation or active Profile,错误名PackageOverlayNotFoundError),而 2.0.15 及更早只是把这一行当「缺失」跳过。中英 README 的「故障排查 / Troubleshooting」首行现在写明症状与成因,给出两条修法(plugin_manager重装 / 手改 profile 的link:与node_modules目录链接),并补上起不来时的应急通道(把dsh-screenshot-xn从 profile 的dsh.profile.bundles里摘掉,DSH 立刻能起)与不必重启的自检命令。 / Docs only, no behavior change: on 2026-10-11 this development machine moved the checkout fromE:\dshplugins\dsh-screenshottoE:\dsh-screenshot-xn\dsh-screenshot, so the profilelink:pointed at a path that no longer exists. Since DSH Desktop 2.0.17, any bundle row that cannot be resolved makes the whole app refuse to start (log:dsh-plugin-desktop: cannot resolve package "dsh-screenshot-xn" from the Desktop installation or active Profile, error namePackageOverlayNotFoundError), while 2.0.15 and earlier merely treated that row as missing. The first row of "Troubleshooting" in both READMEs now names the symptom and the cause, gives both fixes (plugin_managerreinstall / hand-editing the profilelink:plus thenode_modulesdirectory link), and adds the emergency channel (dropdsh-screenshot-xnfromdsh.profile.bundlesand DSH starts again) together with a self-check that needs no restart. - 文档里指向旧目录的路径全部换成当前仓库目录(快速开始、
plugin_manager安装示例、开发与验证、市场条目校验命令)。 / Every documented path that pointed at the retired directory now names the current checkout (quick start, theplugin_managerinstall example, development and verification, the market-entry validator command).
安装 / Install(二选一 / pick one):
dsh plugin --profile <你的 profile> add github:ntesicn/dsh-screenshot-xn
dsh plugin --profile <你的 profile> add https://github.com/ntesicn/dsh-screenshot-xn/releases/latest/download/dsh-screenshot-xn.tgz也可以直接在 DSH 插件管理里添加本仓库。随附的 .tgz 是预构建包(34 个文件,389453 字节);ONNX 运行时是可选依赖,OCR 模型首次使用时下载并校验 SHA256。
Add the repository in the DSH plugin manager instead if you prefer. The attached .tgz is the prebuilt package (34 files, 389453 bytes): the ONNX runtime is an optional dependency and OCR models are downloaded and SHA256-verified on first use.
v1.1.0
1.1.0
- 提权运行的 DSH 不再让整屏面板打不开:被提权父进程拉起时,Chromium 的 AutoDeElevate 会立刻退出、让 shell 重新以普通权限启动自己,而命令行偏长时这次中继会把参数丢掉,于是 kiosk 永远打不开面板页(现象是窗口闪一下就不见了、日志里
panel files fetched: 0 (none)、浏览器日志只有一行Edge is running elevated: 1)。现在 kiosk 旗标带上上游规避开关--do-not-de-elevate,宿主会从浏览器日志里点名这个原因,DSH 自身带~ RUNASADMIN兼容层时也会在启动日志里警告。 / An elevated DSH no longer breaks the full-screen panel: Chromium's AutoDeElevate exits at once when an elevated process starts it and lets the shell relaunch it unelevated, and with a long command line that relay drops the arguments, so the kiosk never opens the panel page (the window flashes and vanishes, the log sayspanel files fetched: 0 (none), the browser log holds one line:Edge is running elevated: 1). The kiosk flags now carry the upstream workaround--do-not-de-elevate, the host names that cause from the browser log, and it warns when DSH itself carries the~ RUNASADMINcompatibility layer. - 输出目录不可写不再只报 GDI+ 笼统错误:若默认的
%TEMP%\dsh-screenshot-xn是早前提权运行时创建的,它的属主是BUILTIN\Administrators、当前用户没有任何 ACE(往往还删不掉),抓屏成功但写盘失败。现在落盘前先做真实写探测,必要时自动改用%LOCALAPPDATA%\dsh-screenshot-xn(再不行用%TEMP%\dsh-screenshot-xn-<随机>),并在结果里报out_dir_requested / out_dir_writable / out_dir_reason / out_dir_fallback。 / An unwritable output directory no longer surfaces as a bare GDI+ error: if the default%TEMP%\dsh-screenshot-xnwas created by an earlier elevated run, its owner isBUILTIN\Administratorswith no ACE for the current user (and it often cannot even be deleted), so the capture worked and the write did not. The script now probes writability before saving, falls back to%LOCALAPPDATA%\dsh-screenshot-xnand then to%TEMP%\dsh-screenshot-xn-<random>, and reportsout_dir_requested / out_dir_writable / out_dir_reason / out_dir_fallback. - 一并带上此前两轮的修复:kiosk 的所有开关都排在 URL 之前(URL 必须是最后一个参数);系统代理下用
--no-proxy-server直连本机;冷启动首次心跳宽限到 20 s;面板静默不导航时会把浏览器日志与「面板文件被取走几个」写进 DSH 日志。 / This package also carries two earlier rounds of fixes: every kiosk switch now precedes the URL (the URL must be the last argument), the kiosk bypasses a system proxy with--no-proxy-server, a cold start gets a 20 s grace period for its first heartbeat, and a panel that never navigates writes both the browser log and the "panel files fetched" count into the DSH log. - 文档:中英 README 都补上「不要提权」「输出目录不可写」「安全软件拦 MSYS2 写非系统盘」三处,英文版还补上了此前缺失的「允许在浏览器中打开」前置开关。 / Docs: both READMEs gained the "do not elevate", "unwritable output directory" and "security software blocking MSYS2 writes on non-system drives" entries, and the English README gained the missing "allow opening in a browser" prerequisite.
安装 / Install(二选一 / pick one):
dsh plugin --profile <你的 profile> add github:ntesicn/dsh-screenshot-xn
dsh plugin --profile <你的 profile> add https://github.com/ntesicn/dsh-screenshot-xn/releases/latest/download/dsh-screenshot-xn.tgz也可以直接在 DSH 插件管理里添加本仓库。随附的 .tgz 是预构建包(34 个文件,387680 字节);ONNX 运行时是可选依赖,OCR 模型首次使用时下载并校验 SHA256。
Add the repository in the DSH plugin manager instead if you prefer. The attached .tgz is the prebuilt package (34 files, 387680 bytes): the ONNX runtime is an optional dependency and OCR models are downloaded and SHA256-verified on first use.
dsh-screenshot-xn 1.0.1
1.0.1
- ???????? DSH Desktop ????????????????????????
desktop-browser-access-denied????????????????????? / The overlay now preflights DSH Desktop's browser-access gate: a blocked request is reported inside the panel instead of aborting as a silent no-heartbeat failure. - ??? 1.0.0 ??????? + ?????/??/??/??/???/?????????????? / ?? / ?????? OCR?PP-OCRv6 + onnxruntime-node?Windows ??????????????????? DSH ???????
?? / Install????? / pick one?
dsh plugin --profile <?? profile> add github:ntesicn/dsh-screenshot-xn
dsh plugin --profile <?? profile> add https://github.com/ntesicn/dsh-screenshot-xn/releases/download/v1.0.1/dsh-screenshot-xn-1.0.1.tgz???? DSH ????????????????? .tgz ??????33 ????? 0.28 MB??ONNX ?????????OCR ???????????? SHA256?
Add the repository in the DSH plugin manager instead if you prefer. The attached .tgz is the prebuilt package (33 files, ~0.28 MB): the ONNX runtime is an optional dependency and OCR models are downloaded and SHA256-verified on first use.
dsh-screenshot-xn 1.0.0
整屏微信式截图面板:框选 + 标注(矩形/椭圆/箭头/画笔/马赛克/文字,可撤销重做),一键插入对话 / 复制 / 另存为;
框选区域可离线 OCR 识别文字(PP-OCRv6 + onnxruntime-node,Windows 自带引擎兜底)并翻译成 9 种语言(用你已在 DSH 配好的模型)。
English: full-screen WeChat-style screenshot panel with annotation, one-click insert / copy / save, offline OCR (PP-OCRv6 via onnxruntime-node, Windows engine as fallback) and translation through your own configured DSH model.
Install / 安装:dsh plugin add dsh-screenshot-xn 或在 DSH 插件管理里添加本仓库。
The attached .tgz is the prebuilt package (33 files, ~0.28 MB) — the ONNX runtime is an optional dependency, and OCR models are downloaded on first use with SHA256 verification.