mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
fix: crash
This commit is contained in:
@@ -166,6 +166,12 @@ bool asst::Controller::connect(const std::string& adb_path, const std::string& a
|
||||
|
||||
m_uuid = m_controller->get_uuid();
|
||||
|
||||
#ifdef ASST_DEBUG
|
||||
if (config == "DEBUG") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
// try to find the fastest way
|
||||
if (!screencap()) {
|
||||
Log.error("Cannot find a proper way to screencap!");
|
||||
|
||||
Reference in New Issue
Block a user