Add: Support BlueStacks Hyper-V Android 11 (Rvc64)

This commit is contained in:
LmeSzinc 2023-06-12 10:39:08 +08:00
parent 012fffbb31
commit 26dc151503

View File

@ -172,9 +172,9 @@ class ConnectionAttr:
logger.info("Reading Realtime adb port")
if serial == "bluestacks5-hyperv":
parameter_name = r"bst\.instance\.(Nougat64|Pie64)\.status\.adb_port"
parameter_name = r"bst\.instance\.(Nougat64|Pie64|Rvc64)\.status\.adb_port"
else:
parameter_name = rf"bst\.instance\.(Nougat64|Pie64)_{serial[19:]}\.status.adb_port"
parameter_name = rf"bst\.instance\.(Nougat64|Pie64|Rvc64)_{serial[19:]}\.status.adb_port"
try:
with OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\BlueStacks_nxt") as key: