diff options
Diffstat (limited to 'hyprpm/src/core/DataState.cpp')
| -rw-r--r-- | hyprpm/src/core/DataState.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hyprpm/src/core/DataState.cpp b/hyprpm/src/core/DataState.cpp index 623395b1..131146a1 100644 --- a/hyprpm/src/core/DataState.cpp +++ b/hyprpm/src/core/DataState.cpp @@ -18,6 +18,9 @@ static std::string getTempRoot() { const auto STR = ENV + std::string{"/hyprpm/"}; + if (!std::filesystem::exists(STR)) + mkdir(STR.c_str(), S_IRWXU); + return STR; } |
