mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-27 17:00:59 +01:00
Setup: Fixed /extract
switch to extract ep_startmenu
library
This commit is contained in:
parent
371729ccd6
commit
43acfc1235
@ -517,6 +517,19 @@ int WINAPI wWinMain(
|
||||
wcscat_s(wszPath, MAX_PATH, L"\\WebView2Loader.dll");
|
||||
bOk = InstallResource(TRUE, hInstance, IDR_MS_WEBVIEW2_LOADER, 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"\\wincorlib.dll");
|
||||
bOk = InstallResource(TRUE, hInstance, IDR_EP_STARTMENU, wszPath);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user