summaryrefslogtreecommitdiff
path: root/hyprpm/src/core/PluginManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-28 20:27:44 +0100
committerVaxry <vaxry@vaxry.net>2024-04-28 20:27:44 +0100
commit335015fe2defae76b4fd22ebfe8e3614a01495b7 (patch)
tree196fe4eb985aa9d4bda3c05141612b3e9916ff99 /hyprpm/src/core/PluginManager.hpp
parentf7815dab42ee570c38bd7ae85a4f2a6e36803809 (diff)
hyprpm: fix for multi-user + improve directory structure
Diffstat (limited to 'hyprpm/src/core/PluginManager.hpp')
-rw-r--r--hyprpm/src/core/PluginManager.hpp5
1 files changed, 5 insertions, 0 deletions
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<CPluginManager> g_pPluginManager;