mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
feat.不用用雷电,会变得不幸.jpg
This commit is contained in:
@@ -607,6 +607,7 @@ namespace MeoAsstGui
|
||||
|
||||
public bool AsstConnect(ref string error)
|
||||
{
|
||||
error = "";
|
||||
var settings = _container.Get<SettingsViewModel>();
|
||||
if (settings.AdbPath == String.Empty ||
|
||||
settings.ConnectAddress == String.Empty)
|
||||
@@ -618,6 +619,11 @@ namespace MeoAsstGui
|
||||
}
|
||||
settings.TryToSetBlueStacksHyperVAddress();
|
||||
|
||||
if (settings.ConnectConfig == "LDPlayer")
|
||||
{
|
||||
error = "检测到您正在使用雷电模拟器\n由于雷电模拟器过于离谱\nMAA 不推荐使用\n若您遇到任何问题\n建议更换模拟器并再次尝试";
|
||||
}
|
||||
|
||||
bool ret = AsstConnect(_handle, settings.AdbPath, settings.ConnectAddress, settings.ConnectConfig);
|
||||
|
||||
// 尝试默认的备选端口
|
||||
|
||||
@@ -209,6 +209,11 @@ namespace MeoAsstGui
|
||||
AddLog(errMsg, "darkred");
|
||||
return;
|
||||
}
|
||||
if (errMsg.Length != 0)
|
||||
{
|
||||
AddLog(errMsg, "darkred");
|
||||
}
|
||||
|
||||
if (Filename.Length == 0 || !File.Exists(Filename))
|
||||
{
|
||||
AddLog("作业文件不存在", "darkred");
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace MeoAsstGui
|
||||
}
|
||||
|
||||
private Visibility _visible = Visibility.Collapsed;
|
||||
|
||||
public Visibility Visible
|
||||
{
|
||||
get { return _visible; }
|
||||
@@ -127,7 +128,7 @@ namespace MeoAsstGui
|
||||
new CombData { Display = "SV-7", Value = "SV-7" },
|
||||
new CombData { Display = "SV-8", Value = "SV-8" },
|
||||
new CombData { Display = "SV-9", Value = "SV-9" },
|
||||
|
||||
|
||||
// “愚人号” 活动关卡
|
||||
//new CombData { Display = "SN-8", Value = "SN-8" },
|
||||
//new CombData { Display = "SN-9", Value = "SN-9" },
|
||||
@@ -228,6 +229,10 @@ namespace MeoAsstGui
|
||||
Idle = true;
|
||||
return;
|
||||
}
|
||||
if (errMsg.Length != 0)
|
||||
{
|
||||
AddLog(errMsg, "darkred");
|
||||
}
|
||||
|
||||
bool ret = true;
|
||||
// 直接遍历TaskItemViewModels里面的内容,是排序后的
|
||||
|
||||
Reference in New Issue
Block a user