mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
chore.更新CD ChangLog相关,更新ChangeLog
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
- 新增界面设置 adb 地址下拉选择
|
||||
- 修复自动战斗无法开技能的问题
|
||||
- 修复自动战斗识别完干员后还会再识别其中某一两个的问题
|
||||
- 修复自动战斗编队关闭职业选择后,选人错误的问题
|
||||
- 修复愚人号关卡导航失效问题
|
||||
- 修复掉落识别错误的问题
|
||||
- 其他的一些小优化
|
||||
- 修复连接 adb 时的错误
|
||||
- 修复关卡掉落识别的错误
|
||||
|
||||
**该版本肉鸽功能还没适配完,暂时无法正常使用,如有需要请用老版本~**
|
||||
|
||||
@@ -326,34 +326,34 @@ public partial class Build : NukeBuild
|
||||
.Triggers(SetMaaChangeLog)
|
||||
.Executes(() =>
|
||||
{
|
||||
_changeLog = $"对应 Commit:[{Parameters.MainRepo}@{Parameters.CommitHash}](https://github.com/{Parameters.MainRepo}/commit/{Parameters.CommitHashFull})\n\n";
|
||||
if (File.Exists(Parameters.MaaChangelogFile))
|
||||
{
|
||||
Information($"找到 {Parameters.MaaChangelogFile} 文件,读取内容作为更新日志");
|
||||
var text = File.ReadAllText(Parameters.MaaChangelogFile);
|
||||
_changeLog += text;
|
||||
_changeLog = text;
|
||||
}
|
||||
else
|
||||
{
|
||||
Warning($"未发现 {Parameters.MaaChangelogFile} 文件,将使用默认值");
|
||||
}
|
||||
_changeLog += $"\n\n对应 Commit:[{Parameters.MainRepo}@{Parameters.CommitHash}](https://github.com/{Parameters.MainRepo}/commit/{Parameters.CommitHashFull})";
|
||||
});
|
||||
|
||||
Target UseMaaResourceChangeLog => _ => _
|
||||
.Triggers(SetMaaChangeLog)
|
||||
.Executes(() =>
|
||||
{
|
||||
_changeLog = $"对应 Commit:[{Parameters.MainRepo}@{Parameters.CommitHash}](https://github.com/{Parameters.MainRepo}/commit/{Parameters.CommitHashFull})\n\n";
|
||||
if (File.Exists(Parameters.MaaResourceChangeLogFile))
|
||||
{
|
||||
Information($"找到 {Parameters.MaaResourceChangeLogFile} 文件,读取内容作为更新日志");
|
||||
var text = File.ReadAllText(Parameters.MaaResourceChangeLogFile);
|
||||
_changeLog += text;
|
||||
_changeLog = text;
|
||||
}
|
||||
else
|
||||
{
|
||||
Warning($"未发现 {Parameters.MaaResourceChangeLogFile} 文件,将使用默认值");
|
||||
}
|
||||
_changeLog += $"\n\n对应 Commit:[{Parameters.MainRepo}@{Parameters.CommitHash}](https://github.com/{Parameters.MainRepo}/commit/{Parameters.CommitHashFull})";
|
||||
});
|
||||
|
||||
Target SetMaaChangeLog => _ => _
|
||||
|
||||
Reference in New Issue
Block a user