From d0bfa567a89e8023898413a057e50dbb93b73bc5 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 1 Feb 2024 16:11:27 +0000 Subject: [PATCH] oopsie --- hyprpm/src/core/PluginManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index c976d674..49e2a3bf 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -285,7 +285,7 @@ bool CPluginManager::removePluginRepo(const std::string& urlOrName) { eHeadersErrors CPluginManager::headersValid() { const auto HLVER = getHyprlandVersion(); - if (!std::filesystem::exists("/home/vaxry/.local/share/hyprpm/headersRoot/share/pkgconfig/hyprland.pc")) + if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc")) return HEADERS_MISSING; // find headers commit