add arm64 download path for core

This commit is contained in:
liqi 2023-04-07 18:13:37 +08:00 committed by kidfruit
parent fca062f75a
commit 181dfd2f51
2 changed files with 6 additions and 0 deletions

BIN
.vs/v2rayN-arm/v17/.wsuo Normal file

Binary file not shown.

View file

@ -466,6 +466,12 @@ namespace v2rayN.Handler
{ {
url = string.Format(coreInfo.coreDownloadUrl32, version); url = string.Format(coreInfo.coreDownloadUrl32, version);
} }
if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64)
{
url = string.Format(coreInfo.coreDownloadUrlArm64, version);
}
break; break;
} }
case ECoreType.v2rayN: case ECoreType.v2rayN: