mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 10:59:53 +03:00
Cedar/WinUi.c: Remove reference to "vpncmd_x64.exe" and "vpncmd_ia64.exe"
It was missed in a3eb115b0a
.
This commit is contained in:
parent
3d69a71d9b
commit
65483499bf
@ -2302,19 +2302,7 @@ void ShowTcpIpConfigUtil(HWND hWnd, bool util_mode)
|
|||||||
|
|
||||||
GetExeDirW(exedir, sizeof(exedir));
|
GetExeDirW(exedir, sizeof(exedir));
|
||||||
|
|
||||||
if (IsX64())
|
UniFormat(tmp, sizeof(tmp), L"%s\\vpncmd.exe", exedir);
|
||||||
{
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (IsFileW(tmp))
|
if (IsFileW(tmp))
|
||||||
{
|
{
|
||||||
RunW(tmp, L"/tool /cmd:exit", true, false);
|
RunW(tmp, L"/tool /cmd:exit", true, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user