mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
chore: mumu 使用 7555 端口时禁用 Index 检测,添加日志警告
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user