MarkMate v1.4.1 — 修复长图导出截断
新增 / Added
🪟 Windows 支持 — MarkMate 现在也可在 Windows x64 上运行!
- 两种分发格式:
-setup.exe(NSIS 安装版)和-portable.exe(免安装即用) - 文件关联:
.md.markdown.mdown.mkd.mdtext.txt - 快捷键自动适配 Windows 风格(Ctrl 取代 ⌘)
- 在 macOS 上交叉编译,electron-builder 自动下载 Wine + NSIS
修复 / Fixed
长图导出不再被截断
修复了在 macOS 上导出长文档为 PNG 时,超过屏幕物理高度的部分被静默裁掉的问题。
- 症状:文档比较长时(比如超过 5000 像素高),导出的长图末段会被齐刷刷截断
- 根因:macOS 上
BrowserWindow.setContentSize默认受屏幕物理高度限制,多余高度被静默裁掉;同时capturePage()不传 rect 时只截当前可视区 - 修复:截图窗口启用
enableLargerThanScreen,capturePage显式传入完整 rect;resize 后做高度二次校验,无法装下时退化重试或显式报错——不再静默截断
📥 下载 / Download
| 平台 | 文件 |
|---|---|
| macOS Apple Silicon | MarkMate-1.4.1-arm64.dmg |
| macOS Intel | MarkMate-1.4.1-x64.dmg |
| Windows (installer) | MarkMate-1.4.1-x64-setup.exe |
| Windows (portable) | MarkMate-1.4.1-x64-portable.exe |
macOS / Windows 均未签名。Windows 用户首次运行请点击 更多信息 → 仍要运行。
完整变更:见 CHANGELOG