Note
使用与协作说明:本仓库是心动公司完全内部使用的工具,仅限公司内部研发与使用,不对外提供支持,也不接受外部功能 PR。如果你有定制或二次开发需求,欢迎按 MIT 协议 自行 fork 出去修改和维护。
Notice: This repository is maintained strictly for internal use at XD. We do not provide external support or accept external feature PRs. You are welcome to fork this repository under the MIT License for your own modifications.
macOS 菜单栏网络分流工具。场景将规则绑定到线路,统一决定 DNS 与连接出口;支持 Direct、 AnyConnect、Tailscale 及 sing-box 代理协议。iOS / tvOS 共用 Go 核心。
macOS 使用 Transparent Proxy 接入 TCP、UDP 和 DNS,叠加在系统现有网络之上。
ICMP 不在其接管范围内,ping 不经过 XDial 的规则裁决。
macOS 构建需要 Xcode、XcodeGen、Go,以及 System Extension 签名环境。版本和依赖以 go.mod、Makefile 和 macOS 工程 为准。
| 入口 | 结果 |
|---|---|
make app |
构建本地 Debug 候选,不安装或启动 |
make restart |
构建、退出旧 Debug、安装并启动新 Debug,影响当前连接 |
make test |
Go 与补丁测试 |
make test-macos-transaction |
macOS 事务与构建身份测试 |
make release |
正式签名、公证和归档;参数及发布关系见更新文档 |