mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
update platform.cpp
This commit is contained in:
parent
74b9dd6d2f
commit
87e3247ecf
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = "explorer "+util::quote(folder.u8string());
|
auto cmd = "start 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue