From 128fefc63eab02cf41dae473574dde3e4d6df0cf Mon Sep 17 00:00:00 2001 From: Siddharth Date: Thu, 15 Aug 2024 04:26:15 -0400 Subject: [PATCH] Add UI helper to vpncmd on Windows --- src/vpncmd/vpncmd.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/vpncmd/vpncmd.c b/src/vpncmd/vpncmd.c index 78c28aa4..9f29b5a7 100644 --- a/src/vpncmd/vpncmd.c +++ b/src/vpncmd/vpncmd.c @@ -6,7 +6,9 @@ // VPN Command Line Management Utility #include "Cedar/Cedar.h" - +#ifdef OS_WIN32 +#include "Cedar/CMInner.h" +#endif #include "Cedar/Command.h" #include "Mayaqua/Internat.h" @@ -39,6 +41,10 @@ int main(int argc, char *argv[]) #endif InitCedar(); +#ifdef OS_WIN32 + CmExecUiHelperMain(); +#endif + s = GetCommandLineUniStr(); if (s == NULL)