This commit is contained in:
Vaxry 2024-02-01 16:11:27 +00:00
parent 81d26cf4d2
commit d0bfa567a8
1 changed files with 1 additions and 1 deletions

View File

@ -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