mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 fix cmake build
This commit is contained in:
parent
cc4d343e2b
commit
09c966b0ff
@ -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
|
||||
)
|
||||
|
@ -441,9 +441,11 @@ bool handle_connection() noexcept {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef NDEVENV
|
||||
if (connected) {
|
||||
utils::exec("yes | pacman -Sy --noconfirm", true);
|
||||
}
|
||||
#endif
|
||||
|
||||
return connected;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user