ep_setup /extract extracts all components
This commit is contained in:
@@ -372,6 +372,19 @@ int WINAPI wWinMain(
|
||||
wcscat_s(wszPath, MAX_PATH, L"\\ep_weather_host_stub.dll");
|
||||
bOk = InstallResource(TRUE, hInstance, IDR_EP_WEATHER_STUB, wszPath);
|
||||
}
|
||||
if (argc >= 2)
|
||||
{
|
||||
wcsncpy_s(wszPath, MAX_PATH, wargv[1], MAX_PATH);
|
||||
}
|
||||
else
|
||||
{
|
||||
GetCurrentDirectoryW(MAX_PATH, wszPath);
|
||||
}
|
||||
if (bOk)
|
||||
{
|
||||
wcscat_s(wszPath, MAX_PATH, L"\\WebView2Loader.dll");
|
||||
bOk = InstallResource(TRUE, hInstance, IDR_MS_WEBVIEW2_LOADER, wszPath);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user