mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
fix.修复HyperV小后门的bug
This commit is contained in:
@@ -608,6 +608,7 @@ namespace MeoAsstGui
|
||||
return false;
|
||||
}
|
||||
}
|
||||
settings.TryToSetBlueStacksHyperVAddress();
|
||||
if (settings.AdbPath.Length == 0)
|
||||
{
|
||||
error = "请选择 adb 路径";
|
||||
|
||||
@@ -57,7 +57,6 @@ namespace MeoAsstGui
|
||||
|
||||
InfrastInit();
|
||||
ToastPositionInit();
|
||||
TryToSetBlueStacksHyperVAddress();
|
||||
}
|
||||
|
||||
private List<string> _listTitle = new List<string>();
|
||||
@@ -1011,6 +1010,8 @@ namespace MeoAsstGui
|
||||
ConnectConfig = emulators.First();
|
||||
AdbPath = adapter.GetAdbPathByEmulatorName(ConnectConfig) ?? AdbPath;
|
||||
UpdateAddressByConfig();
|
||||
TryToSetBlueStacksHyperVAddress();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1048,7 +1049,6 @@ namespace MeoAsstGui
|
||||
{
|
||||
if (bluestacksConfig.Length == 0)
|
||||
{
|
||||
ViewStatusStorage.Set("Bluestacks.Config.Path", "");
|
||||
return;
|
||||
}
|
||||
if (!File.Exists(bluestacksConfig))
|
||||
|
||||
Reference in New Issue
Block a user