update to 6.36

This commit is contained in:
NimaZare 2024-02-18 11:53:10 +03:30
parent 1b118ea911
commit 8e7af51421
3 changed files with 6 additions and 3 deletions

View file

@ -12,6 +12,7 @@ namespace v2rayN.Handler
public static LazyConfig Instance => _instance.Value;
private int? _statePort;
public int StatePort
{
get
@ -349,7 +350,7 @@ namespace v2rayN.Handler
{
coreType = ECoreType.mihomo,
coreExes = new List<string> { $"mihomo-windows-amd64{(Avx2.X64.IsSupported ? "" : "-compatible")}", "mihomo-windows-amd64-compatible", "mihomo-windows-amd64", "mihomo-windows-386", "mihomo", "clash" },
arguments = "-f config.yaml",
arguments = "-f config.json",
coreUrl = Global.MihomoCoreUrl,
coreReleaseApiUrl = Global.MihomoCoreUrl.Replace(Global.GithubUrl, Global.GithubApiUrl),
match = "Mihomo",

View file

@ -54,7 +54,7 @@ namespace v2rayN.Handler
StartInfo = new ProcessStartInfo
{
FileName = "v2rayUpgrade.exe",
Arguments = fileName.AppendQuotes(),
Arguments = fileName.AppendQuotes(),
WorkingDirectory = Utile.StartupPath()
}
};
@ -392,6 +392,7 @@ namespace v2rayN.Handler
case ECoreType.clash:
case ECoreType.clash_meta:
case ECoreType.mihomo:
version = Regex.Match(echo, $"v[0-9.]+").Groups[0].Value;
break;
@ -453,6 +454,7 @@ namespace v2rayN.Handler
}
case ECoreType.clash:
case ECoreType.clash_meta:
case ECoreType.mihomo:
{
curVersion = getCoreVersion(type);
message = string.Format(ResUI.IsLatestCore, type, curVersion);

View file

@ -10,7 +10,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationIcon>v2rayN.ico</ApplicationIcon>
<Copyright>Copyright © 2017-2024 (GPLv3)</Copyright>
<FileVersion>6.35</FileVersion>
<FileVersion>6.36</FileVersion>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
</PropertyGroup>