Changelog
- Multi-Window Support: Added
--multi-windowflag to allow opening multiple windows within a single app instance. A "New Window" entry appears in the macOS File menu (Cmd+N) and the system tray menu when enabled. Re-launching the app also opens a new window instead of focusing the existing one. - Internal URL Regex Control: Added
--internal-url-regexoption for fine-grained control over which URLs are treated as internal links. Accepts a regex pattern as an alternative to the default same-domain check, with safe fallback on invalid patterns. - Windows ICO Icon Fix: Reordered multi-resolution ICO icon entries to prioritize 256px images, improving app icon display quality on Windows.
- DMG Background Fix: Restored retina metadata and adjusted dimensions for the macOS DMG background image to display correctly in CI builds.
更新日志
- 多窗口支持:新增
--multi-window参数,允许在同一 App 实例中打开多个窗口。启用后,macOS File 菜单(Cmd+N)和系统托盘菜单均会出现 "New Window" 入口,重新启动 App 时也会打开新窗口而非聚焦已有窗口。 - 内部链接正则控制:新增
--internal-url-regex参数,支持通过正则表达式精确控制哪些 URL 被视为内部链接,作为默认同域名判断的替代方案,非法正则时自动回退到默认逻辑。 - Windows ICO 图标修复:对多分辨率 ICO 文件重新排序,优先使用 256px 图标,提升 Windows 下 App 图标的显示质量。
- DMG 背景图修复:恢复 macOS DMG 背景图的 Retina 元数据并调整尺寸,修复 CI 构建中背景图显示异常的问题。
Special thanks to @chindris-mihai-alexandru for their contributions to this release. If Pake helps you, please consider giving it a star and recommending it to your friends.