hyprpm: add duplicate header error and log more verbose in install fails
This commit is contained in:
parent
d9bc210285
commit
4190b96718
2 changed files with 28 additions and 9 deletions
|
|
@ -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<CPluginManager> g_pPluginManager;
|
||||
Loading…
Add table
Add a link
Reference in a new issue