mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
warning if open directory does not exist
This commit is contained in:
parent
e24d1bdb9c
commit
e184404ff8
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ int platform::get_process_id() {
|
|||
|
||||
void platform::open_folder(const std::filesystem::path& folder) {
|
||||
if (!std::filesystem::is_directory(folder)) {
|
||||
logger.warning() << folder << " is not a directory or does not exist";
|
||||
return;
|
||||
}
|
||||
#ifdef __APPLE__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue