mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
Merge branch 'MaaAssistantArknights:dev' into dev
This commit is contained in:
@@ -26,7 +26,7 @@ namespace MaaWpfGui.Helper
|
||||
/// </summary>
|
||||
public class WinAdapter
|
||||
{
|
||||
private static readonly ILogger _logger = Log.ForContext<TaskQueueViewModel>();
|
||||
private static readonly ILogger _logger = Log.ForContext<WinAdapter>();
|
||||
|
||||
private static readonly Dictionary<string, string> _emulatorIdDict = new Dictionary<string, string>
|
||||
{
|
||||
|
||||
@@ -443,7 +443,7 @@ namespace MaaWpfGui.Main
|
||||
if (Instances.SettingsViewModel.RetryOnDisconnected)
|
||||
{
|
||||
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("TryToStartEmulator"), UiLogColor.Error);
|
||||
Instances.TaskQueueViewModel.KillEmulatorModeSwitcher();
|
||||
Instances.TaskQueueViewModel.KillEmulator();
|
||||
await Task.Delay(3000);
|
||||
await Instances.TaskQueueViewModel.Stop();
|
||||
Instances.TaskQueueViewModel.SetStopped();
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
/// </summary>
|
||||
public class SettingsViewModel : Screen
|
||||
{
|
||||
private static readonly ILogger _logger = Log.ForContext<TaskQueueViewModel>();
|
||||
private static readonly ILogger _logger = Log.ForContext<SettingsViewModel>();
|
||||
|
||||
[DllImport("MaaCore.dll")]
|
||||
private static extern IntPtr AsstGetVersion();
|
||||
|
||||
Reference in New Issue
Block a user