mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-29 19:34:47 +00:00
hyprpm: make temp root if not present
This commit is contained in:
parent
df590f61e3
commit
948b472269
@ -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…
x
Reference in New Issue
Block a user