mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-04 21:38:03 +02:00
fix
This commit is contained in:
parent
1bfce2af12
commit
e36d6ca093
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0
|
|||
|
||||
find_package(glaze QUIET)
|
||||
if (NOT glaze_FOUND)
|
||||
set(GLAZE_VERSION v5.1.1)
|
||||
set(GLAZE_VERSION v6.1.0)
|
||||
message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ SHyprlandVersion CPluginManager::getHyprlandVersion(bool running) {
|
|||
|
||||
const auto HLVERCALL = running ? NHyprlandSocket::send("j/version") : execAndGet("Hyprland --version-json");
|
||||
|
||||
auto jsonQuery = glz::read_json<glz::json_t>(HLVERCALL);
|
||||
auto jsonQuery = glz::read_json<glz::generic>(HLVERCALL);
|
||||
|
||||
if (!jsonQuery) {
|
||||
std::println("{}", failureString("failed to get the current hyprland version. Are you running hyprland?"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue