mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: config folder is not created automatically
This commit is contained in:
parent
d7e2eaed7c
commit
6a2d17eaf5
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ void EnginePaths::prepare() {
|
|||
if (!fs::is_directory(exportFolder)) {
|
||||
fs::create_directories(exportFolder);
|
||||
}
|
||||
auto configFolder = userFilesFolder / CONFIG_FOLDER;
|
||||
if (!fs::is_directory(configFolder)) {
|
||||
fs::create_directories(configFolder);
|
||||
}
|
||||
}
|
||||
|
||||
std::filesystem::path EnginePaths::getUserFilesFolder() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue