From 55a8b9085edf5f262191d8720973ed9f562dbc5b Mon Sep 17 00:00:00 2001 From: chika0801 <88967758+chika0801@users.noreply.github.com> Date: Mon, 19 Sep 2022 22:56:15 +0800 Subject: [PATCH] add sing-box support --- v2rayN/v2rayN/Handler/LazyConfig.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/v2rayN/v2rayN/Handler/LazyConfig.cs b/v2rayN/v2rayN/Handler/LazyConfig.cs index b26f9dea..2c42d0c8 100644 --- a/v2rayN/v2rayN/Handler/LazyConfig.cs +++ b/v2rayN/v2rayN/Handler/LazyConfig.cs @@ -181,6 +181,14 @@ namespace v2rayN.Handler arguments = "-c config.json", coreUrl = Global.tuicCoreUrl }); + + coreInfos.Add(new CoreInfo + { + coreType = ECoreType.sing-box, + coreExes = new List { "sing-box-client", "sing-box" }, + arguments = "-c config.json", + coreUrl = Global.sing-boxCoreUrl + }); } }