[Bug Report Tool] Report installation folder structure (#12425)

* Report installation folder structure

* Hanlde case when GetModuleFileName fails

* spelling

* PR comments
This commit is contained in:
Mykhailo Pylyp
2021-07-20 10:33:00 +03:00
committed by GitHub
parent e6ffbcf315
commit 91797669ee
6 changed files with 236 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
#include "ReportMonitorInfo.h"
#include "RegistryUtils.h"
#include "EventViewer.h"
#include "InstallationFolder.h"
using namespace std;
using namespace std::filesystem;
@@ -298,6 +299,8 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
return 1;
}
InstallationFolder::ReportStructure(reportDir);
// Hide sensitive information
HideUserPrivateInfo(reportDir);