chore: mumu 使用 7555 端口时禁用 Index 检测,添加日志警告

This commit is contained in:
uye
2025-08-24 10:49:06 +08:00
parent d6fbfaea53
commit 6a58d350c6
2 changed files with 8 additions and 0 deletions

View File

@@ -215,6 +215,10 @@ int asst::AdbController::get_mumu_index(const std::string& address)
if (port >= 16384) {
mumu_index = (port - 16384) / 32;
}
else if (port == 7555) {
mumu_index = 0;
LogWarn << "Port 7555 is deprecated for MuMu6, please use 16384 or above.";
}
else if (port >= 5555) {
mumu_index = (port - 5555) / 2;
}