🎨部分UI优化

NTT测试显示UDP落地IP地区代码
🐛修复大量重构后的BUG
⬆️更新IP数据库
This commit is contained in:
AmazingDM
2020-07-14 15:15:56 +08:00
parent 13ed6256d1
commit 116b8de135
7 changed files with 89 additions and 42 deletions

View File

@@ -30,9 +30,6 @@ namespace Netch.Controllers
{
MainFile = "Redirector";
InitCheck();
// 驱动版本
_systemDriverVersion = FileVersionInfo.GetVersionInfo(_driverPath).FileVersion;
// 生成系统版本
var winNTver = $"{Environment.OSVersion.Version.Major.ToString()}.{Environment.OSVersion.Version.Minor.ToString()}";
var driverName = "";
@@ -56,6 +53,13 @@ namespace Netch.Controllers
}
_binDriverPath = "bin\\" + driverName;
if (!File.Exists(_driverPath))
{
InstallDriver();
}
// 驱动版本
_systemDriverVersion = FileVersionInfo.GetVersionInfo(_driverPath).FileVersion;
}
/// <summary>