update platform.cpp

This commit is contained in:
MihailRis 2024-10-25 14:43:31 +03:00
parent 74b9dd6d2f
commit 87e3247ecf

View File

@ -57,7 +57,7 @@ void platform::open_folder(const std::filesystem::path& folder) {
#ifdef __APPLE__
auto cmd = "open "+util::quote(folder.u8string());
#elif defined(_WIN32)
auto cmd = "explorer "+util::quote(folder.u8string());
auto cmd = "start explorer "+util::quote(folder.u8string());
#else
auto cmd = "xdg-open "+util::quote(folder.u8string());
#endif