macOS 平台层

未关闭
#8 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, go, macos
领域
ci-cd, desktop, release

调研方向

This depends on #7, which defines the platform interface, so read that refactor first and the macOS implementation will follow its shape. Work from the checklist, one small PR per item, starting with the platform layer or path names. The workflow to change is release.yml, and the cross-reference is ModAVD/ModAVD#26, where macOS was already tried. Done means each checklist item is merged with the test machine and macOS version written in the PR, and the macOS CI runs.

由索引模型根据 Issue 内容生成。

描述

enhancement help wanted platform:macos

#7 拆好以后,按它的接口实现 macOS(Apple Silicon)。ModAVD/ModAVD#26 里已经有人在 mac 上把管理器跑起来了,欢迎把改动按这里的条目拆成小 PR 提进来。

要做的

  • 平台层:进程快照、脱离进程树启动、文件锁、查端口被谁占着、加密保存(用钥匙串)
  • 路径和文件名:emulator、adb、qemu-system-aarch64,以及默认的根目录
  • 开机前的检查:Hypervisor.framework 能不能用,系统镜像是不是 arm64
  • arm64 客体不装执行桥;确认 arm64 镜像需不需要客体 Vulkan 驱动补丁(vkfix)
  • 管理器窗口不依赖 Edge,改用默认浏览器或 Chrome 的应用窗口
  • 更新:从 GitHub 取 ModAVD-<版本>-macos-arm64.zip,查 Mirror酱时传 os=macos、arch=arm64
  • 本仓库的 release.yml 加 darwin/arm64 的构建,单独下载的包叫 ModAVDManager-<版本>-macos-arm64.zip
  • 在 macOS 的 CI 上跑这部分的测试

怎么提

  • 一个 PR 只做一件事,别一次把整个移植都提上来。
  • 不改变 Windows 的行为;动了共用代码的,在 PR 里写清楚。
  • PR 里写明在什么机器、什么 macOS 版本上测过,测了什么。
主要语言
Go
星标
0
派生
1
平均合并
2 小时 42 分钟
30 天内合并 PR
13

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ModAVD/ModAVDManager 的其他 Issue

查看 ModAVD/ModAVDManager 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。