Skip to content

Win顺 0.56.0

Choose a tag to compare

@LingCore LingCore released this 30 Nov 06:54

Win顺 0.56.0:剪贴板可以换成和 Windows 自带一样的简洁样式;搜索框里点一下就能看到搜索语法,点例子直接填进去(#516);什么都没找到时会说哪个盘没收录,还能当场搜一遍;插件跟着 Win顺 一起更新,不用等下次启动;Win顺 以管理员身份运行时,长截图能自动滚动管理员程序,结束进程也能结束它们(#517);修好点一下就“未响应”、收藏的插件功能越开越多等问题。

下载 · Downloads

  • WinShun-0.56.0-x64-setup.exe 为标准安装版,覆盖升级保留设置、索引和剪贴板,带截图与录屏组件,增强 OCR 按需下载。
  • WinShun-0.56.0-x64-portable.zip 为便携版。解压运行 WinShun.exe,升级时保留原来的 data 文件夹。
  • WinShun-0.56.0-x64-offline-setup.exe 另外包含增强 OCR。其他官方可选插件从插件库安装。
  • WinShun-ocr-ppocr-v6-ort1.30.0-x64.zip 是同版本安装程序使用的增强 OCR 组件。
  • SHA256SUMS.txt 提供全部附件的 SHA256。
  • 国内下载慢的话,CNB 镜像上有同样的文件。

The standard installer keeps settings, the index and clipboard history during an upgrade, carries the screenshot and recording component, and downloads enhanced OCR when needed. For the portable edition, keep the existing data folder. The offline installer also includes enhanced OCR; the other optional official plugins are in the plugin library. Scoop users can run scoop update winshun after the bucket update reaches them; with WinGet, winget upgrade LingCore.WinShun once the package has caught up. From mainland China, the CNB mirror has the same files.

升级不用迁移任何东西,设置、收藏、贴图和剪贴板历史都保留。原来的“自动更新”改叫“自动检查更新”,插件另有一个“自动更新插件”开关,升级后两个都沿用原来那一个开关的值。随安装包带的结束进程换成 2.0.0。插件库里这几个官方插件会更新:截图与录屏 1.1.46、图片文字搜索 1.0.39、开发工具 1.0.14、鼠标手势 2.3.2,其余不变。截图与录屏 1.1.46 多要一个权限“跟随 Win顺 的管理员权限”(#517),所以不会自己更新:在 设置 › 插件 里点它的“更新”,同意一次就好;新装的 Win顺 直接带 1.1.46。图片文字搜索、开发工具的新版用这一版的共用代码编译,要先把 Win顺 更新到 0.56.0。 从 0.36.0 起的版本软件内更新只下载变了的部分。

Nothing needs migrating: settings, favorites, pins and clipboard history are kept. The old Automatic updates switch is now Check for updates automatically, and plugins have an Update plugins automatically switch of their own; both start from the old switch's value. End process, which ships with the installer, is now 2.0.0. In the plugin library these official plugins update: Screenshot and recording 1.1.46, Image text search 1.0.39, Developer tools 1.0.14 and Mouse gestures 2.3.2; the others stay as they are. Screenshot and recording 1.1.46 asks for one more permission, Follow WinShun's administrator rights (#517), so it does not update by itself: update it in Settings › Plugins and allow it once; a new install of WinShun comes with 1.1.46. The new Image text search and Developer tools are built on this version's shared code and need WinShun 0.56.0 first. Updating in the app from 0.36.0 or later downloads only what changed.

新功能 · What's new

  • 📋 剪贴板的简洁样式:设置 › 剪贴板 › 粘贴动作与列表显示 › 简洁样式(默认关)。打开后每一行只显示复制的内容,像 Windows 自带的剪贴板历史:文字和链接不带前面的标记,长的折成两行;图片就是一张缩略图,搜索时才写文件名;不显示来源和时间。顶上的钉住、预览、找分组按钮收起来(Ctrl+T、Alt+P、Ctrl+G 照常用),底栏只在有话要说时出来(一句提示、选中了几条、按住快捷键时、没在记录时)。“图片缩略图”选“小”时,每一行一样高,图片铺满整行。

    A simple look for the clipboard: Settings › Clipboard › Paste actions and list display › Simple look (off by default). Each row then shows only what was copied, as Windows' own history does: words and links without their sign, long ones on two lines; a picture is its thumbnail, named only while searching; no source or time. The pin, preview and group buttons at the top step aside (Ctrl+T, Alt+P and Ctrl+G still work), and the footer shows only when it has something to say (a message, rows picked, the hotkey held, not recording). With small picture thumbnails every row is as high and a picture fills its row.

  • 🔎 搜索语法,点一下就有(#516):搜索框右下角 ⓘ 的卡片多了第二页“搜索语法 ›”,列出常用的写法:多个词、拼音、引号、|、!、通配符、开头结尾、regex:、fz:、在文件夹里搜、ext:、类型前缀、size:、dm:。点一个例子就加进搜索框,光标停在后面;点进文件夹的例子会换掉整个搜索。最后一行通往“快捷筛选”,常用的条件可以存起来。同一张表也在 设置 › 快捷键 › 搜索语法,设置里的搜索也能搜到。

    Search syntax a click away (#516): the ⓘ card at the bottom right of the search box has a second page, Search syntax ›, with the common ways to write a search: several words, pinyin, quotes, |, !, wildcards, start and end, regex:, fz:, searching in a folder, ext:, a kind's prefix, size: and dm:. Click an example to add it to the search, the caret after it; one that goes into a folder replaces the search. The last row leads to quick filters, to keep conditions you use often. The same table is under Settings › Shortcuts › Search syntax, found by the settings search too.

  • 💽 没找到时,说哪个盘没收录:以前这台电脑自己的盘没在索引里(搜索范围里没勾、只收录选定文件夹时那个盘上一个都没选、整盘排除了),搜不到时什么也不说,只有 U 盘会提。现在什么都没找到时,每个这样的盘一行“D 盘没收录”:点“这次也搜它”当场在这个盘上找一遍;“搜索范围…”“加入索引”“排除设置…”是以后都收录它的地方。有结果时、指定了文件夹时不出现。诊断包里也列出每个盘、它的文件系统和有没有收录。

    When nothing is found, the disk that was not looked at is named: a disk of this PC that the index does not hold (unchecked in the search scope, no chosen folder on it when only chosen folders are indexed, or excluded whole) used to be passed over in silence; only USB drives were mentioned. Now, when nothing at all is found, each such disk gets a line, "Drive D: is not indexed": Search it this time walks it for the search on the spot, and Search scope…, Add to the index or Exclusions… is where to keep it. Not under rows that were found, nor when a folder was asked for. The diagnostics package lists every drive, its file system and whether the index holds it.

  • 🧩 插件跟着 Win顺 一起更新:在设置里点“下载并安装”更新 Win顺 时,插件按新版本一起下载好,新版 Win顺 第一次启动、插件还没开始运行就换上,不用再等;“已更新到”的通知会写一起更新了几个插件。正在运行的插件下载了新版本,等你离开电脑 10 分钟、它又闲着(没有窗口开着、没在干活)时停一下换上,最晚下次启动时换上;Win顺 换了版本后 90 秒就查一次插件更新。“自动更新插件”是单独的开关,关掉 Win顺 的更新提醒不再顺带关掉插件更新。

    Plugins update along with WinShun: updating WinShun with Download and install in the settings downloads the plugins for the new version too, and the new version's first start puts them in place before any plugin runs; the "updated" notice says how many came along. A running plugin's downloaded version goes in while you are away for 10 minutes and it is idle (no window of its own open, nothing in progress), at the next start at the latest; a new version of WinShun checks the plugins 90 seconds after it starts. Update plugins automatically is a switch of its own, so turning off WinShun's update reminders no longer stops plugin updates too.

  • 🧮 公式在剪贴板历史里就是公式(#514):截图里“公式识别”复制的 LaTeX、Markdown、Word 公式、Typst,以前在历史里只是一行代码,几个相似的公式分不清,也看不出是哪种格式。现在这一条显示画好的公式,写明“LaTeX 公式”这类格式,预览里公式在上、原文在下。粘贴和以前一样;Word 格式从历史里粘贴也是 Word 认的公式。要截图与录屏 1.1.46。

    Formulas look like formulas in the clipboard history (#514): LaTeX, Markdown, Word equations and Typst copied from formula recognition were a line of code in the history, hard to tell apart and silent about their form. The entry now shows the formula drawn, says "LaTeX equation" (or the form it is), and the preview shows the formula over its source. Pasting is as before, and a Word equation pasted from the history is still an equation. Needs Screenshot and recording 1.1.46.

  • 🛡️ 管理员程序也能自动滚动长截图、能结束(#517):Win顺 以管理员身份运行、在插件卡片上确认过时,截图与录屏也以管理员身份运行,长截图能自动滚动以管理员身份运行的程序(关掉 UAC 的电脑上所有程序都算);Win顺 用普通权限时什么都不变,也从不为插件弹 UAC,长截图面板会说明怎样才能自动滚动。随安装包带的“结束进程”改成了 C++:自己以管理员身份打开的程序直接能结束;Win顺 以管理员身份运行时,系统服务和别的用户的进程也能结束;结束不了的会说为什么。还能按窗口标题和程序说明找(kill 记事本),Ctrl+Enter 连同它开的子进程一起结束,系统关键进程从不结束。

    Long screenshots scroll, and End process ends, programs run as administrator (#517): with WinShun run as administrator and the plugin confirmed on its card, Screenshot and recording runs as administrator too, so a long screenshot can auto-scroll programs run as administrator (every program, with UAC off); with WinShun on normal rights nothing changes, no UAC prompt is ever shown for a plugin, and the long screenshot panel says how to get auto-scroll. The End process plugin that comes with the installer is C++ now: it ends your own programs run as administrator, and services and other users' processes too while WinShun runs as administrator, and says why when it cannot. It finds a process by its window title and its program's description too (kill notepad), Ctrl+Enter ends it with the processes it started, and critical system processes are never ended.

改进与修复 · Improvements and fixes

  • 点一下就“未响应”:有用户的 Win顺 点一下就卡住十几秒到半分钟,诊断包显示是保存设置时等别的东西放开设置文件的锁。现在设置、窗口位置、更新记录这些都在后台写,界面不再等它;锁被占住超过一秒时诊断包会记下是谁占着。截图与录屏、图片文字搜索的设置也一样。

    Frozen after a click: for one user WinShun froze for 12 to 25 seconds after a click; the diagnostics showed it waiting for a lock on a settings file to be let go. Settings, window places and update records are now written in the background, and the window never waits for them; a lock held over a second goes into the diagnostics with who holds it. Screenshot and recording and Image text search write theirs the same way.

  • 收藏的插件功能越开越多:收藏了插件的功能(比如局域网传输),每关一次搜索框再打开,图标就多一个;从收藏里移除后也还留在列表上。现在只有一个,移除后马上消失。

    Plugin favorites multiplying: a plugin function kept in the favorites (such as LAN transfer) gained one more icon each time the search box was closed and opened again, and stayed listed after it was removed from the favorites. It is listed once now, and goes as soon as it is removed.

  • 长截图里的黑块(#519):在有的 Windows 上,长截图的小面板虽然不该被截进去,还是以黑块出现在图里,选区和屏幕一样高时黑块从上到下贯穿整张图。现在面板等第一帧截好再出来,放不到选区外面时放到选区里面顶上(那几行会滚走),被我们的窗口挡过的顶部用第一帧补上;自动滚动到底时和点“完成”一样收尾。

    A black block in long screenshots (#519): on some Windows setups the long screenshot's little panel came out black in the picture although it is left out of captures, and with a selection as tall as the screen the black ran down the whole picture. The panel now shows once the first frame is in, sits inside the selection at the top when it cannot go beside it (rows that scroll away), and the top rows covered by our windows come from the first frame; reaching the end with auto-scroll finishes as Done does.

  • 打码各管各的(#521):智能打码盖住的地方和点一行字盖住的地方以前共用一个编号,给一处换样式、撤销或删除会改到另一处,保存后再编辑的图片里打码也会乱。现在每一处各有编号,以前保存的图片打开时也会补上。

    Each redaction on its own (#521): places hidden by smart redaction and lines hidden with a click shared one number, so restyling, undoing or deleting one changed another, and a picture saved that way came back mixed up. Each now has its own, and pictures saved before get theirs when opened.

  • 插件的快捷键没注册上,设置里写明原因(#518):插件自己的快捷键(比如窗口置顶的)被 Windows 拒绝时,以前只有屏幕上一闪而过的提示,设置页还显示得像能用。现在插件卡片上那个快捷键设置下面用红字写明原因(被占用或认不出这个键)。

    A plugin shortcut Windows refused says why in the settings (#518): a plugin's own shortcut (such as Always on top's) that Windows would not give was only told by a note that faded in seconds, and the settings showed the key as if it worked. The plugin's card now says why in red under that shortcut setting (taken by another program, or a key Windows does not know).

  • 插件启动被拦,会说是谁拦的:以前插件每次启动都被拒绝(错误 5)时卡片上写的是“连续崩溃”。现在写“启动不了”和原因:文件权限、Win顺 自己的规则,还是多半被安全软件拦下了;诊断包里加了杀毒软件列表和 Windows 拦截记录里与 Win顺 有关的几条。

    A plugin refused at start says who refused it: a plugin Windows refused at every start (error 5) showed as "kept crashing". The card now says it could not start and why: the file's permissions, WinShun's own rules, or most likely a security program; the diagnostics package lists the antivirus products and Windows' blocking events that name WinShun's files.

  • 复制的截图存成 .bmp 是黑的(#497):在 Directory Opus 里粘贴截图存成 .bmp,用 FastStone 打开一片黑。现在剪贴板里给其他程序的那一份是 24 位图,没有透明度那一个字节,存出来的 .bmp 哪里打开都正常;带透明度的那一份照旧留给认得它的程序。

    A copied screenshot saved as .bmp came out black (#497): pasted in Directory Opus and saved as .bmp, it opened black in FastStone. The plain bitmap on the clipboard is now 24-bit, with no transparency byte, so such a .bmp opens anywhere; the copy with transparency is still there for programs that read it.

  • 其他:鼠标手势的设置里,画板滚到标签页下面时点不了标签页,已修好;一个盘都没勾选、又是第一次建索引时,不再一直显示“正在建立索引”;没找到时的那句话改成“文件名、文档和 .txt 等文件的内容里都没有”;英文界面里剩下的十几处“Win顺”都写成 WinShun。

    Also: in the mouse gesture settings, the tabs work again when the drawing pad is scrolled under them; a first index with no disk checked no longer says it is being built forever; the nothing-found line reads properly; the English interface says WinShun in the dozen places that still said Win顺.

  • 插件开发:register_hotkeys 没注册上的键,宿主会把原因写在插件设置页里值为该键的 hotkey 设置下面,插件不用自己再提示。clipboard_copy 多了可选的 formula(latex、markdown、word、typst)和 look(画好的公式,PNG 的 base64),历史里这一条显示这张图;认得它的 Win顺 回复 {"formula": true}。常驻插件干长活时用 winshun/status 报 busy 或开着自己的窗口,就不会在用户离开时被换成新版本。随 Win顺 安装、要 elevated 的插件直接从安装目录以管理员身份运行,不做副本也不用确认。见插件协议。

    For plugin authors: a key register_hotkeys could not register is explained by the host under the hotkey setting holding it, so the plugin need not say it again. clipboard_copy takes optional formula (latex, markdown, word, typst) and look (the drawn formula as base64 PNG), which the history shows; a WinShun that knows it answers {"formula": true}. A resident plugin doing long work reports busy through winshun/status, or keeps its window open, so it is not swapped for a new version while the user is away. A bundled plugin with elevated runs as administrator straight from the install folder, with no copy and no confirmation. See the plugin protocol.