fix: fix smoking-test

This commit is contained in:
uye
2024-08-02 14:37:31 +08:00
parent 920d5735f8
commit bc1c01a1bc
2 changed files with 4 additions and 2 deletions

View File

@@ -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();

View File

@@ -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();