1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 02:49:52 +03:00

Merge PR #1287: Cedar/WinUi.c: Remove reference to "vpncmd_x64.exe" and "vpncmd_ia64.exe"

This commit is contained in:
Davide Beatrici 2021-03-01 04:45:30 +01:00 committed by GitHub
commit 42dbfb7c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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