mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 10:59:53 +03:00
Merge PR #1287: Cedar/WinUi.c: Remove reference to "vpncmd_x64.exe" and "vpncmd_ia64.exe"
This commit is contained in:
commit
42dbfb7c7e
@ -2302,19 +2302,7 @@ void ShowTcpIpConfigUtil(HWND hWnd, bool util_mode)
|
||||
|
||||
GetExeDirW(exedir, sizeof(exedir));
|
||||
|
||||
if (IsX64())
|
||||
{
|
||||
UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd_x64.exe", exedir);
|
||||
}
|
||||
else if (IsIA64())
|
||||
{
|
||||
UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd_ia64.exe", exedir);
|
||||
}
|
||||
else
|
||||
{
|
||||
UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd.exe", exedir);
|
||||
}
|
||||
|
||||
UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd.exe", exedir);
|
||||
if (IsFileW(tmp))
|
||||
{
|
||||
RunW(tmp, L"/tool /cmd:exit", true, false);
|
||||
|
Loading…
Reference in New Issue
Block a user