1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 02:49:52 +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:
Davide Beatrici 2021-03-01 04:26:14 +01:00
parent 3d69a71d9b
commit 65483499bf

View File

@ -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);