优化截图的逻辑

This commit is contained in:
MistEO
2021-09-13 00:03:02 +08:00
parent 3d9dad8e07
commit 17bb6b4b07
2 changed files with 2 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ bool AbstractTask::print_window(const std::string& dir)
//bool ret = cv::imwrite(filename.c_str(), image);
m_controller_ptr->get_image(true);
// 直接把Adb上次pull出来的拷贝过去就行了
std::filesystem::copy(m_controller_ptr->ScreenFilename, filename);