fix: 修复连接信息uuid为空的问题,并修复一个命名问题

This commit is contained in:
MistEO
2022-07-23 00:18:51 +08:00
parent 8b6e612f14
commit dedd186a0f
5 changed files with 8 additions and 6 deletions

View File

@@ -1001,7 +1001,7 @@ bool asst::Controller::connect(const std::string& adb_path, const std::string& a
json::value info = get_info_json() |
json::object{
{ "what", "UuidGetted" },
{ "what", "UuidGot" },
{ "why", "" }
};
info["details"]["uuid"] = m_uuid;
@@ -1061,7 +1061,7 @@ bool asst::Controller::connect(const std::string& adb_path, const std::string& a
json::value info = get_info_json() |
json::object{
{ "what", "ResolutionGetted" },
{ "what", "ResolutionGot" },
{ "why", "" }
};