From 335015fe2defae76b4fd22ebfe8e3614a01495b7 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 28 Apr 2024 20:27:44 +0100 Subject: hyprpm: fix for multi-user + improve directory structure --- hyprpm/src/core/PluginManager.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hyprpm/src/core/PluginManager.hpp') diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index f934d34a..a87240e3 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -60,8 +60,13 @@ class CPluginManager { bool m_bVerbose = false; + // will delete recursively if exists!! + bool createSafeDirectory(const std::string& path); + private: std::string headerError(const eHeadersErrors err); + + std::string m_szWorkingPluginDirectory = ""; }; inline std::unique_ptr g_pPluginManager; -- cgit v1.2.3