Skip to content

macOS 字体库缺失mgit-gui 无法启动 #1

@epolar

Description

@epolar

mac 版本 Sequoia 15.0.1 去除了/System/Library/Fonts/PingFang.ttc 字体包,从而导致mgit-gui 启动的时候报错:

2024-10-09 15:25:51.400 mgit-gui[62830:752578] +[IMKClient subclass]: chose IMKClient_Legacy
2024-10-09 15:25:51.400 mgit-gui[62830:752578] +[IMKInputSession subclass]: chose IMKInputSession_Legacy
thread 'main' panicked at gui/src/editor/misc.rs:55:72:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions