From ae45b1ef44869288bf16b6457dc59900b85ef54e Mon Sep 17 00:00:00 2001 From: chika0801 <88967758+chika0801@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:33:11 +0800 Subject: [PATCH 1/3] Update Global.cs --- v2rayN/v2rayN/Global.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/Global.cs b/v2rayN/v2rayN/Global.cs index 5c296639..4af96a07 100644 --- a/v2rayN/v2rayN/Global.cs +++ b/v2rayN/v2rayN/Global.cs @@ -22,6 +22,7 @@ public const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat"; public const string singboxGeoUrl = "https://github.com/soffchen/sing-{0}/releases/latest/download/{0}.db"; public const string SpeedPingTestUrl = @"https://www.google.com/generate_204"; + public const string juicityCoreUrl = "https://github.com/juicity/juicity/releases"; public const string CustomRoutingListUrl = @"https://raw.githubusercontent.com/2dust/v2rayCustomRoutingList/master/"; public const string PromotionUrl = @"aHR0cHM6Ly85LjIzNDQ1Ni54eXovYWJjLmh0bWw="; @@ -170,4 +171,4 @@ #endregion global variable } -} \ No newline at end of file +} From 4aeec1caa19a6b037e15eac148169c1ffd644329 Mon Sep 17 00:00:00 2001 From: chika0801 <88967758+chika0801@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:36:48 +0800 Subject: [PATCH 2/3] add juicity --- v2rayN/v2rayN/Handler/LazyConfig.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/Handler/LazyConfig.cs b/v2rayN/v2rayN/Handler/LazyConfig.cs index 1bf629f1..08f416c0 100644 --- a/v2rayN/v2rayN/Handler/LazyConfig.cs +++ b/v2rayN/v2rayN/Handler/LazyConfig.cs @@ -353,8 +353,16 @@ namespace v2rayN.Handler match = "sing-box", versionArg = "version", }); + + coreInfos.Add(new CoreInfo + { + coreType = ECoreType.juicity, + coreExes = new List { "juicity-client", "juicity" }, + arguments = "-c config.json", + coreUrl = Global.juicityCoreUrl + }); } #endregion Core Type } -} \ No newline at end of file +} From 9560851a3f638832bf7e08b6ec0d920ca420a320 Mon Sep 17 00:00:00 2001 From: chika0801 <88967758+chika0801@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:37:44 +0800 Subject: [PATCH 3/3] add juicity --- v2rayN/v2rayN/Mode/ECoreType.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/Mode/ECoreType.cs b/v2rayN/v2rayN/Mode/ECoreType.cs index 930ee512..2f20ed0b 100644 --- a/v2rayN/v2rayN/Mode/ECoreType.cs +++ b/v2rayN/v2rayN/Mode/ECoreType.cs @@ -12,6 +12,7 @@ naiveproxy = 22, tuic = 23, sing_box = 24, + juicity = 25, v2rayN = 99 } -} \ No newline at end of file +}