mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 05:10:20 +01:00
hyprpm: make temp root if not present
This commit is contained in:
parent
df590f61e3
commit
948b472269
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue