Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Files.App.Launcher/FilesLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,14 @@ bool OpenInExistingShellWindow(const TCHAR* folderPath)
{
std::wstring openDirectory(folderPath);
bool mustOpenInExplorer = false;
constexpr auto godModeClsid = L"{ED7BA470-8E54-465E-825C-99712043E01C}";

if (strifind(openDirectory, L"::{") == 0)
openDirectory = L"shell:" + openDirectory;

if (strifind(openDirectory, godModeClsid) != std::wstring::npos)
mustOpenInExplorer = true;

if (strifind(openDirectory, L"shell:") == 0)
{
std::vector<std::wstring> supportedShellFolders{
Expand Down
Loading