ENH: liveview remote protocols with agora

Change-Id: Id86aa4bfa5f5e09675a6fe627668c63d20c7d1bf
Jira: none
(cherry picked from commit 46eba0048b73f1741b4b7b57f788830c08a8d7f1)
This commit is contained in:
chunmao.guo authored and Noisyfox committed 2025-01-23 10:13:24 +08:00
1 parent 8b33119640
commit 6385a4d170
15 files changed
+87 -54

No files matched your search

+5 -3
View File
@@ -1024,9 +1024,11 @@ void GUI_App::post_init()
for (auto& it : boost::filesystem::directory_iterator(log_folder)) {
auto temp_path = it.path();
try {
std::time_t lw_t = boost::filesystem::last_write_time(temp_path) ;
files_vec.push_back({ lw_t, temp_path.filename().string() });
} catch (const std::exception &) {
if (it.status().type() == boost::filesystem::regular_file) {
std::time_t lw_t = boost::filesystem::last_write_time(temp_path) ;
files_vec.push_back({ lw_t, temp_path.filename().string() });
}
} catch (const std::exception &ex) {
}
}
std::sort(files_vec.begin(), files_vec.end(), [](