1.12.3
主要
- 新增 设置颜色主题
- 优化 替换原先设置库方案以减小打包体积和减少内存占用
- 优化 移除库中部分无用文件以减小打包体积
- 优化 发布的文件的库使用 pnpm 安装以优化体积
截屏
- 新增 设置箭头样式(空心和实心)
- 新增 光标参考线,在光标处水平和竖直延伸
- 新增 选区参考线(如九宫格等,数量和比例可自定义)
- 优化 文字、编号适配字体
- 修复 部分滤镜无法使用
AI
- 新增 directML 后端
屏幕翻译
- 优化 批量翻译
- 修复 窗口创建错误
编辑器
- 新增 OCR 后自动显示图片区(可设置行数阈值)
- 新增 图片区和编辑区选择双向同步,方便校对:
- 在图片区选择可实时同步到编辑区
- 在编辑区选择可同步到图片区
- 新增 可选 OCR 后自动复制
- 优化 图片区文字大小
- 优化 删除换行,不删除分号后面的换行
- 优化 图片区和搜索栏可共存
- 修复 复用主页面图片区不更新
- 修复 编辑区和行号字体未使用自定义字体
录屏
- 修复 win下合并错误
主页面
- 优化 OCR 复用后自动聚焦编辑器
设置
- 新增 主页面快捷键
国际化
- 更新 翻译更多
开发
添加 biome 来实现 lint 和 parse
- 重构 移除大部分全局变量,仅保留依赖引入的全局变量
- 重构 使用
const
标记常量 - 重构 使用
for of
替换foreach
- 替换 使用
dkh-ui
替换redom
- 替换 自己实现新的简单 store 替换
electron-store
,以此不依赖ajv
建议全量更新
欢迎大家star或赞助
Main
- Add setting color theme
- Optimize and replace the original setting library scheme to reduce packaging size and reduce memory consumption
- Optimize the removal of some useless files from the library to reduce the packaging volume
- Optimize the library of published files installed using pnpm to optimize size
Screenshot
- Added setting arrow styles (hollow and solid)
- Added cursor reference line that extends horizontally and vertically at the cursor
- Add new constituency reference lines (such as 3*3 Grid, etc., the number and proportion can be customized)
- Optimize text and number to adapt fonts
- Fixed that some filters cannot be used
AI
- Add directML backend
Screen Translation
- Optimize batch translation
- Fixed window creation error
Editor
- The picture area is automatically displayed after adding OCR (line threshold can be set)
- Add two-way synchronization between the picture area and the edit area to facilitate proofreading:
- Select in the picture area to synchronize it to the edit area in real time
- Select in the edit area to synchronize to the picture area
- Automatic copying after adding optional OCR
- Optimize the text size in the picture area
- Optimize the deletion of line breaks without deleting the line breaks after the semicolon
- Optimize picture area and search bar can coexist
- Fixed that the picture area of the reused main page is not updated
- Fixed that the edit area and line number fonts did not use custom fonts
Screen Recording
- Fix merge errors under win
Main page
- Optimize auto-focus editor after OCR reuse
Setting
- Add main page shortcut key
Internationalization
- Updated translation more
Development
Add biome to implement lint and parse
- Refactoring removes most global variables and retains only global variables introduced by dependence
- Refactoring uses
const
marked constants - Refactoring replaces
foreach
withfor of
- Replace with
dkh-ui
to replaceredom
- Replace yourself to implement a new simple store replace 'electron-store' so that you don't rely on 'ajv'
下载:
Windows | macOS | Linux | |
---|---|---|---|
x64 | exe zip | dmg zip | AppImage deb rpm tar.gz |
arm64 | exe zip | dmg zip |
镜像下载⚡:
Windows | macOS | Linux | |
---|---|---|---|
x64 | exe zip | dmg zip | AppImage deb rpm tar.gz |
arm64 | exe zip | dmg zip |