fix.简单修复一下截图转发端口获取不正确的问题

This commit is contained in:
MistEO
2022-06-07 02:39:11 +08:00
parent b70caf29da
commit f951b48aac
5 changed files with 31 additions and 17 deletions

View File

@@ -48,6 +48,7 @@ bool asst::GeneralConfiger::parse(const json::value& json)
adb.display_format = cfg_json.at("displayFormat").as_string();
adb.screencap_raw_with_gzip = cfg_json.at("screencapRawWithGzip").as_string();
adb.screencap_raw_by_nc = cfg_json.at("screencapRawByNC").as_string();
adb.nc_address = cfg_json.at("ncAddress").as_string();
adb.nc_port = static_cast<unsigned short>(cfg_json.at("ncPort").as_integer());
adb.screencap_encode = cfg_json.at("screencapEncode").as_string();
adb.release = cfg_json.at("release").as_string();