mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-15 03:27:35 +01:00
Attempt to mitigate #416
This commit is contained in:
parent
a9ec6031d2
commit
d7885414f2
@ -27,6 +27,7 @@ Tested on build 22000.348.
|
||||
* File Explorer is restarted unelevated when servicing the application (#528) (.7)
|
||||
* Reliability improvements for File Explorer restarts (#529) (.7)
|
||||
* When changing the main taskbar position and restarting File Explorer, the new position is now correctly saved and applied when File Explorer restarts (#523) (.7)
|
||||
* Mitigation for the issue described in #416 (.7)
|
||||
|
||||
#### Simple Window Switcher
|
||||
|
||||
|
@ -6847,6 +6847,14 @@ HRESULT EntryPoint(DWORD dwMethod)
|
||||
);
|
||||
CloseHandle(hProcess);
|
||||
|
||||
TCHAR wszSearchIndexerPath[MAX_PATH];
|
||||
GetSystemDirectoryW(wszSearchIndexerPath, MAX_PATH);
|
||||
wcscat_s(wszSearchIndexerPath, MAX_PATH, L"\\SearchIndexer.exe");
|
||||
if (!_wcsicmp(exePath, wszSearchIndexerPath))
|
||||
{
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
TCHAR wszExplorerExpectedPath[MAX_PATH];
|
||||
GetWindowsDirectoryW(wszExplorerExpectedPath, MAX_PATH);
|
||||
wcscat_s(wszExplorerExpectedPath, MAX_PATH, L"\\explorer.exe");
|
||||
|
Loading…
Reference in New Issue
Block a user