mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
🎨部分UI优化
✨NTT测试显示UDP落地IP地区代码 🐛修复大量重构后的BUG ⬆️更新IP数据库
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user