mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
fix: config folder is not created automatically
This commit is contained in:
parent
9c70623aab
commit
2bd10b2456
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ void EnginePaths::prepare() {
|
||||||
if (!fs::is_directory(exportFolder)) {
|
if (!fs::is_directory(exportFolder)) {
|
||||||
fs::create_directories(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 {
|
std::filesystem::path EnginePaths::getUserFilesFolder() const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue