Skip to content

增加mumu模拟器桥接支持 #505

Description

@kyuubee

你的功能请求是否与问题有关?

mumu在使用桥接模式的时候 会有特殊的网络端口 (5555) 需要连接ip:5555
当前模式下ap会根据端口判断这是哪种模拟器 导致截图方案出现差异 进而出现主界面识别失败

解决方案

当前的我凑活的方案是修改connection_attr.py 把5555端口硬识别未mumu12

@cached_property
def is_mumu12_family(self):
    # 127.0.0.1:16384 + 32*n, assume 32 instances at max
    return 16384 <= self.port <= 17408 or self.port == 5555

能否在连接配置界面上增加一个桥接选项 桥接模式下根据各个模拟器的端口重新判定这是什么模拟器 而不是上面这种硬编码

其他内容

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions