Merge pull request #4141 from chika0801/master

添加 juicity 作为自定义 core
This commit is contained in:
2dust 2023-07-30 18:26:36 +08:00 committed by GitHub
commit f2d0e37255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View file

@ -22,6 +22,7 @@
public const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat"; 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 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 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 CustomRoutingListUrl = @"https://raw.githubusercontent.com/2dust/v2rayCustomRoutingList/master/";
public const string PromotionUrl = @"aHR0cHM6Ly85LjIzNDQ1Ni54eXovYWJjLmh0bWw="; public const string PromotionUrl = @"aHR0cHM6Ly85LjIzNDQ1Ni54eXovYWJjLmh0bWw=";
@ -170,4 +171,4 @@
#endregion global variable #endregion global variable
} }
} }

View file

@ -353,8 +353,16 @@ namespace v2rayN.Handler
match = "sing-box", match = "sing-box",
versionArg = "version", versionArg = "version",
}); });
coreInfos.Add(new CoreInfo
{
coreType = ECoreType.juicity,
coreExes = new List<string> { "juicity-client", "juicity" },
arguments = "-c config.json",
coreUrl = Global.juicityCoreUrl
});
} }
#endregion Core Type #endregion Core Type
} }
} }

View file

@ -12,6 +12,7 @@
naiveproxy = 22, naiveproxy = 22,
tuic = 23, tuic = 23,
sing_box = 24, sing_box = 24,
juicity = 25,
v2rayN = 99 v2rayN = 99
} }
} }