summaryrefslogtreecommitdiff
path: root/hyprpm/src/core/Plugin.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-01-07 18:15:51 +0100
committervaxerski <vaxry@vaxry.net>2024-01-07 18:15:51 +0100
commit9f2bde925bde09b4820a2cef369e9ddd930a746b (patch)
tree54d33a02f7b3c52364bf6fb10a7c367df658967e /hyprpm/src/core/Plugin.hpp
parent7904188de9ca631436484cde733ef871f518d962 (diff)
hyprpm: handle failed compilations gracefully
Diffstat (limited to 'hyprpm/src/core/Plugin.hpp')
-rw-r--r--hyprpm/src/core/Plugin.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/hyprpm/src/core/Plugin.hpp b/hyprpm/src/core/Plugin.hpp
index 32c02a49..a69478d1 100644
--- a/hyprpm/src/core/Plugin.hpp
+++ b/hyprpm/src/core/Plugin.hpp
@@ -6,7 +6,8 @@
struct SPlugin {
std::string name;
std::string filename;
- bool enabled;
+ bool enabled = false;
+ bool failed = false;
};
struct SPluginRepository {