Add core hysteria2

pull/4409/head
2dust 2023-11-16 20:08:17 +08:00
parent 74332c58c5
commit f4dd970f5e
2 changed files with 14 additions and 0 deletions

View File

@ -361,6 +361,19 @@ namespace v2rayN.Handler
arguments = "run -c config.json",
coreUrl = Global.juicityCoreUrl
});
coreInfos.Add(new CoreInfo
{
coreType = ECoreType.hysteria2,
coreExes = new List<string> { "hysteria-windows-amd64", "hysteria-windows-386", "hysteria" },
arguments = "",
coreUrl = Global.hysteriaCoreUrl,
coreReleaseApiUrl = Global.hysteriaCoreUrl.Replace(Global.githubUrl, Global.githubApiUrl),
coreDownloadUrl32 = Global.hysteriaCoreUrl + "/download/{0}/hysteria-windows-386.exe",
coreDownloadUrl64 = Global.hysteriaCoreUrl + "/download/{0}/hysteria-windows-amd64.exe",
coreDownloadUrlArm64 = Global.hysteriaCoreUrl + "/download/{0}/hysteria-windows-arm64.exe",
redirectInfo = true,
});
}
#endregion Core Type

View File

@ -13,6 +13,7 @@
tuic = 23,
sing_box = 24,
juicity = 25,
hysteria2 = 26,
v2rayN = 99
}
}