Compare commits

...

2 Commits

Author SHA1 Message Date
WerWolv
495255484e build: Bumped version to 1.35.1 2024-06-29 18:50:10 +02:00
WerWolv
b92b0922d5 fix: Default folders not being created correctly anymore 2024-06-29 18:50:01 +02:00
2 changed files with 4 additions and 3 deletions

View File

@@ -1 +1 @@
1.35.0
1.35.1

View File

@@ -36,9 +36,10 @@ namespace hex::init {
// Try to create all default directories
for (auto path : paths::All) {
for (auto &folder : path->write()) {
for (auto &folder : path->all()) {
try {
wolv::io::fs::createDirectories(folder);
if (hex::fs::isPathWritable(folder.parent_path()))
wolv::io::fs::createDirectories(folder);
} catch (...) {
log::error("Failed to create folder {}!", wolv::util::toUTF8String(folder));
result = false;