mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: fix smoking-test
This commit is contained in:
@@ -707,9 +707,10 @@ bool asst::AdbController::connect(
|
||||
callback(AsstMsg::ConnectionInfo, info);
|
||||
#ifdef ASST_DEBUG
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
Log.error("config ", config, "not found");
|
||||
adb_ret = Config.get_adb_cfg("General");
|
||||
#endif
|
||||
}
|
||||
|
||||
const auto& adb_cfg = adb_ret.value();
|
||||
|
||||
@@ -376,9 +376,10 @@ bool asst::MinitouchController::connect(const std::string& adb_path, const std::
|
||||
callback(AsstMsg::ConnectionInfo, info);
|
||||
#ifdef ASST_DEBUG
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
Log.error("config ", config, "not found");
|
||||
adb_ret = Config.get_adb_cfg("General");
|
||||
#endif
|
||||
}
|
||||
|
||||
const auto& adb_cfg = adb_ret.value();
|
||||
|
||||
Reference in New Issue
Block a user