Skip to content

原生 Windows 支持与 WSL 集成 #40

Open

Description

@wowyuarm

很好的项目,后续会支持多平台吗?

我 fork 了一份做了适配,跑在 windows 与 wsl 上用着还可以,修改包括:

  • 原生 Windows 适配: 修正路径、文件树、快捷键、窗口标题等平台差异,并增加 Windows 专用代码。
  • WSL 集成: 可以发现 Windows 上的 WSL 发行版,把发行版里的项目目录作为远程目录打开;文件操作、搜索、Git 和终端通过 wsl.exe 与 Linux 环境交互。
  • 跨平台测试: 把测试从原本主要在 macOS 上运行,扩展到 Windows、Linux 和 macOS,并处理各系统间的差异。

没有做 CI,其他改动比较大,没直接提 pr,后续可以的话我可以提过来。分支在 https://github.com/wowyuarm/Mayoi/tree/windows-wsl (基于 v0.10.0)。

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions