mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-24 22:30:05 +01:00
hyprpm: make temp root if not present
This commit is contained in:
parent
5648077978
commit
059ec60e9f
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