From cd39e8fd73dc82dd75503557bcc4f2e4d4a71811 Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:05:45 +0800 Subject: [PATCH] Updated How to use debug API (markdown) --- How-to-use-debug-API.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/How-to-use-debug-API.md b/How-to-use-debug-API.md index 32fa34f..75ebd45 100644 --- a/How-to-use-debug-API.md +++ b/How-to-use-debug-API.md @@ -1,22 +1,17 @@ ### Get this repo -``` +```shell git clone -b Alpha https://github.com/MetaCubeX/Clash.Meta.git clash-meta -cd clash-meta -``` - -### Apply patch -``` -git apply patch/*.patch ``` ### Build clash-meta -``` +```shell +cd clash-meta go build -o clash-meta ``` ### start clash-meta: -put your config.yaml in this directory and run: -``` +put your config.yaml in this directory, set log level to **debug** and run: +```shell ./clash-meta -d ./ ```