diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fdf639..7806d32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,6 +96,8 @@ add_executable(${PROJECT_NAME} add_executable(test-exec-interactive src/config.cpp src/config.hpp src/utils.cpp src/utils.hpp + src/widgets.cpp src/widgets.hpp + src/follow_process_log.hpp src/follow_process_log.cpp src/tui.cpp src/tui.hpp src/main_test.cpp ) diff --git a/src/utils.cpp b/src/utils.cpp index 8ff8c35..8e2504a 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -441,9 +441,11 @@ bool handle_connection() noexcept { } } +#ifdef NDEVENV if (connected) { utils::exec("yes | pacman -Sy --noconfirm", true); } +#endif return connected; }