update platform.cpp

This commit is contained in:
MihailRis 2024-10-25 14:26:59 +03:00
parent 751cde7503
commit 74b9dd6d2f

View File

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