From 4190b967186e50d00ea3dc636e9f3ec40639dd03 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 13 Dec 2023 02:32:57 +0000 Subject: hyprpm: add duplicate header error and log more verbose in install fails --- hyprpm/src/core/PluginManager.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hyprpm/src/core/PluginManager.hpp') diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index dcf890d6..3c5c7c5c 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -9,6 +9,7 @@ enum eHeadersErrors { HEADERS_MISSING, HEADERS_CORRUPTED, HEADERS_MISMATCHED, + HEADERS_DUPLICATED }; enum eNotifyIcons { @@ -54,6 +55,9 @@ class CPluginManager { void notify(const eNotifyIcons icon, uint32_t color, int durationMs, const std::string& message); bool m_bVerbose = false; + + private: + std::string headerError(const eHeadersErrors err); }; inline std::unique_ptr g_pPluginManager; \ No newline at end of file -- cgit v1.2.3