Skip to content

Commit

Permalink
fix: Don't automatically create directories in read-only locations
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jun 24, 2024
1 parent a5aaa60 commit 3d301c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/gui/source/init/tasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 (...) {
Expand Down

0 comments on commit 3d301c4

Please sign in to comment.