diff --git a/src/client/updater/file_updater.cpp b/src/client/updater/file_updater.cpp index 2de1c384..bee3cf86 100644 --- a/src/client/updater/file_updater.cpp +++ b/src/client/updater/file_updater.cpp @@ -5,6 +5,7 @@ #include "file_updater.hpp" #include +#include #include #include #include @@ -271,7 +272,7 @@ namespace updater bool file_updater::is_outdated_file(const file_info& file) const { #if !defined(NDEBUG) || !defined(CI) - if (file.name == UPDATE_HOST_BINARY) + if (file.name == UPDATE_HOST_BINARY && !utils::flags::has_flag("update")) { return false; }