mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
[Bug Report Tool] Zip folder can not be created (#12966)
This commit is contained in:
@@ -299,7 +299,9 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifndef _DEBUG
|
||||
InstallationFolder::ReportStructure(reportDir);
|
||||
#endif
|
||||
|
||||
// Hide sensitive information
|
||||
HideUserPrivateInfo(reportDir);
|
||||
@@ -329,10 +331,6 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
|
||||
|
||||
// Zip folder
|
||||
auto zipPath = path::path(saveZipPath);
|
||||
std::string reportFilename{"PowerToysReport_"};
|
||||
reportFilename += timeutil::format_as_local("%F-%H-%M-%S", timeutil::now());
|
||||
reportFilename += ".zip";
|
||||
zipPath /= reportFilename;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user