mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add platform::get_executable_path (#638)
This commit is contained in:
parent
ecd95967c4
commit
b14bad5d24
5 changed files with 88 additions and 8 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <stack>
|
||||
#include "typedefs.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "util/platform.hpp"
|
||||
#include <utility>
|
||||
|
||||
#include "io/devices/StdfsDevice.hpp"
|
||||
|
|
@ -44,6 +45,7 @@ void EnginePaths::prepare() {
|
|||
resourcesFolder.string() + " is not a directory"
|
||||
);
|
||||
}
|
||||
logger.info() << "executable path: " << platform::get_executable_path().string();
|
||||
logger.info() << "resources folder: " << fs::canonical(resourcesFolder).u8string();
|
||||
logger.info() << "user files folder: " << fs::canonical(userFilesFolder).u8string();
|
||||
logger.info() << "project folder: " << fs::canonical(projectFolder).u8string();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue