Initial release v0.1.0

This commit is contained in:
Lihatoo 2026-08-21 18:34:18 +08:00
commit b997bd6078
62 changed files with 56224 additions and 0 deletions

View file

@ -0,0 +1,9 @@
Place the downloaded Mihomo binary in this directory as `mihomo`, make it executable, and replace `REPLACE_WITH_REAL_VERSION` in `core.toml`.
Then import it with:
```bash
tz core add ./examples/cores/mihomo
```
The example manifest targets Linux x86_64. Adjust `arch` for the current Rust target architecture when needed.

View file

@ -0,0 +1,30 @@
schema_version = 1
[core]
name = "mihomo"
family = "clash"
version = "REPLACE_WITH_REAL_VERSION"
binary = "mihomo"
os = "linux"
arch = "x86_64"
[runtime]
entrypoint = "config.yaml"
format = "yaml"
[capabilities.config]
mixed_proxy = true
http_proxy = true
socks_proxy = true
api = true
dns = true
tun = true
[commands.start]
args = ["-d", "{workdir}", "-f", "{config}"]
[commands.check]
args = ["-t", "-d", "{workdir}", "-f", "{config}"]
[commands.version]
args = ["-v"]