mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 01:59:33 +08:00
feat: fallback to General config
This commit is contained in:
@@ -705,7 +705,11 @@ bool asst::AdbController::connect(
|
||||
{ "why", "ConfigNotFound" },
|
||||
};
|
||||
callback(AsstMsg::ConnectionInfo, info);
|
||||
#ifdef ASST_DEBUG
|
||||
return false;
|
||||
#endif
|
||||
Log.error("config ", config, "not found");
|
||||
adb_ret = Config.get_adb_cfg("General");
|
||||
}
|
||||
|
||||
const auto& adb_cfg = adb_ret.value();
|
||||
|
||||
Reference in New Issue
Block a user