Skip to content

Commit f38330b

Browse files
committed
chore: 更新至v2.4.1-beta.1
1 parent 16143fd commit f38330b

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

MFAAvalonia/Extensions/MaaFW/MaaProcessor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ private bool IsPathLike(string? input)
529529
{
530530
LoggerHelper.Error(e);
531531
}
532+
532533
// 注册内置的自定义 Action(用于内存泄漏测试)
533534
//tasker.Resource.Register(new Custom.MemoryLeakTestAction());
534535
// 获取代理配置(假设Interface在UI线程中访问)
@@ -871,7 +872,6 @@ private bool IsPathLike(string? input)
871872
tasker.Global.SetOption_SaveDraw(ConfigurationManager.Maa.GetValue(ConfigurationKeys.SaveDraw, false));
872873
tasker.Global.SetOption(GlobalOption.SaveOnError, ConfigurationManager.Maa.GetValue(ConfigurationKeys.SaveOnError, true));
873874
tasker.Global.SetOption_DebugMode(ConfigurationManager.Maa.GetValue(ConfigurationKeys.ShowHitDraw, false));
874-
875875
LoggerHelper.Info("Maafw debug mode: " + ConfigurationManager.Maa.GetValue(ConfigurationKeys.ShowHitDraw, false));
876876
// 注意:只订阅一次回调,避免嵌套订阅导致内存泄漏
877877
tasker.Callback += HandleCallBack;
@@ -2418,7 +2418,6 @@ public void Stop(MFATask.MFATaskStatus status, bool finished = false, bool onlyS
24182418
}
24192419

24202420
}
2421-
24222421
HandleStopResult(status, stopResult, onlyStart, action, isUpdateRelated);
24232422
DispatcherHelper.PostOnMainThread(() => Instances.TaskQueueViewModel.ToggleEnable = true);
24242423
});

MFAAvalonia/MFAAvalonia.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
<ApplicationRevision>0</ApplicationRevision>
3838
<ApplicationVersion>2.4.0</ApplicationVersion>
3939
<Version>1.1</Version>
40-
<FileVersion>2.4.0</FileVersion>
41-
<AssemblyVersion>2.4.0</AssemblyVersion>
40+
<FileVersion>2.4.1</FileVersion>
41+
<AssemblyVersion>2.4.1</AssemblyVersion>
4242
<InformationalVersion>0.0.1</InformationalVersion>
4343
</PropertyGroup>
4444

MFAAvalonia/ViewModels/Windows/RootViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static string Version
3737
// var minor = version.Minor >= 0 ? version.Minor : 0;
3838
// var patch = version.Build >= 0 ? version.Build : 0;
3939
// return $"v{SemVersion.Parse($"{major}.{minor}.{patch}")}";
40-
return "v2.4.0"; // Hardcoded version for now, replace with dynamic versioning later
40+
return "v2.4.1-beta.1"; // Hardcoded version for now, replace with dynamic versioning later
4141
}
4242
}
4343

0 commit comments

Comments
 (0)