diff --git a/CMakeLists.txt b/CMakeLists.txt index c0d3af7..80a8395 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.21) -project(venmic LANGUAGES CXX VERSION 2.1.0) +project(venmic LANGUAGES CXX VERSION 2.1.1) # -------------------------------------------------------------------------------------------------------- # Library options diff --git a/src/logger.cpp b/src/logger.cpp index 155ce74..8192db3 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -19,7 +19,7 @@ namespace vencord if (auto home = std::getenv("HOME")) { - rtn = home / ".local" / "state"; + rtn = fs::path{home} / ".local" / "state"; } if (auto state_home = std::getenv("XDG_STATE_HOME"))