fix: Don't automatically create directories in read-only locations
Fixes #1767
This commit is contained in:
parent
a5aaa60d29
commit
3d301c4202
@ -36,7 +36,7 @@ namespace hex::init {
|
||||
|
||||
// Try to create all default directories
|
||||
for (auto path : paths::All) {
|
||||
for (auto &folder : path->all()) {
|
||||
for (auto &folder : path->write()) {
|
||||
try {
|
||||
wolv::io::fs::createDirectories(folder);
|
||||
} catch (...) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user