mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-29 19:42:51 +00:00
Compare commits
No commits in common. "8381fefb787ebbc3eabc7a821ef5212f5e3b7429" and "3a4a96f87a22d216ef862649313e4635aaf2d204" have entirely different histories.
8381fefb78
...
3a4a96f87a
2 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>7.12.2</Version>
|
<Version>7.12.1</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
||||||
|
|
@ -248,12 +248,12 @@ public class UpdateService
|
||||||
var downloadHandle = new DownloadService();
|
var downloadHandle = new DownloadService();
|
||||||
var time = await downloadHandle.RunAvailabilityCheck(null);
|
var time = await downloadHandle.RunAvailabilityCheck(null);
|
||||||
var ip = Global.None;
|
var ip = Global.None;
|
||||||
//if (time > 0)
|
if (time > 0)
|
||||||
//{
|
{
|
||||||
// var result = await downloadHandle.TryDownloadString(Global.IPAPIUrl, true, Global.IPAPIUrl);
|
var result = await downloadHandle.TryDownloadString(Global.IPAPIUrl, true, Global.IPAPIUrl);
|
||||||
// var ipInfo = JsonUtils.Deserialize<IPAPIInfo>(result);
|
var ipInfo = JsonUtils.Deserialize<IPAPIInfo>(result);
|
||||||
// ip = $"({ipInfo?.country_code}) {ipInfo?.ip}";
|
ip = $"({ipInfo?.country_code}) {ipInfo?.ip}";
|
||||||
//}
|
}
|
||||||
|
|
||||||
return string.Format(ResUI.TestMeOutput, time, ip);
|
return string.Format(ResUI.TestMeOutput, time, ip);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue