PR Review comments
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "OS.h"
|
||||
|
||||
#include <chrono>
|
||||
#include "String.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace Nuake;
|
||||
@@ -11,7 +10,7 @@ int OS::GetTime()
|
||||
return static_cast<int>(std::chrono::system_clock::now().time_since_epoch().count());
|
||||
}
|
||||
|
||||
void OS::OpenInFileExplorer(const std::string& filePath)
|
||||
void OS::ShowInFileExplorer(const std::string& filePath)
|
||||
{
|
||||
ShellExecuteA(nullptr, "open", "explorer.exe", ("/select," + std::string(filePath)).c_str(), nullptr, SW_SHOWDEFAULT);
|
||||
}
|
||||
Reference in New Issue
Block a user