Compare commits

..

3469 Commits

Author SHA1 Message Date
uye
5b8a260deb Release v6.0.0 (#15040)
## Summary by Sourcery

更新支持列表处理逻辑以使用回调方式,并让 ROI 自适应窗口大小,同时为新版本刷新 VSCode 扩展文档和打包资源元数据。

New Features:
- 文档中新增 VSCode 扩展的功能说明,例如快速跳转到任务定义、ROI 复制、识别工具以及跨多种语言查看日志等能力。

Enhancements:
- 重构 SupportList,使其由回调函数、assistant 实例和任务链构造,而不是依赖 AbstractTask 父类。
- 调整支持列表分析的 ROI 宽度,以更好适配不同的窗口宽度。

Documentation:
- 扩展多语言 VSCode 扩展教程,增加功能概览、使用技巧、OCR 故障排查、日志查看说明,以及对 MaaFramework
版本选择行为的更清晰解释。

Chores:
- 为新版本刷新打包的战斗/资源元数据、区域任务数据以及模板优化配置。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update support list handling to use callbacks and adapt ROI to window
size, while refreshing VSCode extension documentation and bundled
resource metadata for the new release.

New Features:
- Document new VSCode extension capabilities such as quick task
definition jump, ROI copy, recognition tools, and log viewing across
multiple languages.

Enhancements:
- Refactor SupportList to be constructed from callback, assistant
instance, and task chain instead of an AbstractTask parent.
- Adjust support list analysis ROI width to better accommodate varying
window widths.

Documentation:
- Expand multi-language VSCode extension tutorials with feature
overview, usage tips, OCR troubleshooting, logging instructions, and
clarified MaaFramework version selection behavior.

Chores:
- Refresh packaged battle/resource metadata, regional task data, and
template optimization settings for the new version.

</details>

增强功能:
- 通过在等待详情面板出现时允许更多重试,提高支持单元选择的健壮性。
- 调整支持列表分析的 ROI 宽度计算,以更好地适应不同的窗口大小。

文档:
- 扩展多语言 VSCode 插件教程,加入功能概览、使用技巧、日志查看说明,以及关于 MaaFramework 版本选择的最新行为说明。

日常维护:
- 为新版本刷新打包的资源元数据和任务数据,包括特定地区的资源和优化模板。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

更新支持列表处理逻辑以使用回调方式,并让 ROI 自适应窗口大小,同时为新版本刷新 VSCode 扩展文档和打包资源元数据。

New Features:
- 文档中新增 VSCode 扩展的功能说明,例如快速跳转到任务定义、ROI 复制、识别工具以及跨多种语言查看日志等能力。

Enhancements:
- 重构 SupportList,使其由回调函数、assistant 实例和任务链构造,而不是依赖 AbstractTask 父类。
- 调整支持列表分析的 ROI 宽度,以更好适配不同的窗口宽度。

Documentation:
- 扩展多语言 VSCode 扩展教程,增加功能概览、使用技巧、OCR 故障排查、日志查看说明,以及对 MaaFramework
版本选择行为的更清晰解释。

Chores:
- 为新版本刷新打包的战斗/资源元数据、区域任务数据以及模板优化配置。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update support list handling to use callbacks and adapt ROI to window
size, while refreshing VSCode extension documentation and bundled
resource metadata for the new release.

New Features:
- Document new VSCode extension capabilities such as quick task
definition jump, ROI copy, recognition tools, and log viewing across
multiple languages.

Enhancements:
- Refactor SupportList to be constructed from callback, assistant
instance, and task chain instead of an AbstractTask parent.
- Adjust support list analysis ROI width to better accommodate varying
window widths.

Documentation:
- Expand multi-language VSCode extension tutorials with feature
overview, usage tips, OCR troubleshooting, logging instructions, and
clarified MaaFramework version selection behavior.

Chores:
- Refresh packaged battle/resource metadata, regional task data, and
template optimization settings for the new version.

</details>

</details>
2025-12-12 02:36:20 +08:00
uye
79a658c8db docs: changelog 2025-12-12 02:34:06 +08:00
github-actions[bot]
3d796dec56 docs: Auto Update Changelogs of v6.0.0 (#15048)
* docs: Auto Generate Changelog of Release v6.0.0

* docs: ai 改 changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-12-12 02:32:50 +08:00
uye
8a824c23af docs: Update docs/en-us/develop/vsc-ext-tutorial.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-12-12 01:16:29 +08:00
status102
37d4185cbe fix: 移除废弃的右键添加作业集行为 2025-12-12 01:03:10 +08:00
Manicsteiner
8921ccf093 fix: YostarJP Roguelike StagrTrader (#15047) 2025-12-12 00:22:55 +08:00
status102
165ad9ecb0 fix: 自动编队助战模块retry_times 2025-12-11 22:25:58 +08:00
status102
1d3c2fd049 Revert "fix: 助战干员进入详情页后flag检测retry"
This reverts commit 04615fb22c.
2025-12-11 22:22:45 +08:00
status102
04615fb22c fix: 助战干员进入详情页后flag检测retry 2025-12-11 20:49:29 +08:00
github-actions[bot]
c7dbd48709 chore: Auto Templates Optimization
Triggered by b2929100ba

[skip changelog]
2025-12-11 12:44:40 +00:00
HX3N
b2929100ba fix: YostarKR Roguelike@StageTrader UI updates
ref #13172
2025-12-11 21:43:23 +09:00
github-actions[bot]
e5653427e0 chore: Auto Update Game Resources - 2025-12-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20132471286

[skip changelog]
2025-12-11 12:05:46 +00:00
github-actions[bot]
2adc3699c6 chore: Auto Update Game Resources - 2025-12-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20131954062

[skip changelog]
2025-12-11 11:44:32 +00:00
HX3N
0563565f80 chore: YostarKR ocr edits for FM
RecruitTags ocr fix may be reverted when Yostar rolls back their tags
2025-12-11 20:35:08 +09:00
Natsuu
51ee0fea1c docs: add instruction of log view in vsc-ext (#14696)
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-11 18:37:54 +08:00
Manicsteiner
5ff48c456c chore: YostarJP ocr (#15026)
* chore: YostarJP ocr

* fix: jp纯艾ocrfix

* fix: jp惊蛰ocrfix

---------

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-12-11 18:19:57 +08:00
uye
9fd19c908d Release v6.0.0-beta.2 (#15021)
## Sourcery 总结

改进平台相关的栈基址检测逻辑,调整 UI 日志与关卡显示行为,更新 v6 的安全支持策略,并为新的测试版刷新游戏/资源数据。

Bug 修复:
- 通过处理 `GetModuleHandleExA` 调用失败的情况,改进 Windows 模块基址获取。
- 使用 `dladdr` 并在失败时以更安全的方式扫描 `/proc/self/maps` 作为回退方案,使 Linux 基址解析更加健壮。
- 始终使用关卡提供的显示字段和数值字段,防止对不支持的关卡进行错误标记。
- 在下载日志更新中通过传递字符串并在同一处构建 WPF 提示框(tooltip),修复提示信息的处理问题。
- 改进在助战角色选择以及助战列表更新中的错误日志记录,使诊断信息更加清晰。

功能增强:
- 在助战角色选择中允许更多重试次数后再判定失败,以提高健壮性。
- 通过改用基于字符串的提示信息而不是 UI 元素类型,简化任务队列下载日志的 API。

文档:
- 更新 SECURITY.md,说明只有最新的 v6 稳定版本会获得安全支持。

日常维护:
- 为多个地区刷新战斗、物品、召集、任务以及版本资源文件,以支持 v6.0.0-beta.2 版本发布。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Refine platform-specific stack base address detection, adjust UI logging
and stage display behavior, update security support policy for v6, and
refresh game/resource data for the new beta release.

Bug Fixes:
- Improve Windows module base retrieval by handling GetModuleHandleExA
failures.
- Make Linux base address resolution more robust using dladdr with a
safer fallback that scans /proc/self/maps.
- Prevent incorrect stage labeling for unsupported stages by always
using stage-provided display and value fields.
- Fix tooltip handling in download log updates by passing strings and
constructing WPF tooltips in one place.
- Improve error logging in support-role selection and support list
updates for clearer diagnostics.

Enhancements:
- Increase robustness of support-role selection by allowing more retries
before failing.
- Simplify task queue download log API by using string-based tooltips
instead of UI element types.

Documentation:
- Update SECURITY.md to state that only the latest v6 stable release
receives security support.

Chores:
- Refresh battle, item, recruitment, task, and version resource files
for multiple regions for the v6.0.0-beta.2 release.

</details>
2025-12-11 16:28:58 +08:00
github-actions[bot]
7ebedec7b8 docs: Auto Update Changelogs of v6.0.0-beta.2 (#15022)
* docs: Auto Generate Changelog of Release v6.0.0-beta.2

* docs: Refactor v6.0.0-beta.2 changelog following patch version conventions (#15024)

* Initial plan

* docs: Refactor v6.0.0-beta.2 changelog following project conventions

- Add Highlights section with bilingual content
- Merge beta.1 and beta.2 sections following patch version format
- Include beta.2-specific fixes in Highlights
- Add detailed changelog sections for both versions
- Follow historical format from previous beta releases

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* Remove fixes section from CHANGELOG.md

Removed fix section for version 6.0.0-beta.2 and above from CHANGELOG.md.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update .NET version in documentation to 10

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-12-11 16:28:45 +08:00
wryx166
7b4aed0abe docs: 更新文档中的 .NET 版本至 10 (#15023) 2025-12-11 16:17:09 +08:00
pre-commit-ci[bot]
b6c34b8363 chore: Auto update by pre-commit hooks [skip changelog] 2025-12-11 08:13:18 +00:00
uye
7d7221cd74 fix: 资源更新创建 ToolTip 失败
fix #15012
2025-12-11 16:04:31 +08:00
SherkeyXD
4f5afa8bef docs: 更新安全策略版本 2025-12-11 12:22:22 +08:00
github-actions[bot]
d8b728eebe chore: Auto Update Game Resources - 2025-12-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20120701727

[skip changelog]
2025-12-11 03:14:14 +00:00
status102
035e2632a5 fix: 自动编队助战切换职业retry 2025-12-11 10:42:05 +08:00
github-actions[bot]
0845c19dd6 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20114426102
[skip changelog]
2025-12-10 21:53:00 +00:00
uye
460eb6c6d6 fix: 多活动同时开放时提示可能被错误折叠 2025-12-11 02:47:11 +08:00
Status102
1bb3132896 perf: Stacktrace Linux 优化 (#14983)
* fix: 修修Linux

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-11 01:17:03 +08:00
uye
a233635d80 Release v6.0.0-beta.1 (#15001)
## 由 Sourcery 生成的摘要

更新关卡活动处理逻辑以消费新的 StageActivityV2 格式,将丰富的小游戏元数据暴露给工具箱 UI,并在助战选择、线索发送、GPU
检测、原生互操作以及 DLL 劫持防护方面增强可靠性和安全性。

新功能:
- 从新的 `StageActivityV2.json` 格式中解析丰富的小游戏条目,并将其绑定到 WPF 工具箱,以实现小游戏的动态配置。

缺陷修复:
- 修正快速编队助战干员完成逻辑,用于跟踪已填充的干员分组,避免将未勾选的干员误标记为缺失。
- 提高基础设施线索发送时的重试次数,以提升可靠性。
- 确保变更日志窗口在已打开时被激活,而不是新建一个窗口。
- 修复 Windows 配置管理器 GPU 查询逻辑,使其正确使用 span 和缓冲池,避免缓冲区误用和泄漏。
- 扩展启动 DLL 白名单,以降低 WPF GUI 中的 DLL 劫持风险。

增强改进:
- 调整活动关卡解析,以支持分组的支线故事,以及为关卡和小游戏提供活动时间元数据。
- 重构助战列表处理,改为使用以 `InstHelper` 为基础的辅助类,提供更清晰的日志记录,并将实际选中的助战干员名称返回给编队逻辑。
- 改进战斗编队中对缺失干员和注入助战单位的处理,通过跟踪是哪个分组被填充,避免对未选择的干员错误标记为缺失。
- 现代化 MaaService 中 MaaCore 的原生互操作绑定,改用源生成的 `LibraryImport` 和显式封送属性。
- 为 `LocalizationHelper` 添加查找辅助方法,以安全检查键是否存在,并在获取字符串失败时不抛出异常。
- 以更安全的顺序初始化依赖的单例对象,确保 `StageManager` 在依赖它的视图模型之前可用。
- 将助战列表内容仅记录到日志中,而不再通过额外的回调负载对外发送。
- 在夜间 OTA 工作流的 WPF 发布步骤中加入与架构相关的平台选择。
- 将小游戏列表刷新与本地日期/关卡更新联动,使 UI 能反映当前的活动配置。

构建:
- 提升用于 macOS 签名与配置以及 GitHub Releases 的 GitHub Actions 版本,并更新 CMake
生成器/工具脚本和文档,以引用更新后的 Visual Studio 工具集。

持续集成(CI):
- 更新 CI 发布流程,在夜间 OTA 工作流中为 WPF GUI 构建传递平台相关的配置。

文档:
- 刷新多语言开发文档,以引用更新后的 Visual Studio 版本和新的 CMake 生成器参数。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update stage activity handling to consume the new StageActivityV2
format, expose rich mini-game metadata to the toolbox UI, and tighten
reliability and security around support selection, clue sending, GPU
detection, native interop, and DLL hijack prevention.

New Features:
- Parse rich mini-game entries from the new StageActivityV2.json format
and bind them to the WPF toolbox for dynamic mini-game configuration.

Bug Fixes:
- Correct quick formation support-operator completion logic to track
filled operator groups and avoid mislabeling unchecked operators as
missing.
- Increase retry count when sending infrastructure clues to improve
reliability.
- Ensure the changelog window is activated when already open instead of
creating a new window.
- Fix Windows configuration manager GPU queries to use spans and pooled
buffers correctly, avoiding buffer misuse and leaks.
- Extend startup DLL whitelist to reduce DLL hijack risk in the WPF GUI.

Enhancements:
- Adjust activity-stage parsing to support grouped side stories and
activity time metadata for stages and mini-games.
- Refactor support list handling to use an InstHelper-backed helper with
clearer logging and to return actual chosen support operator names to
formation logic.
- Improve battle formation handling of missing operators and injected
support units by tracking which group was filled and avoiding incorrect
missing flags for unselected operators.
- Modernize MaaCore native interop bindings in MaaService to use
source-generated LibraryImport and explicit marshalling attributes.
- Add lookup helpers to LocalizationHelper for safe key existence checks
and non-throwing string retrieval.
- Initialize dependent singletons in a safer order so StageManager is
available before view models that depend on it.
- Log support list contents only to the logger instead of emitting extra
callback payloads.
- Include architecture-specific platform selection in WPF publish steps
of the nightly OTA workflow.
- Wire mini-game list refresh into local date/stage updates so UI
reflects current activity configuration.

Build:
- Bump GitHub Actions versions for macOS signing and provisioning and
for GitHub Releases, and update CMake generator/tooling scripts and docs
to reference the newer Visual Studio toolset.

CI:
- Update CI publishing to pass platform-specific configuration for WPF
GUI builds in nightly OTA workflow.

Documentation:
- Refresh multi-language development docs to reference the newer Visual
Studio version and updated CMake generator arguments.

</details>

新功能:
- 暴露从新的 `StageActivityV2.json` 格式中解析出的丰富小游戏条目,并将其绑定到 WPF
工具箱中,以支持动态配置小游戏。

漏洞修复:
- 修复快速编队补充助战干员时的逻辑,确保正确追踪已填充的干员分组,并防止未勾选的干员被错误标记为“缺失”。
- 通过增加重试次数,提高基建线索接收与发送的可靠性。
- 当变更日志窗口已打开时,确保正确激活该窗口,而不是新开一个窗口。
- 在通过 Windows 配置管理器 API 查询 GPU 相关设备属性时,避免缓冲区误用和内存泄漏。
- 通过扩展启动时检查的 DLL 列表,防止 DLL 劫持问题。

<details>
<summary>Original summary in English</summary>

## 由 Sourcery 生成的摘要

更新关卡活动处理逻辑以消费新的 StageActivityV2 格式,将丰富的小游戏元数据暴露给工具箱 UI,并在助战选择、线索发送、GPU
检测、原生互操作以及 DLL 劫持防护方面增强可靠性和安全性。

新功能:
- 从新的 `StageActivityV2.json` 格式中解析丰富的小游戏条目,并将其绑定到 WPF 工具箱,以实现小游戏的动态配置。

缺陷修复:
- 修正快速编队助战干员完成逻辑,用于跟踪已填充的干员分组,避免将未勾选的干员误标记为缺失。
- 提高基础设施线索发送时的重试次数,以提升可靠性。
- 确保变更日志窗口在已打开时被激活,而不是新建一个窗口。
- 修复 Windows 配置管理器 GPU 查询逻辑,使其正确使用 span 和缓冲池,避免缓冲区误用和泄漏。
- 扩展启动 DLL 白名单,以降低 WPF GUI 中的 DLL 劫持风险。

增强改进:
- 调整活动关卡解析,以支持分组的支线故事,以及为关卡和小游戏提供活动时间元数据。
- 重构助战列表处理,改为使用以 `InstHelper` 为基础的辅助类,提供更清晰的日志记录,并将实际选中的助战干员名称返回给编队逻辑。
- 改进战斗编队中对缺失干员和注入助战单位的处理,通过跟踪是哪个分组被填充,避免对未选择的干员错误标记为缺失。
- 现代化 MaaService 中 MaaCore 的原生互操作绑定,改用源生成的 `LibraryImport` 和显式封送属性。
- 为 `LocalizationHelper` 添加查找辅助方法,以安全检查键是否存在,并在获取字符串失败时不抛出异常。
- 以更安全的顺序初始化依赖的单例对象,确保 `StageManager` 在依赖它的视图模型之前可用。
- 将助战列表内容仅记录到日志中,而不再通过额外的回调负载对外发送。
- 在夜间 OTA 工作流的 WPF 发布步骤中加入与架构相关的平台选择。
- 将小游戏列表刷新与本地日期/关卡更新联动,使 UI 能反映当前的活动配置。

构建:
- 提升用于 macOS 签名与配置以及 GitHub Releases 的 GitHub Actions 版本,并更新 CMake
生成器/工具脚本和文档,以引用更新后的 Visual Studio 工具集。

持续集成(CI):
- 更新 CI 发布流程,在夜间 OTA 工作流中为 WPF GUI 构建传递平台相关的配置。

文档:
- 刷新多语言开发文档,以引用更新后的 Visual Studio 版本和新的 CMake 生成器参数。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update stage activity handling to consume the new StageActivityV2
format, expose rich mini-game metadata to the toolbox UI, and tighten
reliability and security around support selection, clue sending, GPU
detection, native interop, and DLL hijack prevention.

New Features:
- Parse rich mini-game entries from the new StageActivityV2.json format
and bind them to the WPF toolbox for dynamic mini-game configuration.

Bug Fixes:
- Correct quick formation support-operator completion logic to track
filled operator groups and avoid mislabeling unchecked operators as
missing.
- Increase retry count when sending infrastructure clues to improve
reliability.
- Ensure the changelog window is activated when already open instead of
creating a new window.
- Fix Windows configuration manager GPU queries to use spans and pooled
buffers correctly, avoiding buffer misuse and leaks.
- Extend startup DLL whitelist to reduce DLL hijack risk in the WPF GUI.

Enhancements:
- Adjust activity-stage parsing to support grouped side stories and
activity time metadata for stages and mini-games.
- Refactor support list handling to use an InstHelper-backed helper with
clearer logging and to return actual chosen support operator names to
formation logic.
- Improve battle formation handling of missing operators and injected
support units by tracking which group was filled and avoiding incorrect
missing flags for unselected operators.
- Modernize MaaCore native interop bindings in MaaService to use
source-generated LibraryImport and explicit marshalling attributes.
- Add lookup helpers to LocalizationHelper for safe key existence checks
and non-throwing string retrieval.
- Initialize dependent singletons in a safer order so StageManager is
available before view models that depend on it.
- Log support list contents only to the logger instead of emitting extra
callback payloads.
- Include architecture-specific platform selection in WPF publish steps
of the nightly OTA workflow.
- Wire mini-game list refresh into local date/stage updates so UI
reflects current activity configuration.

Build:
- Bump GitHub Actions versions for macOS signing and provisioning and
for GitHub Releases, and update CMake generator/tooling scripts and docs
to reference the newer Visual Studio toolset.

CI:
- Update CI publishing to pass platform-specific configuration for WPF
GUI builds in nightly OTA workflow.

Documentation:
- Refresh multi-language development docs to reference the newer Visual
Studio version and updated CMake generator arguments.

</details>

</details>
2025-12-11 00:48:25 +08:00
Copilot
bb4af376d3 docs: Generate v6.0.0-beta.1 changelog following project conventions (#15003)
* Initial plan

* docs: 生成 v6.0.0-beta.1 changelog

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* Remove auto-formation optimization details from CHANGELOG

Removed sections related to auto-formation support unit optimization from the changelog.

* docs: 补充单文件发布取消与更新包体积减少说明

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG for .NET 10 upgrade details

Removed mention of disabling single-file publishing in .NET 10 upgrade notes.

* docs: 更正 changelog 中的提交作者

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG with recent improvements and fixes

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-12-11 00:24:41 +08:00
Status102
e835681bf7 fix: 自动编队助战干员组名存储错误 2025-12-10 23:08:43 +08:00
uye
2599e8d6be rft: 重构简化关卡导航 api,小游戏列表通过 api 获取 (#14997)
* rft: 重构关卡导航 api,小游戏列表通过 api 获取

* feat: 添加小活动开放时间

* style: 初始化
2025-12-10 22:50:16 +08:00
uye
a1ff0cbee5 fix: 在已开启更新日志的情况下点击更新日志窗口不会移至前台 2025-12-10 22:29:40 +08:00
pre-commit-ci[bot]
4deb53bb22 chore: Auto update by pre-commit hooks [skip changelog] 2025-12-10 18:48:16 +08:00
uye
7eab0a76aa feat: LocalizationHelper 支持 TryGetString 与 HasTranslation 2025-12-10 17:21:16 +08:00
status102
6893755bd4 fix: import 2025-12-10 16:29:49 +08:00
status102
a262337abd rft: 自动编队助战页面继承优化 2025-12-10 15:00:29 +08:00
status102
7d4c42822f perf: 自动编队编入助战后缺失干员查找 2025-12-10 12:06:42 +08:00
Manicsteiner
e44e113190 fix: fix nightly ota dotnet build (#14996) 2025-12-10 11:39:11 +08:00
status102
a448cf0af8 fix: 自动编队编入助战后未添加至干员-干员组映射 2025-12-10 11:36:22 +08:00
status102
0ce038a616 perf: 自动编队缺失干员查找优化 2025-12-10 11:36:22 +08:00
status102
f9f08a69a6 fix: 自动编队当干员存在于多个作业组且已经被编入后可能被误标记为未持有 2025-12-10 11:36:21 +08:00
status102
3218989811 chore: 移除不再使用的report 2025-12-10 11:36:16 +08:00
HX3N
f775c6cfeb chore: YostarKR CharsNameOcrReplace ocr edit 2025-12-10 12:33:04 +09:00
uye
41572b1834 fix: 因延迟进入线索传递界面导致任务出错
fix #14992
2025-12-10 02:32:09 +08:00
uye
18c0fd6be7 Revert "chore: 隐藏 .deps.json 与 .runtimeconfig*.json"
This reverts commit 0e6104e790.
2025-12-10 02:05:19 +08:00
dependabot[bot]
8ac592d217 ci: bump the github-actions group in /.github/workflows with 3 updates (#14978)
Bumps the github-actions group in /.github/workflows with 3 updates: [apple-actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs), [apple-actions/download-provisioning-profiles](https://github.com/apple-actions/download-provisioning-profiles) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `apple-actions/import-codesign-certs` from 5 to 6
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v5...v6)

Updates `apple-actions/download-provisioning-profiles` from 4 to 5
- [Release notes](https://github.com/apple-actions/download-provisioning-profiles/releases)
- [Commits](https://github.com/apple-actions/download-provisioning-profiles/compare/v4...v5)

Updates `softprops/action-gh-release` from 2.4.2 to 2.5.0
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.4.2...v2.5.0)

---
updated-dependencies:
- dependency-name: apple-actions/import-codesign-certs
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: apple-actions/download-provisioning-profiles
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 19:01:30 +01:00
SherkeyXD
97dfaf6dcd build: Update to .NET 10 (#14971)
* build: Update to .NET 10

* chore: 关闭 CET 保证 win10 可用性

* feat: 提升语言版本

* chore: 更新文档与脚本

* chore: update all packages

* fix: 修复 GpuOption 构建错误

* chore: 更新依赖安装脚本

* chore: 更新 csproj 中标记的软件版本

* docs: Update docs/zh-cn/develop/development.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* docs: Update docs/zh-tw/develop/development.md

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-12-10 02:00:41 +08:00
uye
0e6104e790 chore: 隐藏 .deps.json 与 .runtimeconfig*.json 2025-12-10 01:50:34 +08:00
uye
1acaab0b75 feat: 第三方依赖移至子文件夹 (#14984)
* feat: 第三方依赖移至子文件夹

* feat: 忽略 libloader.dll
2025-12-10 01:44:41 +08:00
status102
4eff8d066a perf(wpf): 使用LibraryImport替换部分DllImport 2025-12-09 22:01:01 +08:00
uye
300c5d06f9 Release v5.28.5 (#14985)
## Summary by Sourcery

发布维护更新,包含基础设施线索处理改进、新的外部通知支持、日志优化,以及若干 UI/UX 调整。

新特性:
- 新增钉钉作为可配置的外部通知提供方,并支持访问令牌(access token)和密钥(secret)设置。
- 在任务队列 UI 中引入专门的下载日志展示,并通过新的更新方法对外提供。

缺陷修复:
- 确保在不需要更新的情况下清除下载进度时,能够正确关闭“正在下载”状态。

增强改进:
- 优化日志行为,可通过 `DEBUG.txt` 文件切换调试日志开关,并调整异常日志的元数据。
- 改进接待室线索处理逻辑,以支持新增的“快速插入”和“快速发送重复线索”按钮,并相应更新核心逻辑和多语言文档。
- 简化并集中下载进度日志记录,通过 `TaskQueueViewModel` 统一处理,而不是直接操作日志集合。
- 明确战斗编队逻辑中的支援单位使用说明注释,并在编队未发生变化时抑制多余的编队设置操作。
- 在显示警告对话框时记录检测到的非法注入模块。

文档:
- 更新所有受支持语言的基础设施管理文档,说明新的接待室线索发送行为及相关术语变更。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Release maintenance update with infrastructure clue handling
improvements, new external notification support, logging tweaks, and
UI/UX adjustments.

New Features:
- Add DingTalk as a configurable external notification provider with
access token and secret settings.
- Introduce dedicated download log display in the task queue UI and
expose it via a new update method.

Bug Fixes:
- Ensure download progress clearing correctly disables downloading state
when no update is needed.

Enhancements:
- Refine logging behavior to allow debug logging to be toggled via a
DEBUG.txt file and adjust exception logging metadata.
- Improve reception room clue handling to support newly added quick
insert and quick send duplicate clue buttons, updating core logic and
multi-language documentation accordingly.
- Simplify and centralize download progress logging by routing it
through TaskQueueViewModel instead of manipulating log collections
directly.
- Clarify support unit usage comments in battle formation logic and
suppress redundant formation setup when unchanged.
- Log detected bad injected modules when displaying the warning dialog.

Documentation:
- Update infrastructure management documentation in all supported
languages to describe new reception room clue sending behavior and
terminology changes.

</details>
2025-12-09 17:07:25 +08:00
Copilot
0aecc50549 docs: Add v5.28.5 changelog entries following historical format (#14986)
* Initial plan

* docs: Add v5.28.5 changelog entries

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG.md by removing outdated sections

Removed sections related to new features, debugging, and logging enhancements from the changelog.

* docs: Update version from v5.28.4 to v5.28.5

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-12-09 17:06:13 +08:00
HX3N
09bf45b307 chore: YostarKR CharsNameOcrReplace remove space 2025-12-09 17:38:19 +09:00
Status102
02bfd3c8c7 feat: LogDebug 宏支持 DEBUG.txt 特性 (#14977)
* feat: LogDebug 宏支持 DEBUG.txt 特性

* fix: log level

* perf: static

* fix: static
2025-12-09 15:55:45 +08:00
uye
07844d61d9 Revert "chore: 重复访问好友添加Ocr兜底"
This reverts commit d59144c549.
2025-12-08 19:54:49 +08:00
github-actions[bot]
0effeb9b00 chore: Auto Templates Optimization
Triggered by a5dfc573dd

[skip changelog]
2025-12-08 11:49:59 +00:00
uye
a5dfc573dd feat: 支持会客室快捷置入线索与一键赠送重复线索 (#14966)
* feat: 支持会客室快捷置入线索与一键赠送重复线索

* docs: 更新文档

* chore: Auto update by pre-commit hooks [skip changelog]

* i18n: JP

* chore: Auto update by pre-commit hooks [skip changelog]

* i18n: sourcery ai suggestion

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* i18n: KR

* chore: 增加被注入的日志记录

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-12-08 19:48:57 +08:00
status102
b6e236eda0 docs: 自动战斗编队注释 2025-12-08 17:03:19 +08:00
uye
fb592fdab5 feat: 更新设置中新增下载进度提示 2025-12-08 17:02:41 +08:00
uye
4cc0bc55d2 perf: 优化绑定 2025-12-08 17:02:22 +08:00
uye
6c4c92f26b fix: 未勾选自动下载时仍提示使用 xx 下载 2025-12-08 17:01:36 +08:00
uye
f198f93ac2 feat: 将下载日志独立出来 2025-12-08 16:16:49 +08:00
uye
82fd1c074e perf: 优化线索识别范围 2025-12-06 17:37:58 +08:00
uye
04ac48c9db fix: 主线/故事集/SideStory 禁用循环次数 2025-12-06 14:19:16 +08:00
Kagura
2947f9fe97 feat: 通知渠道支持钉钉 (#14884)
* feat: 通知渠道支持钉钉

* fix: 还原错误的更改

* chore: 加回丢掉的换行符

* fix: 还原错误删除的内容
2025-12-06 00:45:11 +08:00
uye
8796112363 Release v5.28.4 (#14958)
## Summary by Sourcery

通过更新游戏内容数据,并打磨小游戏、肉鸽玩法、工具链和 CI 行为,为各端与各平台准备 v5.28.4 版本。

New Features:
- 基于所选游戏客户端类型,动态加载小游戏任务选项。
- 为最新活动和 UR 关卡新增关卡、任务与地块位置数据。

Bug Fixes:
- 当小游戏选择为空或未知时,显示专用提示,而不是静默失败。
- 将未知的“两位字母-数字”形式的关卡视作已过期活动关卡,而不是常驻关卡。
- 在包括 txwy 在内的所有客户端上允许幻影肉鸽难度 15。
- 通过放宽匹配模式,改进 MacGui 问题自动打标签的 issue 检查器配置。
- 避免在 lldb 中包装冒烟测试,从而使脚本能在没有调试器的环境中运行。

Enhancements:
- 扩展小游戏提示,覆盖更多小游戏变体,例如 HoneyFruit 对决频道。
- 调整资源、CLI 二进制文件与模板的优化设置,以匹配新版本内容。

Build:
- 调整冒烟测试工作流的权限,只请求对仓库内容的只读访问。

CI:
- 简化 CI 中调用冒烟测试脚本的方式,改为直接运行测试二进制文件,而不附加调试器。

Tests:
- 更新冒烟测试工具和日志,以便在新版本内容下运行面向各客户端的自动化检查。

Chores:
- 刷新多类游戏数据资源文件(战斗、基建、物品、关卡、任务以及本地化)以适配新版本。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Prepare v5.28.4 by updating game content data and polishing minigame,
roguelike, tooling, and CI behavior across clients and platforms.

New Features:
- Load minigame task options dynamically based on the selected game
client type.
- Add new stage, task, and tile-position data for the latest activities
and UR stages.

Bug Fixes:
- Handle unknown or empty minigame selections by showing a dedicated tip
instead of failing silently.
- Treat unknown two-letter dash numeric stages as expired activity
stages instead of permanent ones.
- Allow Phantom roguelike difficulty 15 on all clients, including txwy.
- Improve MacGui issue auto-labeling by broadening the matching patterns
in the issue checker configuration.
- Avoid wrapping smoke tests in lldb so the script can run in
environments without the debugger.

Enhancements:
- Extend minigame tips to cover additional minigame variants such as
HoneyFruit duel channel.
- Refine resources, CLI binary, and template optimization settings to
align with the new release content.

Build:
- Adjust smoke testing workflow permissions to only request read access
to repository contents.

CI:
- Simplify the smoke testing script invocation in CI to run the test
binary directly without debugger attachment.

Tests:
- Update smoke testing tooling and logs for running client-specific
automated checks with the new release content.

Chores:
- Refresh multiple game data resource files (battle, infrastructure,
items, stages, tasks, and localization) for the new release.

</details>

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

通过更新游戏内容数据,并打磨小游戏、肉鸽玩法、工具链和 CI 行为,为各端与各平台准备 v5.28.4 版本。

New Features:
- 基于所选游戏客户端类型,动态加载小游戏任务选项。
- 为最新活动和 UR 关卡新增关卡、任务与地块位置数据。

Bug Fixes:
- 当小游戏选择为空或未知时,显示专用提示,而不是静默失败。
- 将未知的“两位字母-数字”形式的关卡视作已过期活动关卡,而不是常驻关卡。
- 在包括 txwy 在内的所有客户端上允许幻影肉鸽难度 15。
- 通过放宽匹配模式,改进 MacGui 问题自动打标签的 issue 检查器配置。
- 避免在 lldb 中包装冒烟测试,从而使脚本能在没有调试器的环境中运行。

Enhancements:
- 扩展小游戏提示,覆盖更多小游戏变体,例如 HoneyFruit 对决频道。
- 调整资源、CLI 二进制文件与模板的优化设置,以匹配新版本内容。

Build:
- 调整冒烟测试工作流的权限,只请求对仓库内容的只读访问。

CI:
- 简化 CI 中调用冒烟测试脚本的方式,改为直接运行测试二进制文件,而不附加调试器。

Tests:
- 更新冒烟测试工具和日志,以便在新版本内容下运行面向各客户端的自动化检查。

Chores:
- 刷新多类游戏数据资源文件(战斗、基建、物品、关卡、任务以及本地化)以适配新版本。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Prepare v5.28.4 by updating game content data and polishing minigame,
roguelike, tooling, and CI behavior across clients and platforms.

New Features:
- Load minigame task options dynamically based on the selected game
client type.
- Add new stage, task, and tile-position data for the latest activities
and UR stages.

Bug Fixes:
- Handle unknown or empty minigame selections by showing a dedicated tip
instead of failing silently.
- Treat unknown two-letter dash numeric stages as expired activity
stages instead of permanent ones.
- Allow Phantom roguelike difficulty 15 on all clients, including txwy.
- Improve MacGui issue auto-labeling by broadening the matching patterns
in the issue checker configuration.
- Avoid wrapping smoke tests in lldb so the script can run in
environments without the debugger.

Enhancements:
- Extend minigame tips to cover additional minigame variants such as
HoneyFruit duel channel.
- Refine resources, CLI binary, and template optimization settings to
align with the new release content.

Build:
- Adjust smoke testing workflow permissions to only request read access
to repository contents.

CI:
- Simplify the smoke testing script invocation in CI to run the test
binary directly without debugger attachment.

Tests:
- Update smoke testing tooling and logs for running client-specific
automated checks with the new release content.

Chores:
- Refresh multiple game data resource files (battle, infrastructure,
items, stages, tasks, and localization) for the new release.

</details>

</details>
2025-12-06 00:13:02 +08:00
github-actions[bot]
bd0681a437 docs: Auto Update Changelogs of v5.28.4 (#14959)
* docs: Auto Generate Changelog of Release v5.28.4

* docs: Auto Update Changelogs of v5.28.4 (#14960)

* Initial plan

* docs: Update CHANGELOG.md v5.28.4 per formatting guidelines

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Refine precommit template description

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Add separator and preserve v5.28.3 content

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Apply version merge rules for v5.28.4 patch release

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-12-06 00:10:34 +08:00
uye
4feb2f109b perf: 调整 UpdateMiniGameTaskList 2025-12-05 18:44:55 +08:00
HY
765b9acb1c feat: 當左上角進行中活動因太多被折疊時,增加展開領取的狀態判斷 (#14957)
* feat: 當左側進行中活動列表折疊時,增加展開領取的狀態判斷

* chore: 放個圖片

* chore: 加個保底任務 & 補充說明文字

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 移除 "maxTimes"

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-05 18:22:27 +08:00
晓丶梦丶仁
bdeebe80e0 rft: Minigame ToolboxViewModel (#14951)
* rft: Minigame ToolboxViewModel

* fix: Invalid Task Name

* feat: Invalid Task Tip

* fix: key name
2025-12-05 17:07:46 +08:00
github-actions[bot]
df9f458a6f chore: Auto Update Game Resources - 2025-12-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19957243176

[skip changelog]
2025-12-05 08:30:31 +00:00
uye
ee7a61974b feat: 关卡选择验证输入,非当期活动的关卡名会当做未开放关卡 2025-12-05 16:11:11 +08:00
uye
b4887ae836 feat: UR 活动导航 2025-12-05 16:11:11 +08:00
github-actions[bot]
ca23e700c8 chore: Auto Update Game Resources - 2025-12-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19954805469

[skip changelog]
2025-12-05 06:31:21 +00:00
github-actions[bot]
2a4b9097c3 chore: Auto Update Game Resources - 2025-12-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19947291234

[skip changelog]
2025-12-04 23:29:22 +00:00
github-actions[bot]
97a45542f3 chore: Auto Update Game Resources - 2025-12-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19942256933

[skip changelog]
2025-12-04 20:03:59 +00:00
github-actions[bot]
226b21d32a feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19910040375
[skip changelog]
2025-12-03 21:52:50 +00:00
HY
5b49d406c9 chore: 調整繁中服傀影肉鴿能夠選擇的難度 (#14952) 2025-12-03 19:40:29 +01:00
HY
6dd412364b fix: 繁中服周年月卡領取及贈送單抽的處理錯誤 (#14953) 2025-12-04 01:37:08 +08:00
Rbqwow
55b9ce4c7d fix: issue-checker.yml 中 MacGui 正则不包含 MacGui 2025-12-04 01:13:00 +08:00
github-actions[bot]
0acdf51077 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19874728857
[skip changelog]
2025-12-02 21:52:33 +00:00
Status102
a92d429ab3 ci: smoke_test remove lldb (#14942)
ci: fix unthrow smoke_test error
2025-12-03 01:11:38 +08:00
萨拉托加
7eccc8674b fix: 卫戍协议因网络问题卡在结算界面 2025-12-02 23:35:24 +08:00
uye
b61e04dcfc fix: 代理失败后等待动画结束后再点击任务失败
fix #14937
2025-12-02 17:55:04 +08:00
uye
dd7c6d0a85 fix: 自定义基建排班使用无人机加速未进驻干员的设施导致卡死
fix #14933
2025-12-02 17:38:58 +08:00
github-actions[bot]
79469f2047 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19838737544
[skip changelog]
2025-12-01 21:52:29 +00:00
Drest
0ea6626435 fix: 干员识别异常(荒芜拉普兰德) (#14934) 2025-12-01 10:29:27 +00:00
AnnAngela
bde9b78a60 ci: Potential fix for code scanning alert no. 109: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 23:47:58 +08:00
Constrat
53498f0d54 fix: precommit
precommit is fucking useless. It pushes the optimized templates in the PR, but it still throws the stupid failed check.
2025-11-29 23:25:38 +01:00
HY
ccdc37dbc3 chore: 更新繁中服部分基建設施截圖 (#14923)
* chore: 更新繁中服部分基建設施截圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: HY <momomochi987@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-29 23:20:27 +01:00
uye
746e62226f Release v5.28.3 (#14920)
## Summary by Sourcery

调整异常日志的基址解析方式,精炼调试文件保留策略,在 CI 中打包 Windows 调试符号,并为新版本更新配置、模板和任务资源。

New Features:
- 在 `txwy` 资源命名空间下,为小游戏与关卡新增全局任务配置。

Enhancements:
- 更改异常基址查找逻辑,以解析当前模块,从而在各平台上提供更精确的栈追踪日志。
- 收紧调试日志默认清理阈值,以减少调试文件的数量和存活时间。
- 根据新版本内容更新资源配置、本地化文件、GUI 资源以及模板优化设置。

CI:
- 在上传为 CI 构建工件前,将 Windows PDB 调试符号压缩为带版本号的 ZIP 存档,并在之后从安装目录中清理这些符号文件。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Adjust exception logging base address resolution, refine debug file
retention defaults, package Windows debug symbols in CI, and update
configuration, templates, and task resources for the new release.

New Features:
- Add new global task configurations for minigames and stages under the
txwy resource namespace.

Enhancements:
- Change exception base address lookup to resolve the current module for
more accurate stacktrace logging across platforms.
- Tighten default debug log cleanup thresholds to reduce the number and
lifetime of debug files.
- Update resource configs, localization files, GUI assets, and template
optimization settings in line with the new release content.

CI:
- Compress Windows PDB debug symbols into versioned ZIP archives before
uploading them as CI artifacts and clean them from the install directory
afterward.

</details>
2025-11-29 21:39:03 +08:00
Status102
784baa5a2a perf: debug下非根路径文件限3日内 (#14919) 2025-11-29 19:05:23 +08:00
github-actions[bot]
849c34c7fe docs: Auto Update Changelogs of v5.28.3 (#14921)
* docs: Auto Generate Changelog of Release v5.28.3

* docs: Auto Update Changelogs of v5.28.3 (#14922)

* Initial plan

* docs: Update CHANGELOG.md for v5.28.3 following generation rules

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Improve changelog text capitalization and formatting

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Append v5.28.3 changelog to existing v5.28.x release notes

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Bump version to v5.28.3 and update highlights

Updated version number and highlighted bug fixes.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-29 18:57:05 +08:00
github-actions[bot]
008252f3c8 chore: Auto Templates Optimization
Triggered by d24bd20919

[skip changelog]
2025-11-29 10:12:16 +00:00
uye
d24bd20919 fix: yj 的小杯 UI 2025-11-29 18:11:37 +08:00
uye
34acc37961 perf: 调整小游戏描述 2025-11-29 17:42:24 +08:00
uye
b2111f7d8b feat: 支持 PV 小游戏从当前关卡开始 2025-11-29 17:24:17 +08:00
uye
ab9faff55b perf: 优化 PV 小游戏部分复杂背景关卡的识别 2025-11-29 17:06:54 +08:00
uye
aaa2cb8fd7 perf: 优化 卫戍协议 流程 2025-11-29 16:42:52 +08:00
uye
9336144892 perf: 优化 PV 小游戏识别范围,提高识别率 2025-11-29 16:42:15 +08:00
uye
131eda9dfb fix: PV 小游戏进入关卡时遇到网络连接会少选烟花样片 2025-11-29 16:11:01 +08:00
uye
f2a3f84180 chore: debug 截图默认保存最近 10 张 2025-11-29 16:00:16 +08:00
status102
629bb9e576 chore: format 2025-11-29 12:24:38 +08:00
HY
56d311ebdb chore: 繁中服「眾生行記」活動導航 (#14908)
Co-authored-by: HY <momomochi987@users.noreply.github.com>
2025-11-29 00:28:41 +08:00
HY
139d812c0b chore: 繁中服「爭鋒頻道:青草城」小遊戲 (#14906)
chore: 繁中服「爭鋒頻道:青草城」

Co-authored-by: HY <momomochi987@users.noreply.github.com>
2025-11-29 00:28:27 +08:00
status102
a373f7bf8e fix: 改漏了 2025-11-28 23:43:29 +08:00
status102
1bb6012cd8 fix: 压缩win平台的pdb文件 2025-11-28 23:37:48 +08:00
status102
426b785b21 fix: MaaCore Base Address 2025-11-28 23:23:38 +08:00
Hao Guan
8ec9023112 feat(mac): PV小游戏 2025-11-28 20:32:45 +08:00
uye
4edf912ecd Release v5.28.2 (#14901) 2025-11-28 18:59:50 +08:00
uye
07c01a6777 docs: 更新 CHANGELOG.md 2025-11-28 18:54:46 +08:00
github-actions[bot]
fbd2a6eb82 chore: Auto Templates Optimization
Triggered by f4f7a9d5a1

[skip changelog]
2025-11-28 10:51:58 +00:00
pre-commit-ci[bot]
f4f7a9d5a1 chore: Auto update by pre-commit hooks [skip changelog] 2025-11-28 10:51:38 +00:00
不留
d1cdd26176 fix: 裁剪 PV 小游戏 06-14 模板图以尽可能提高识别分数 (#14900)
* fix: 裁剪模板图以尽可能提高识别分数

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-28 18:43:24 +08:00
uye
f82ce2acad Release v5.28.1 (#14864)
Important [fix:
regex_error(error_badrepeat)](4861e96ddc)

<img width="1549" height="236" alt="image"
src="https://github.com/user-attachments/assets/0be3c81c-0281-4716-bae2-85a9fc5507db"
/>

My mistake a week ago.
Pushed a typo in the Sami I.S. regex

## Summary by Sourcery

为 v5.28.1 版本发布做准备,包括配置微调、自动化更新和资源刷新。

Bug Fixes:
- 在解析战斗编队前重置 support-unit 使用状态,以避免在多次运行之间出现陈旧状态。
- 在使用扁平化安装(flattened installs)时修正安装配置,确保库路径和安装目标位置设置一致。

Enhancements:
- 为新版本刷新游戏/资源任务定义、关卡元数据以及版本信息。
- 更新模板优化配置,以与当前的资源布局保持一致。

Build:
- 在使用扁平化安装布局时,调整 CMake 配置以设置运行库/链接库的安装目标以及 RPATH。

CI:
- 在 CI、发布、资源同步、网站和维护任务中,将所有 GitHub Actions 工作流更新为使用 actions/checkout v6。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Prepare the v5.28.1 release with configuration tweaks, automation
updates, and resource refreshes.

Bug Fixes:
- Reset support-unit usage state before parsing battle formations to
avoid stale state between runs.
- Correct installation configuration when using flattened installs so
library paths and install destinations are set consistently.

Enhancements:
- Refresh game/resource task definitions, stage metadata, and version
information for the new release.
- Update template optimization configuration to align with the current
resource layout.

Build:
- Adjust CMake configuration to set runtime/library install destinations
and RPATH when using a flattened install layout.

CI:
- Update all GitHub Actions workflows to use actions/checkout v6 across
CI, release, resource sync, website, and maintenance jobs.

</details>
2025-11-28 16:19:52 +08:00
Copilot
58d974184f Release v5.28.1 (#14897)
* Initial plan

* docs: add PV-烟花筹委会 mini-game highlight to v5.28.1 changelog

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: move PV-烟花筹委会 highlight to top section with v5.28.1+ note

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Bump version to 5.28.1 and update changelog

Updated version from 5.28.0 to 5.28.1 and added new features.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-28 16:11:23 +08:00
uye
eebdb0e9f0 docs: Update CHANGELOG for version 5.28.1 2025-11-28 16:02:19 +08:00
uye
18a65f3b39 feat: pv 小游戏 (#14885)
* feat: pv 小游戏架子

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 1-5 关

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: PV 小游戏 06-15 (#14888)

* feat: 06-15

* fix: 15

* fix: templates and threshold

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 小游戏 16-20

* fix: 18-20 导航

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 添加 ui 入口

* fix: 全角数字

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 不留 <weinibuliu@outlook.com>
2025-11-28 15:54:14 +08:00
status102
1d4a84dcca fix: 收集遗漏的MaaCore.pdb和MaaUtils/pdb 2025-11-28 14:36:11 +08:00
status102
69f3919b52 perf: wpf Debug压缩包切片增加时间前缀 2025-11-28 14:33:21 +08:00
github-actions[bot]
96d426f52c chore: Auto Update Game Resources - 2025-11-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19755551218

[skip changelog]
2025-11-28 06:04:54 +00:00
github-actions[bot]
b460703cdd chore: Auto Update Game Resources - 2025-11-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19754997403

[skip changelog]
2025-11-28 05:29:54 +00:00
uye
b7b010f97c fix: 基建换班卡死在无人机使用界面
fix #14751
2025-11-28 01:29:51 +08:00
github-actions[bot]
fdc1184ea0 chore: Auto Update Game Resources - 2025-11-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19740458310

[skip changelog]
2025-11-27 15:03:42 +00:00
DavidWang19
51c5fb44ee feat: 更新界园肉鸽商品列表 (#14882)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-27 12:27:00 +00:00
github-actions[bot]
ffbb46ba52 chore: Auto Update Game Resources - 2025-11-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19734077676

[skip changelog]
2025-11-27 11:03:19 +00:00
不留
d025969c82 refactor: 改进 ImageCropper (#14762)
* fix: 修复 ImageCropper 循环异常退出的问题

* feat: 允许 ADB 为空

* fix: 修复 input 为空时的异常

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 规范变量命名

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-27 18:25:42 +08:00
github-actions[bot]
c9f3fb8053 chore: Auto Templates Optimization
Triggered by 9c2d6c3a30

[skip changelog]
2025-11-27 09:15:39 +00:00
uye
9c2d6c3a30 rft: 整理截图 2025-11-27 17:14:54 +08:00
github-actions[bot]
efda298a11 chore: Auto Templates Optimization
Triggered by fec5edd021

[skip changelog]
2025-11-27 08:11:27 +00:00
uye
fec5edd021 chore: 重命名文件夹 2025-11-27 16:08:57 +08:00
github-actions[bot]
ede4cd526e chore: Auto Update Game Resources - 2025-11-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19727964321

[skip changelog]
2025-11-27 07:04:13 +00:00
uye
8ac9610d66 chore: Update bug report template to simplify instructions
Removed redundant instruction about uploading error images from the debug directory.
2025-11-27 03:47:42 +08:00
uye
838790a6a1 chore: Refine descriptions in en-bug-report.yaml
Updated descriptions in the bug report template for clarity and formatting.
2025-11-27 03:46:50 +08:00
uye
cef398b417 chore: Update descriptions in cn-bug-report.yaml 2025-11-27 03:43:03 +08:00
github-actions[bot]
f09dbd2f49 docs: Auto Update Changelogs of v5.28.1 (#14879)
* docs: Auto Generate Changelog of Release v5.28.1

* [WIP] Update changelogs for version v5.28.1 (#14881)

* Initial plan

* docs: Update CHANGELOG.md following changelog generation guidelines

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG with recent fixes and improvements

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-27 03:37:46 +08:00
uye
46b8d41998 rft: 整理一下截图 (#14878)
* rft: 整理一下截图

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-27 02:59:56 +08:00
SherkeyXD
695ca69da6 chore: remove and sort usings (#14877) 2025-11-27 02:55:57 +08:00
DavidWang19
84fe358011 feat: 更新肉鸽协议文档和界园肉鸽商品列表 (#14873)
* feat: 更新肉鸽协议文档和界园肉鸽商品列表

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 将no修改为No

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-27 02:54:58 +08:00
uye
c4b363da3d feat: 刷理智失败次数达到上限时报错 2025-11-27 01:28:32 +08:00
uye
3177e2a51d fix: 功能入口 (#14872)
* fix: 功能入口

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 调整任务

* chore: 重试时只检测对应主题

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-27 01:03:02 +08:00
travellerse
46cea84d7d fix: 避免通宝插件通过任务链作用到通宝以外的地方 (#14867) 2025-11-27 00:35:27 +08:00
Rbqwow
753637609d docs: issue模板修改25mb压缩包上传提示 (#14850)
* docs: 25mb

* i18n: add 25MB upload limit message to English bug report template (#14858)

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-27 00:34:20 +08:00
Constrat
4861e96ddc fix: regex_error(error_badrepeat) 2025-11-25 21:39:56 +01:00
status102
2003772ddf fix: 重置助战干员为未编入
link to #14859
2025-11-26 00:53:41 +08:00
github-actions[bot]
8c76a62230 chore: Auto Update Game Resources - 2025-11-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19677269535

[skip changelog]
2025-11-25 16:49:03 +00:00
uye
3511a426de chore: 调整 StartToVisit 阈值
fix #14853

相关工作项: #14
2025-11-25 16:01:25 +08:00
MistEO
9f8da17db1 build: set RPATH_LIBRARY_INSTALL_DIR (#14854) 2025-11-25 13:22:41 +08:00
github-actions[bot]
4eff74e5b1 chore: Auto Templates Optimization
Triggered by fdb89a6d4e

[skip changelog]
2025-11-24 16:43:56 +00:00
uye
fdb89a6d4e fix: 齐聚主题会在基建同时存在红蓝两个提示的时候无法进入
fix 14746
2025-11-25 00:43:27 +08:00
MistEO
8a73d922e0 feat: update meojson to v5.0.0 (#14849) 2025-11-25 00:29:46 +08:00
dependabot[bot]
36084974d1 ci: bump actions/checkout from 5 to 6 in /.github/workflows in the github-actions group (#14847)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 23:39:04 +08:00
uye
27027dbdfa Release v5.28.0 (#14833)
发正式版,先别进新东西

## Summary by Sourcery

Prepare battle processing, vision handling, roguelike copper management,
and CI smoke testing for the v5.28.0 release.

Bug Fixes:
- Allow skill usage actions to correctly handle drone deployments by
mapping tile locations to dynamically registered operator names.
- Prevent region-of-interest calculations from exceeding image bounds by
clamping rectangles safely and logging out-of-range inputs.
- Avoid smoke-test workflow failures when cache key generation fails by
making the step non-fatal and guarding cache restore on a valid key.

Enhancements:
- Centralize registration of deployed operators into a reusable helper
to keep battlefield state consistent.
- Standardize logging in the roguelike coppers task plugin to use the
project logging macros and clean up unused includes.
2025-11-24 16:55:52 +08:00
github-actions[bot]
d828cdb078 docs: Auto Update Changelogs of v5.28.0 (#14836)
* docs: Auto Generate Changelog of Release v5.28.0

* docs: Optimize changelog formatting and organization for v5.28.0 (#14837)

Reformatted changelog entries to follow project conventions: merged
related commits, fixed CJK/Latin number spacing, reordered sections by
language, clarified vague descriptions, and added Highlights section.

**Changes:**

* **Added Highlights section** - Created bilingual (Chinese/English)
highlights focusing on 5 key user-facing improvements:
  1. Task error log screenshot viewing on hover for intuitive debugging
2. Debug screenshot packaging with multi-volume support (20 MB per
volume) for flexible uploads
  3. Smart auto support unit borrowing when only one operator is missing
  4. Optimized auto-battle page layout
5. Integrated Strategies fixes (boss recognition, Tongbao parsing, event
recognition, task chains)
* **Merged duplicate entries** - Combined 3 "Release beta.2" PRs, 2
"Auto Update Changelogs", and related bug fixes (e.g., 通宝解析 fixes
#14802/#14820/#14829)
* **Fixed number spacing** - Added spaces around numbers in mixed
CJK/Latin text per convention (e.g., "第三层" → "第 3 层", "8识别成g" → "8 识别成
g")
* **Reordered sections** - Chinese entries first, English-only entries
last within each category
* **Improved clarity** - Replaced vague commit messages with descriptive
text (e.g., "投资入口不知道为啥没点进去" → "投资入口识别失败")
* **Fixed categorization** - Moved "修复 '入暂亭' 事件" from Improved to Fix
section

Removed uninformative entries like "擦屁股", "unused", "去掉勾选框" that don't
describe actual changes.

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

* feat: Revise changelog for version 5.28.0

Updated highlights and added new features for better debugging and auto-battle experience.

* doc: Update CHANGELOG.md for recent feature enhancements

* doc: Update CHANGELOG with recent fixes and optimizations

* docs: Revise CHANGELOG for clarity and detail

Updated the CHANGELOG with improved error handling descriptions and clarified features for 'Generate Support Payload' and 'Copilot'.

* docs: changelog

* docs: Update CHANGELOG with recent fixes and optimizations

* chore: EN issues address

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-11-24 16:47:56 +08:00
Copilot
a778ff84d9 fix: propagate errors from parallel downloads in res-update-game workflow (#14794)
* Initial plan

* fix: properly handle errors in parallel downloads for stages.json

Co-authored-by: AnnAngela <9762652+AnnAngela@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AnnAngela <9762652+AnnAngela@users.noreply.github.com>
2025-11-24 09:30:03 +01:00
uye
95133cfeae fix: 部分名片无法进入线索交接
fix #14841
2025-11-24 14:40:26 +08:00
github-actions[bot]
4f7ba196c3 chore: Auto Update Game Resources - 2025-11-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19624349036

[skip changelog]
2025-11-24 05:29:59 +00:00
travellerse
e4644f7d2f fix: 修复放弃通宝的后续任务逻辑 (#14840) 2025-11-24 13:28:03 +08:00
uye
12846c9689 fix: 移除传入的 save_cnt 参数 2025-11-24 13:22:58 +08:00
github-actions[bot]
4fef683612 chore: Auto Templates Optimization
Triggered by a0547bee50

[skip changelog]
2025-11-24 05:11:49 +00:00
uye
a0547bee50 fix: 在未进入缩小的全局总览的时可能进错宿舍 2025-11-24 13:11:20 +08:00
pre-commit-ci[bot]
9f0e6e104c chore: Auto update by pre-commit hooks [skip changelog] 2025-11-24 05:00:32 +00:00
uye
e0b67b1523 fix: 大括号位置错误 2025-11-24 12:57:35 +08:00
uye
31520afb37 fix: image 长宽等于 0 时提前返回 2025-11-24 12:48:08 +08:00
uye
bf30c84b4f chore: 完全越界时报 error 2025-11-24 02:46:18 +08:00
uye
5c6f654762 fix: 避免输出空矩阵 2025-11-23 16:23:50 +08:00
uye
127d3a670c perf: 简化 ROI 修正逻辑 2025-11-23 16:15:10 +08:00
Status102
58d001744e feat(MaaCore): Copilot支持切换技能用法使用坐标 (#14818)
* feat: 支持切换技能用法使用坐标

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: usage

* fix: const ref

* perf: capture

* fix: case define

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-23 15:55:13 +08:00
status102
0d3a7ba48f fix: unused 2025-11-23 15:28:23 +08:00
status102
9b8686778d chore: 移除部分无需的include 2025-11-23 13:48:07 +08:00
晓丶梦丶仁
61489e4890 fix: KR 引航 2025-11-23 12:43:51 +08:00
uye
16bccd9876 fix: 擦屁股 2025-11-23 02:29:54 +08:00
uye
30fcea747b fix: StartUp 为什么要进终端 2025-11-23 01:54:52 +08:00
MistEO
44aec32649 ci: continue on bad cache key 2025-11-22 22:48:20 +08:00
uye
3cfcffbe16 Release v5.28.0-beta.2 (#14831)
一波三折!

## Summary by Sourcery

CI:
- Allow GitHub Actions cache steps to continue on error across multiple
workflows, preventing cache failures from breaking CI runs.
2025-11-22 22:42:58 +08:00
MistEO
3bec98b7ce ci: continue on error for all actions/cache 2025-11-22 22:23:36 +08:00
MistEO
889313fe36 ci: continue on cache maadeps error 2025-11-22 22:19:06 +08:00
uye
9db5f5a43b Release v5.28.0-beta.2 (#14827)
## Summary by Sourcery

Tighten roguelike copper exchange handling and improve debugging support
for copper recognition issues.

Bug Fixes:
- Ensure exactly one copper is detected in the left column during
exchange mode and fail fast otherwise.
- Fix the created copper’s position and logging to consistently use the
top-left slot coordinates.
- Stop silently continuing when copper creation fails by treating it as
a hard failure.

Enhancements:
- Add debug image capture for unexpected left-column copper counts and
for newly detected coppers.
- Always compile the copper detection debug drawing and image-saving
helpers regardless of debug flags.

Documentation:
- Update the documented path for saved debug images when unknown copper
names are encountered.
2025-11-22 21:42:40 +08:00
travellerse
d3f038b1ce fix: 修正通宝识别中的坐标 (#14829)
* fix: 修正通宝识别中的坐标

* fix: 添加Sarkaz关掉进入事件窗口的模板
2025-11-22 21:39:43 +08:00
travellerse
46d0fd2e5c fix: 处理左侧通宝解析失败的情况 (#14820)
* fix: 处理左侧通宝解析失败的情况

* fix: 更新调试图像保存路径至 debug/roguelike/coppers/unknown 目录

* fix: 优化通宝处理逻辑

* fix: 限制一下变量作用域

* fix: 移除ASST_DEBUG
2025-11-22 20:57:09 +08:00
github-actions[bot]
2503f2bc68 chore: Auto Update Game Resources - 2025-11-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19594191480

[skip changelog]
2025-11-22 10:28:05 +00:00
uye
de8634bf29 Release v5.28.0-beta.2 (#14800)
## Summary by Sourcery

Improve copilot configuration UX, extend roguelike (JieGarden)
automation with copper handling, and refine tooling, workflows, and
diagnostics for better stability and observability.

New Features:
- Add structured JSON-based configuration with popup editor for copilot
user additional operators, including optional skill and module fields.
- Introduce automated JieGarden copper pickup and exchange logic with
dedicated analyzers and config to optimize in-run decisions.
- Add UI theme task generation and image moving utilities to support
multi-theme homepage templates.

Bug Fixes:
- Ensure copilot log tooltips are closed and cleaned when clearing logs
to avoid lingering UI artifacts.
- Fix fight times unused warning trigger conditions so it only logs when
a finished run has remaining configured runs.
- Wait for reserve recruitment confirmation to disappear in JieGarden
recruit flow to prevent premature termination.
- Honor first-floor foldartal and start-with-elite-two flags correctly
so rerolling and early-exit behaviors are coordinated.
- Prevent GetImageFromROI cutter from crashing on unreadable images and
ensure crop regions are correctly resolved from base tasks.
- Handle GitHub API rate limiting and missing outputs more robustly in
the changelog generator and resource update workflows.

Enhancements:
- Refine copilot formation and support usage options, including a toggle
for support unit usage and updated formation index naming.
- Export operator box data including missing operators with default
metadata instead of only current user-stored entries.
- Warn users in logs when an outdated GPU driver is detected and include
localized messaging.
- Improve roguelike Bosky Passage routing by closing obstructive popups
before updating the map.
- Make InterfaceTask capture debug screenshots on failure to aid
troubleshooting.
- Simplify and harden changelog generation by restructuring commit
categorization, contributor resolution, and tree building logic.
- Modernize ROI-based image cutter to work off UiTheme task JSONs,
propagate shared crop docs, and respect per-template filenames.

Build:
- Adjust Windows nightly OTA CMake configuration to build with
RelWithDebInfo and publish PDB debug symbols for components.

CI:
- Tighten game resource download workflow with failing curl on HTTP
errors, coordinated job waiting, simpler artifact retries, and smarter
failure-comment management on the dev branch.

Documentation:
- Document JieGarden copper configuration schema and automatic
pickup/exchange behavior in the integrated strategy protocol docs.
- Clarify SECURITY policy to state that only the latest v5 stable
release receives security support.
2025-11-22 18:20:27 +08:00
github-actions[bot]
2e3fe293e6 docs: Auto Update Changelogs of v5.28.0-beta.2 (#14801)
* docs: Auto Generate Changelog of Release v5.28.0-beta.2

* docs: Optimize changelog formatting for v5.28.0-beta.2 (#14819)

* Initial plan

* docs: Optimize changelog formatting for v5.28.0-beta.2

- Merge similar commits (e.g., OCR replacement commits)
- Add spaces around numbers in Chinese/English mixed text (GPU, OCR, 20 MB)
- Sort entries: Chinese first, then English within each module
- Merge template optimization entries
- Optimize commit descriptions for clarity

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG with recent improvements and fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-22 18:18:38 +08:00
萨拉托加
c1cb1ee978 fix: 肉鸽问题修复 (#14654)
* perf: 萨米界园肉鸽添加并优化暂时撤退逻辑

* perf: 萨卡兹肉鸽关掉进入事件可能弹出的窗口

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: RolesConfirm不知道为啥点不进去

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-22 18:12:15 +08:00
uye
fc61ff8ea2 rft: 统一存截图 (#14825)
* rft: 统一存截图

* rft: 漏网之鱼

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 静态锁

* chore: map 改为全局

* fix: 避免溢出

* chore: 怎么整得这么麻烦

* perf: 避免额外std::format

* fix: ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-11-22 18:11:42 +08:00
Manicsteiner
285628a293 fix: copilot file name (#14821) 2025-11-22 14:24:17 +08:00
github-actions[bot]
8e906402fb chore: Auto Update Game Resources - 2025-11-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19582060835

[skip changelog]
2025-11-21 20:04:04 +00:00
uye
cf0a248ae1 ci: Update tools/ChangelogGenerator/changelog_generator.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-11-22 02:47:23 +08:00
uye
f232eacbb4 fix: 单文件模式下总是传递借助战 2025-11-22 02:44:17 +08:00
travellerse
c52f79cbaa fix: 修复界园树洞偶发点击到剩余烛火,导致无法进入下一个节点 (#14806)
* fix: 修复界园树洞偶发点击到剩余烛火,导致无法进入下一个节点

* rft: 使用task任务替代Matcher

* fix: 将弹窗检测置于节点识别前

* fix: 将检测任务retry_times设为0
2025-11-22 02:41:03 +08:00
uye
0978c10dca chore: 分卷压缩包大小改成 20 MB 2025-11-22 02:39:52 +08:00
Status102
b697fdc2c7 feat: MaaCore主任务错误时保存截图 (#14812)
* feat: MaaCore主任务错误时保存截图

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-22 02:33:31 +08:00
uye
5c37d751c7 perf: 优化自动战斗界面显示 (#14795)
* perf: 优化自动战斗界面显示

* fix: 不勾选战斗列表时也会吃理智药

* i18n: KR

* i18n: 加個空白

* i18n: EN

* i18n: JP

* rft: 使用自动换行

* style: increase size a bit

* perf: 优化界面布局

* rft: UserAdditional 改为序列化存储,增加自选模组

* fix: 列表过长时超链接无法显示

* perf: 未激活追加自定干员也可以进行编辑

* perf: 战斗列表自适应宽度

* chore: 按钮放上面

* perf: 优化日志栏宽度,占用 1/2 或 2/5

* perf: 突袭改成用背景色提示

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-11-22 02:30:44 +08:00
pre-commit-ci[bot]
07982cfebd chore: Auto update by pre-commit hooks [skip changelog] 2025-11-21 12:57:53 +00:00
SherkeyXD
ca21c9bcca chore: 更新多模板截图工具 2025-11-21 20:54:50 +08:00
github-actions[bot]
fbeed8083f chore: Auto Update Game Resources - 2025-11-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19541308413

[skip changelog]
2025-11-20 15:03:33 +00:00
Rbqwow
9ae8ca3ba8 feat: 为GPU加速添加超过两年的驱动版本检测 (#14690)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-11-20 14:45:55 +00:00
SherkeyXD
b70d6b6b7f rft: 拆分多主题识别任务 (#14774)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: DavidWang19 <dwang0340@gmail.com>
2025-11-20 13:34:02 +00:00
Hao Guan
d6dbbf194f i18n(mac): KR 2025-11-20 18:38:49 +08:00
Hao Guan
fe134e2587 chore(mac): 修复UI细节 2025-11-20 16:58:49 +08:00
github-actions[bot]
b3539e6f27 chore: Auto Update Game Resources - 2025-11-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19528514707

[skip changelog]
2025-11-20 07:03:47 +00:00
Manicsteiner
3f06c13ff8 chore: SSS#8 for global (#14803) 2025-11-19 17:59:56 +01:00
Constrat
036f1c55ae fix: reduce template size for QuickFormation RL 2025-11-19 17:37:56 +01:00
Constrat
bba94660d7 perf: optimize templates 2025-11-19 17:36:37 +01:00
uye
0963e88112 fix: RA 导航错误 2025-11-19 23:15:16 +08:00
uye
bbb48127ff rft: 调整 ExportOperBox 内的变量命名与结构 2025-11-19 23:08:49 +08:00
travellerse
88acc9e83d fix: 修复通宝配置解析逻辑 (#14802) 2025-11-19 23:03:52 +08:00
SherkeyXD
38a7710387 style: changelog 生成器格式化 2025-11-19 20:30:53 +08:00
github-actions[bot]
9a7318942c feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19498803186
[skip changelog]
2025-11-19 10:54:03 +00:00
萨拉托加
48bb385211 fix: 从主页进入终端点过头后返回 (#14698)
* fix: 从主页进入终端点过头后返回

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-19 18:52:16 +08:00
Weiyou Wang
cb897863f6 fix: 修复集成战略萨米主题下凹密闻板相关功能 (#14755) 2025-11-19 18:50:32 +08:00
travellerse
d25f8e934c fix: 保存招募券结束后等待确认招募按钮消失 (#14773)
* fix: 保存招募券结束后加点延时

* fix: 增加确认招募按钮消失的等待逻辑

* fix: 添加确认按钮未消失时继续招募流程
2025-11-19 18:50:03 +08:00
uye
5d75c247be ci: 更新下 changelog 2025-11-19 18:49:23 +08:00
travellerse
f08fdd0548 fix: 修正不期而遇事件名ocr以区分禳解的三个相近选项 (#14799) 2025-11-19 18:11:02 +08:00
status102
06f793cf59 ci: nightly版恢复pdb文件生成及上传 2025-11-19 17:47:38 +08:00
status102
8b61cac331 fix: 刷理智指定次数未完全消耗警告在剩余理智也会提示 2025-11-19 16:51:51 +08:00
status102
807a3d472d fix: 干员识别复制结果到剪贴板时丢失未拥有干员 2025-11-19 15:53:27 +08:00
status102
4a71452841 fix: 移除过旧的add_user_additional参数弃用提示 2025-11-19 15:53:05 +08:00
github-actions[bot]
d5b6d2fe60 chore: Auto Update Game Resources - 2025-11-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19493348827

[skip changelog]
2025-11-19 07:28:02 +00:00
travellerse
ac7d449584 feat: 适配界园肉鸽通宝交换 (#13835)
* feat: 初步实现界园肉鸽通宝交换

* feat: 实现通宝交换后弹窗点击

* fix: 使用ocr作为通宝交换完成的标志

* fix: 给通宝弹窗确认的 pre_task 加上 postDelay

* fix: 小错误修改

* fix: 添加ocrReplace

* feat: 给通宝赋予临时权重,之后再改

* refactor: 重构通宝任务插件,拆分复杂的_run

* fix: 修正通宝选择点击错误

* refactor: 把滑动函数改回直观

* feat: 新增已投出时的通宝丢弃权重

* fix: 更新通宝名称匹配规则

* chore: 增加注释和日志输出

* chore: 添加调试截图保存

* fix: 清理未使用的参数

* fix: 微调通宝权重

* fix: 修正保存截图过多

* fix: 修复Rect不匹配造成的错误

* fix: 调整debug截图

* fix: 修正选择通宝时位置错误

* fix: 修复刷不交换通宝时无法退出

* fix: 修改`已投出`识别得分的绘制位置

* fix: 启用不期而遇`饕餮廊`获取通宝

* fix: 调整通宝识别区域宽度

* fix: 添加`厉-安硕` -> `厉-安硕鼷`的替换

* fix: 为通宝名称未匹配产生的debug截图添加方框

* fix: 修正debug截图方框位置

* fix: 清理无用的ocrReplace

* fix: 删除通过任务给插件传递特殊参数

* fix: 增加"衡-霹雳"和"花-圣诏封神"的ocr替换

* docs: 添加界园肉鸽通宝交换文档

* fix: 默认刷开局模式交换通宝

* fix: 删除未使用的通宝列表行数变量

* fix: 通宝交换完成识别增加延迟

* fix: 增加"衡-军屯垦"的ocr替换

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 修正调试图像保存路径

* perf: 优化通宝创建逻辑

* refactor: 更新通宝任务模式名称

* refactor: 更新通宝稀有度键值

* chore: 更新通宝优先级

* fix: 通宝列表匹配时可能会将y轴间隔覆盖为0

* perf: 将交换通宝的信息发送到wpf

* perf: 将通宝调试截图改为jpeg

* fix:  添加"衡-旱热"的ocr替换

* refactor: 传递任务执行结果

* feat: 初步动态识别通宝列表

* perf: 将期望为空的识别逻辑改为期望匹配到

* chore: 为通宝类型模板添加mask

* refactor: 重构通宝识别逻辑

* refactor: 提取保存调试图像

* refactor: 使用std::format优化日志输出

* refactor: 收尾

* chore: 微调滑动距离

* fix: 忘了加maskRange了

* chore: 保留score小数点后六位

* fix: 修复神秘的点击停止后卡死问题

* docs: 更新文档

* docs: 添加通宝识别流程示意图

* fix: 更新通宝稀有度定义

* chore: 添加通宝交换模式的图片示意注释

* chore: 加点注释

* perf: 预分配通宝和检测结果的空间

* chore: 优化运行时状态变量注释

* fix: 仅在确实已被投出时绘制已投出的调试方框

* fix: 修正坐标变量名称以符合语义

* perf: 滑动误差较大时额外滑动一次进行回正

* fix: 仅在缓慢滑动时校准位置

* refactor: 优化通宝列表滑动

* fix: 尝试修复偶发通宝最后一列无法识别

* fix: 移除了 999

* fix: 进一步修复滑动

* chore: 更新未知通宝调试图像保存路径

* fix: 更改调试截图保存位置和matcher使用图片初始化

* fix: 添加"厉-一字落"的ocr替换

* fix: 适配MaaUtils的更改

* chore: 调整任务顺序

* chore: 添加通宝重投和开关钱盒任务配置

* chore: 文件头/注释调整

* rft: meojson反序列化

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 替换部分新log输出

* i18n: KR

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-11-19 15:22:33 +08:00
Weiyou Wang
e9bc53cb6d fix: 上调助战栏位匹配分数阈值 (#14796) 2025-11-18 21:54:06 +00:00
AnnAngela
990907fdb1 chore: Revise security support to only include v5 [skip changelog]
Updated security policy to indicate support only for v5.
2025-11-18 23:45:13 +08:00
Constrat
a4ca4ffda9 ci(testing): game resource update error comment tweaks and changes 2025-11-18 16:11:14 +01:00
AnnAngela
8e9c648f0e ci: Change curl command to fail on error
cc @Constrat
2025-11-18 22:31:57 +08:00
github-actions[bot]
b2231e3392 chore: Auto Templates Optimization
Triggered by 70075152df

[skip changelog]
2025-11-18 12:11:17 +00:00
uye
70075152df fix: 通关角标 2025-11-18 20:10:38 +08:00
travellerse
d8000250dc fix: 添加不期而遇事件名ocr替换 (#14588)
* fix: 添加不期而遇事件名ocr替换

* fix: 添加"找黍溯果"的ocr替换

* fix: 更新JieGarden的OCR替换规则
2025-11-18 19:58:13 +08:00
Constrat
37299f8758 fix: Sami IS EN 3rd floor regex 2025-11-18 11:39:52 +01:00
github-actions[bot]
bdd747fe2a chore: Auto Update Game Resources - 2025-11-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19457757314

[skip changelog]
2025-11-18 07:27:47 +00:00
status102
e71ade9573 chore: 路径迁移 2025-11-18 15:19:25 +08:00
Constrat
b77b8e55e5 fix: regex AD navigation EN 2025-11-17 20:06:48 +01:00
AnnAngela
222af5e23c ci: Simplify resource update workflow (#14785)
* ci: Simplify resource update workflow

Removed unnecessary delay and re-download steps for resources.

* ci: Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ci: Remove continue-on-error from download steps

Removed 'continue-on-error' option from multiple download steps.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 17:41:08 +01:00
github-actions[bot]
0014167468 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19412598245
[skip changelog]
2025-11-16 21:52:53 +00:00
uye
56a83bb8d7 feat: 清日志的时候把 ToolTip 手动清除一下 2025-11-16 03:32:39 +08:00
uye
fe71d9ea1c Release v5.28.0-beta.1 (#14767) 2025-11-16 03:13:09 +08:00
github-actions[bot]
565b8fa7f9 docs: Auto Update Changelogs of v5.28.0-beta.1 (#14768)
* docs: Auto Generate Changelog of Release v5.28.0-beta.1

* docs: Optimize changelog formatting for v5.28.0-beta.1 (#14769)

* Initial plan

* docs: Optimize changelog formatting per review guidelines

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG for v5.28.0-beta.1

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-16 03:02:46 +08:00
uye
b71f0b0a9f feat: 卫戍协议:盟约 小游戏 (#14763)
* feat: 卫戍协议:盟约 小游戏

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 调整描述

* chore: Auto update by pre-commit hooks [skip changelog]

* i18n: EN tweak

* i18n: KR tweak

* i18n: EN tweak

* feat: mac 卫戍协议:盟约

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-11-16 02:42:44 +08:00
Weiyou Wang
abe9affa44 fix: 进一步调整 WpfGui 助战选项显示布局 2025-11-16 00:32:14 +11:00
uye
e20508d46e fix: 自动借助战错误显示 2025-11-15 20:17:20 +08:00
HX3N
6427fdd609 i18n: KR tweak SupportUnitUsage translation 2025-11-15 13:20:51 +09:00
Status102
5c86b4b875 docs: integration zh可读性增强 (#14756)
docs: integration zh可读性增强 (#14754)

* docs: integration zh可读性增强

* docs: 再加一点

* docs: all in

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 去掉点多余的换行

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-14 22:22:48 +08:00
uye
c3f870e51e fix: 干员识别包含 盟约·辅助干员 和 领主·Sharp 2025-11-14 18:49:32 +08:00
github-actions[bot]
b99f1d4776 chore: Auto Templates Optimization
Triggered by 0d13aed500

[skip changelog]
2025-11-14 09:03:43 +00:00
github-actions[bot]
0d13aed500 chore: Auto Update Game Resources - 2025-11-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19359577330

[skip changelog]
2025-11-14 09:03:16 +00:00
Manicsteiner
5a1ea3c186 fix: JP paradox 2025-11-14 16:30:38 +08:00
github-actions[bot]
2c8c319657 chore: Auto Update Game Resources - 2025-11-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19358208540

[skip changelog]
2025-11-14 08:03:37 +00:00
Weiyou Wang
26a20755e1 rft: 修复、改进自动借助战功能 (#11105) 2025-11-14 14:20:45 +11:00
Weiyou Wang
e29d802c08 fix: 简化萨米肉鸽 "诡秘的预感" 相关任务链 (#14749) 2025-11-14 12:17:13 +11:00
Weiyou Wang
a84e87f5e7 fix: 给 open_series_list 加上失败截图机制 (#14693) 2025-11-14 12:16:41 +11:00
Weiyou Wang
6662457428 refactor: 修复 "入暂亭" 事件 (#14684) 2025-11-14 12:16:03 +11:00
Weiyou Wang
95ea200ede fix: 防止生息演算重置地图视图时因截图延迟卡死 (#14721) 2025-11-14 12:15:17 +11:00
Status102
3ded8b574a chore: 向MaaCore工程增加tasks文件以便检索 (#14731)
* chore: 向MaaCore增加tasks文件

* chore: 支持global
2025-11-14 01:23:24 +08:00
Manicsteiner
d11582f39f chore: JP ocr edits (#14748) 2025-11-13 17:02:25 +01:00
github-actions[bot]
eedee9e6ee chore: Auto Update Game Resources - 2025-11-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19337134611

[skip changelog]
2025-11-13 15:44:31 +00:00
github-actions[bot]
0a768d8804 chore: Auto Update Game Resources - 2025-11-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19326795251

[skip changelog]
2025-11-13 09:28:33 +00:00
HX3N
0ff3492415 fix: KR AD navigation (#14742) 2025-11-13 09:19:11 +01:00
Weiyou Wang
a4d4e39257 fix: ocrReplace for EN (#14740)
Co-authored-by: 萨拉托加 <151550168+saratoga-official@users.noreply.github.com>
2025-11-13 09:18:35 +01:00
github-actions[bot]
89ab18ea6c chore: Auto Update Game Resources - 2025-11-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19324207913

[skip changelog]
2025-11-13 07:43:04 +00:00
萨拉托加
332592d998 fix: 肉鸽可能卡进剧目获取界面和收藏品界面
fix #14723
2025-11-13 14:53:16 +08:00
uye
6a931760d6 feat: 去掉勾选框 2025-11-12 22:11:13 +08:00
status102
f0a509fb6f perf: std::signal 自动舍弃 abort / terminate 上方栈 2025-11-12 20:04:53 +08:00
Lucien Shaw
f096131e12 ci: 修正一个cli相关的action的输入 (#14730)
ci: 修正cli使用的一个action的输入
2025-11-12 09:08:51 +01:00
uye
8240390a8b chore: git blame 忽略 "c# 统一使用文件范围限定的 namespace"
[skip changelog]
2025-11-12 16:05:35 +08:00
Weiyou Wang
80c8f03b24 docs: 自动战斗文档添加 copilot_list, is_raid, is_paradox, loop_times 注释 2025-11-12 15:12:46 +08:00
uye
39a89f6361 rft: 日志汇报打包 debug 截图,支持分卷,修改存储路径 2025-11-12 14:15:18 +08:00
Weiyou Wang
74cad75e74 fix: build WpfGui for ARM architecture (#14722) 2025-11-12 12:27:02 +08:00
uye
376e929d96 feat: 任务错误日志鼠标悬浮可以查看出错时截图 2025-11-12 11:27:00 +08:00
萨拉托加
d370b5d5fe fix: 关卡复核会把8识别成g 2025-11-12 09:57:21 +08:00
Weiyou Wang
e2ac3ff4e4 fix: 肉鸽允许跳过招募组合直接开始初始招募 (#14713)
fix: 允许跳过招募组合直接开始初始招募
2025-11-12 09:12:38 +08:00
MistEO
1c233d21c4 ci: include prerelease for release-package-distribution
https://github.com/pozetroninc/github-action-get-latest-release

default 	"prerelease, draft"
2025-11-12 01:28:43 +08:00
MistEO
b7cca46076 ci: remove permissions restrictions 2025-11-12 01:23:51 +08:00
Lucien Shaw
bfacd31911 ci: 支持winget软件分发 (#14667)
* ci: 测试winget-releaser

* ci: 暂时禁用mirrorchyan

* Revert "ci: 暂时禁用mirrorchyan"

This reverts commit 83550ac47f.

* ci: release分发工作流支持指定tag

* ci: 修复判断语句

* ci: 修改主工作流的release分发部分

* ci: 添加权限

* ci: 设置默认版本tag为空

* ci: 尝试修复空版本号带来的问题

* ci: 使用独立工作流设置release tag

* ci: 补全仓库名称

* ci: 优化gh workflow run调用语句

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* style: 添加空格

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ci: use secrets and repos of MAA

* ci: 更新secrets名称

* ci: 版本分发工作流重命名

* ci: 匹配的名称变更

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 01:04:55 +08:00
萨拉托加
714e8e5511 fix: 投资入口不知道为啥没点进去 2025-11-11 23:26:40 +08:00
uye
0179825ff8 fix: 无法区分界园肉鸽第三层与第五层 boss、界园肉鸽第五层 boss 前暂停设置无效
fix #14641
2025-11-11 22:49:03 +08:00
uye
3fa5aa028a Release v5.27.4 (#14717)
有猪没合 changelog

## Summary by Sourcery

Update CHANGELOG.md to release version 5.27.4, detailing new features,
improvements, bug fixes, and other changes.

New Features:
- Add duplicate name check for auto battle groups
- Add difficulty selection tip for Guiyuan command squad savings
- Add minigame entry point on macOS

Bug Fixes:
- Fix monthly squad failing to auto-switch
- Improve recognition matching for the “gather” theme
- Fix unintended clicks in roguelike mode (double-speed and ClickToDrops
issues)

Enhancements:
- Update extreme efficiency one-day three-shift schedule table
(2025-11-11 revision)

Documentation:
- Bump version to v5.27.4 and document release notes in CHANGELOG.md

Chores:
- Update Dependabot CI members
- Preload ads for Global build
2025-11-11 22:06:23 +08:00
github-actions[bot]
6192e7d02b docs: Auto Update Changelogs of v5.27.4 (#14715)
* docs: Auto Generate Changelog of Release v5.27.4

* Initial plan

* Update CHANGELOG.md for v5.27.4

- Merge similar commits into single lines
- Sort entries within each category
- Preserve original changelog content (v5.27.3 and earlier)

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* Move v5.27.4 section to end of changelog

Patch version content should be placed at the end, after other v5.27.x patches, not at the beginning.

Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>

* docs: Update CHANGELOG for version 5.27.4

Updated version number to v5.27.4 and modified highlights, new features, improvements, and fixes sections.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ABA2396 <99072975+ABA2396@users.noreply.github.com>
2025-11-11 22:03:13 +08:00
uye
e5c48504cd Release v5.27.4 (#14714)
## Summary by Sourcery

Add duplicate detection in battle formation parsing with UI reporting,
refactor Roguelike plugin parameter loading, update CI action versions,
and adjust Dependabot assignees.

Bug Fixes:
- Prevent duplicate groups in battle formation and report parse failures
- Add UI handler to log BattleFormationParseFailed messages

Enhancements:
- Store deep_exploration_auto_iterate flag in Roguelike plugin and
simplify mode check
- Upgrade GitHub Actions versions for release and artifact upload
- Add lucienshawls to Dependabot assignees
2025-11-11 22:02:26 +08:00
github-actions[bot]
9b1bd1c70a chore: Auto Templates Optimization
Triggered by 5be311282e

[skip changelog]
2025-11-11 13:51:08 +00:00
uye
5be311282e perf: 优化齐聚主题模板图 2025-11-11 21:50:41 +08:00
萨拉托加
bb2325babc fix: 肉鸽ClickToDrops可能会点到藏品栏 2025-11-11 21:37:15 +08:00
github-actions[bot]
60fd50a3e5 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19267340013
[skip changelog]
2025-11-11 13:35:49 +00:00
Constrat
4efef06aaa chore: update dependabot with ci members 2025-11-11 14:31:11 +01:00
dependabot[bot]
2bad5258e2 ci: bump the github-actions group in /.github/workflows with 2 updates (#14705)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

Updates `softprops/action-gh-release` from 2.4.1 to 2.4.2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.4.1...v2.4.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-11 14:26:45 +01:00
uye
7941a599e9 fix: 月度小队无法自动切换 2025-11-11 20:30:30 +08:00
Zsm1n
0066d3364e perf: 更新 243 极限效率一天三换排班表(20251111 修订) (#14708) 2025-11-11 11:25:12 +01:00
Status102
7b72b729b8 feat: 自动战斗新增组名重复检查 (#14710)
---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-11-11 10:35:18 +01:00
Hao Guan
a1d0dc9fea feat(mac): 喀兰小游戏界面提示 2025-11-11 17:25:30 +08:00
Hao Guan
abc2e618c7 fix(mac): 小游戏 2025-11-11 17:24:34 +08:00
uye
5771ede8a9 feat: mac 小游戏 2025-11-11 17:06:43 +08:00
萨拉托加
440d53e544 fix: 齐聚也干了
fix #14703
2025-11-10 22:20:06 +08:00
Constrat
dff100d338 chore: preload AD for Global (#14700)
---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-11-10 15:03:06 +01:00
萨拉托加
0b94d7464e fix: 肉鸽中取消选中状态可能会点到二倍速 2025-11-10 12:26:06 +08:00
uye
ef46443681 feat: 增加界园指挥分队存钱难度选择 tip 2025-11-10 12:08:03 +08:00
uye
8821df308b Release v5.27.3 (#14687) 2025-11-09 23:05:13 +08:00
status102
af81c25ba1 fix: 猪猪 2025-11-09 22:43:33 +08:00
pre-commit-ci[bot]
34843fab31 chore: Auto update by pre-commit hooks [skip changelog] 2025-11-09 14:41:21 +00:00
status102
d1736e5dd4 fix: Module base macOs 2025-11-09 22:38:39 +08:00
github-actions[bot]
6b4164e6eb docs: Auto Update Changelogs of v5.27.3 (#14688)
* docs: Auto Generate Changelog of Release v5.27.3

* docs: Update CHANGELOG for version 5.27.3

Updated CHANGELOG for version 5.27.3, highlighting new features, improvements, fixes, and documentation updates.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-11-09 22:31:42 +08:00
travellerse
2fb57d65df fix: 修复界园保留招募券在1080p下识别异常 (#14637)
* fix: 将colorWithClose设为false

* fix: 更换为没有文字的模板

* fix: 改回ClickSelf
2025-11-09 22:24:17 +08:00
萨拉托加
dce3780927 chore: 肉鸽添加凛御银灰圣聆初雪招募逻辑 2025-11-09 22:22:48 +08:00
pre-commit-ci[bot]
a0b1eaa804 chore: Auto update by pre-commit hooks [skip changelog] 2025-11-09 14:13:25 +00:00
status102
3bfa21ee02 feat: MaaCore 记录 Exception 时额外记录模块基址 2025-11-09 21:54:42 +08:00
uye
7c84863a20 fix: 提高干员部署滑动的最小时长,减少因模拟器丢帧导致的部署失败 2025-11-09 21:54:22 +08:00
Constrat
ac539eb343 fix: Exusiai Alter ocr regex for EN 2025-11-09 12:57:38 +01:00
MistEO
5e07116597 ci: 提供调试符号 (#14675) 2025-11-09 16:07:25 +08:00
github-actions[bot]
290261c50e chore: Auto Update Game Resources - 2025-11-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19190884721

[skip changelog]
2025-11-08 09:02:32 +00:00
uye
f1c28c7258 fix: 肉鸽刷开局期望奖励无法动态隐藏/显示 2025-11-08 15:43:30 +08:00
Constrat
74fd453a53 fix: Dorothy S2 ocr regex 2025-11-07 12:33:19 +01:00
status102
bfd9010ee2 feat: Wpf i18n字符串支持直接string.Frmat 2025-11-07 19:29:46 +08:00
github-actions[bot]
eb8c024202 chore: Auto Update Game Resources - 2025-11-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19162631273

[skip changelog]
2025-11-07 08:29:33 +00:00
status102
b2d0251b7e fix: Wpf增加悖论模拟模式非悖论作业检测 2025-11-07 13:37:56 +08:00
status102
5e85d2c793 perf: asst Log增加crash时额外输出core版本, build时间, 路径 2025-11-07 11:18:38 +08:00
MistEO
f54d012cb9 chore: add logs 2025-11-07 09:38:00 +08:00
MistEO
10179d1a0b perf: 更好的随机点分布 (#14652)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 09:33:53 +08:00
github-actions[bot]
43d88575c5 chore: Auto Templates Optimization
Triggered by 3fac78c0f9

[skip changelog]
2025-11-06 14:16:18 +00:00
uye
3fac78c0f9 perf: 优化切换主题逻辑 2025-11-06 22:15:48 +08:00
Lucien Shaw
88e27977e8 build(docs): update and switch to esm (#14642)
* build(docs): switch to esm

* build(docs): bump pnpm to v10.20.0

* ci: 精简文档站构建和发布流程

* build(docs): 升级部分依赖

* ci: 补全package.json的查找路径

* build(docs): 升级plume主题

* fix(docs): 适应新版本主题的样式变动

* ci: 补全文档站工作流的权限设置
2025-11-06 16:51:31 +08:00
uye
579def4704 feat: 怎么还有 GTII 2025-11-06 16:48:40 +08:00
uye
3233653381 fix: typo
[skip changelog]
2025-11-06 16:44:43 +08:00
uye
2a455c306a feat: 增加华硕 GTIII 显卡超频工具注入导致崩溃提示 2025-11-06 16:41:27 +08:00
萨拉托加
39c16790cd fix: 界园入暂亭ocrfix 2025-11-06 15:49:13 +08:00
MistEO
636ffff7b3 refactor: CropRoi -> ImageCropper (#14379) (#14647)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
Co-authored-by: Lucien Shaw <myxlc55@outlook.com>
Co-authored-by: MistEO <18511905+MistEO@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: 不留 <weinibuliu@outlook.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-06 15:32:35 +08:00
MistEO
61cdb47c00 ci: 更好的 CI 并发控制 (#14645) 2025-11-06 13:42:44 +08:00
Constrat
766c33c7b6 fix(tools): update to new data repo for sh script 2025-11-05 11:48:55 +01:00
Constrat
3bc0df7e4d fix(tools): update to new data repo for ps1 script 2025-11-05 11:48:47 +01:00
Constrat
dec2d2fef2 chore: remove expired token 2025-11-05 11:44:57 +01:00
Constrat
2ee56d2089 fix: move to public arkntools repo for txwy
Thanks to @Tsuk1ko
2025-11-05 11:44:38 +01:00
Constrat
16bf17e9b1 fix: update Sami floor regex
fix 14630 (hopeful)
2025-11-05 01:00:37 +01:00
github-actions[bot]
66d4e9b298 chore: Auto Update Game Resources - 2025-11-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19066618580

[skip changelog]
2025-11-04 11:08:37 +00:00
Status102
15a333fd39 rft: wpf拆分添加作业和作业集按钮 (#14624)
* rft: wpf拆分添加作业和作业集按钮

* i18n: 调整CopilotTip

* chore: 添加注释, 未来移除旧的右键行为

* perf: 统一图标格式

* perf: 统一文本描述

* chore: todo!

* feat: 调整描述

* feat: 调整悖论模拟列表启动要求描述

* i18n: KR tweak translation

* fix: typo

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-11-04 16:30:46 +08:00
Status102
2c2b3c5b19 feat: 战斗列表启用时, 浏览单个作业时自动添加到战斗列表 (#14625) 2025-11-04 12:34:28 +08:00
uye
8eea7e49c5 perf: 优化切换主题流程 2025-11-03 22:48:17 +08:00
github-actions[bot]
bce6a6f259 chore: Auto Update Game Resources - 2025-11-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/19038089979

[skip changelog]
2025-11-03 14:32:04 +00:00
uye
676a470d2d fix: 给 mujica 擦屁股 2025-11-03 22:28:11 +08:00
Constrat
c7db6347f9 fix: move from Template to OcrDetect for BattleQuickFormationClear
Needed after yostar keeps changing that stupid button
2025-11-03 13:13:37 +01:00
status102
45528c282d perf: 空stack trace输出 2025-11-03 13:51:39 +08:00
uye
7b31ad3417 fix: 部分情况下 钼铅 识别错误 2025-11-03 13:11:19 +08:00
晓丶梦丶仁
9842cb962e fix: JP 1ns ocr 2025-11-03 11:54:32 +08:00
uye
4edf48b2e5 fix: OS 小游戏回合结束改用 ocr 2025-11-03 00:20:14 +08:00
uye
9d58a1c5be fix: 结束回合按钮怎么还会闪烁啊 2025-11-02 23:23:08 +08:00
MistEO
b73377eb6a refactor: use MaaUtils instead of Utils (#14579)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-02 23:19:38 +08:00
uye
2394480583 fix: 动画或卡顿导致概率无法使用无人机
fix #14620
2025-11-02 22:32:27 +08:00
uye
e09b984a15 Revert "fix: 增加从主页进入终端的延迟"
This reverts commit 6a09f44a09.
2025-11-02 18:44:44 +08:00
萨拉托加
6a09f44a09 fix: 增加从主页进入终端的延迟
fix #14617
2025-11-02 17:47:05 +08:00
uye
79f69ae511 Release v5.27.2 (#14605) 2025-11-02 16:57:02 +08:00
uye
defeedcd82 docs: Update CHANGELOG with recent fixes and features 2025-11-02 16:56:12 +08:00
uye
9b463e0a05 fix: fix: 技能点击范围会点到装备应变 (#14611) 2025-11-02 16:54:15 +08:00
萨拉托加
bda15f1074 fix: 技能点击范围会点到装备应变 (#14611) 2025-11-02 16:48:49 +08:00
github-actions[bot]
7d3d40ab37 chore: Auto Templates Optimization
Triggered by 59ed067254

[skip changelog]
2025-11-02 08:45:23 +00:00
pre-commit-ci[bot]
59ed067254 chore: Auto update by pre-commit hooks [skip changelog] 2025-11-02 08:44:24 +00:00
uye
3d6541d337 docs: Update CHANGELOG for version 5.27.2 2025-11-02 16:43:36 +08:00
uye
62c3dbd126 feat: OS-喀兰贸易研发部 小游戏 (#14615) 2025-11-02 16:41:26 +08:00
Constrat
866ed07d0c fix: Ines regex EN 2025-11-01 17:41:59 +01:00
萨拉托加
340a121528 fix: 肉鸽商店投资界面加一点延迟 2025-11-01 23:15:46 +08:00
github-actions[bot]
76b5c3380a docs: Auto Update Changelogs of v5.27.2 (#14606)
* docs: Auto Generate Changelog of Release v5.27.2

* docs: Update CHANGELOG for v5.27.2

Update CHANGELOG for version 5.27.2 with new features, improvements, and bug fixes.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-11-01 23:09:29 +08:00
uye
e40307f107 fix: 无法迁移就资源路径文件 2025-11-01 22:04:45 +08:00
uye
015dcbcc4f chore: SideStoryStage ocrReplace 2025-11-01 21:18:03 +08:00
Constrat
6b9612c356 fix: erosion resistant device regex fix for EN 2025-11-01 14:08:22 +01:00
MistEO
a0513fcfac Release v5.27.1 (#14598) 2025-11-01 19:06:22 +08:00
MistEO
79fce90bf8 ci: 算了你还是取消吧 2025-11-01 19:04:22 +08:00
MistEO
81793fc040 ci: fix cancel 2025-11-01 19:01:07 +08:00
MistEO
b3673409ac ci: dev do not auto cancel build 2025-11-01 18:54:31 +08:00
Hao Guan
2fa55fe15d fix(mac): 修复MaaUtils库位置 2025-11-01 18:48:30 +08:00
MistEO
a1141d2574 docs: v5.27.1 changelog 2025-11-01 18:47:11 +08:00
Hao Guan
6ba037ab4d fix(mac): GUI缺少MaaUtils库 2025-11-01 18:41:23 +08:00
SherkeyXD
011d953ffc feat: SideStory「雪山降临1101」导航 2025-11-01 18:15:43 +08:00
Copilot
cd88fd3c51 docs: fix boolean capitalization in C# documentation comments (#14599)
* Initial plan

* fix: correct boolean capitalization in C# doc comments

Co-authored-by: lucienshawls <82591976+lucienshawls@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lucienshawls <82591976+lucienshawls@users.noreply.github.com>
2025-11-01 18:06:35 +08:00
MistEO
08105aa96d fix: macos MaaXCFramework 2025-11-01 17:53:46 +08:00
HY
ba1fb36627 chore: 繁中服第十五章 & 重複訪問好友 text (#14594) 2025-11-01 17:51:23 +08:00
Lucien Shaw
b459e7149e build: bump MaaDeps to v2.10.1-maa.1 (#14596) 2025-11-01 17:51:00 +08:00
MistEO
d20030ae98 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-01 17:50:27 +08:00
Lucien Shaw
0a566e4954 ci: 更新最新工作流的部分显示名称和部分代码注释中的表达 (#14597)
* ci: name change for submodule update workflows

* ci: if failed -> on failure

* docs: 代码注释中,succeeded与failed相对
2025-11-01 17:48:16 +08:00
MistEO
521dc3fc71 fix: xcframework typo 2025-11-01 17:46:52 +08:00
MistEO
a781c316d3 fix: macos xcframework 2025-11-01 17:39:57 +08:00
MistEO
ac01713331 ci: remove libMaaUtils.dylib headers 2025-11-01 17:38:10 +08:00
MistEO
70204e9047 build: try to fix macos package
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/14595
2025-11-01 17:37:06 +08:00
HX3N
48ace472a8 i18n: KR varius translations (#14591) 2025-11-01 09:50:31 +01:00
Lucien Shaw
0ae7f8878d chore: 调整devcontainer环境构建流程,使其适应MaaUtils (#14580)
1. devcontainer 创建时,更新并拉取子模块
2. 更改 MaaCore 下的 CMakeLists.txt,适应不知道哪里冒出来的 --no-allow-shlib-undefined 限制

* chore: devcontainer创建时更新子模块

* build: 尝试修复链接目标未定义的问题

* build: 将改动限于Linux
2025-11-01 16:05:00 +08:00
uye
cd1b4231ec chore: ClickStageName 同步 ClickedCorrectStage ocrReplace 2025-11-01 15:37:57 +08:00
uye
b63b4aa50e fix: 关卡复核错误 2025-11-01 15:05:18 +08:00
uye
bbc09712c0 Release v5.27.0 (#14581) 2025-11-01 14:44:34 +08:00
uye
9e028b6c97 docs: Fix formatting and grammar in CHANGELOG.md
Correct formatting and grammar in CHANGELOG entries.
2025-11-01 14:43:52 +08:00
github-actions[bot]
8fbe22396f chore: Auto Update Game Resources - 2025-11-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18991434628

[skip changelog]
2025-11-01 04:31:25 +00:00
github-actions[bot]
e9a8773fdf docs: Auto Update Changelogs of v5.27.0 (#14582)
Co-authored-by: MistEO <18511905+MistEO@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-11-01 10:22:26 +08:00
github-actions[bot]
f1c680c978 chore: Auto Templates Optimization
Triggered by 9b5419708a

[skip changelog]
2025-10-31 23:09:26 +00:00
github-actions[bot]
9b5419708a chore: Auto Update Game Resources - 2025-10-31
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18987286934

[skip changelog]
2025-10-31 23:09:02 +00:00
uye
8b9f851a39 fix: 亮色模式下无法显示 “坍缩范式列表” 2025-10-31 23:57:15 +08:00
Constrat
646691e47e i18n: various english translations 2025-10-31 14:06:44 +01:00
github-actions[bot]
cedd8f4d93 chore: Auto Update Game Resources - 2025-10-31
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18968441578

[skip changelog]
2025-10-31 09:31:19 +00:00
HX3N
eca68a0504 i18n: KR tweak MuMu12ExtrasEnabledTip 2025-10-31 18:14:11 +09:00
MistEO
4f9484c31a ci: add env for release-preparation 2025-10-31 16:53:43 +08:00
MistEO
91ea7067f7 refactor: 集成 MaaUtils (#14578)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-31 14:56:56 +08:00
SherkeyXD
ae300aa00d docs: 修正插件相关描述 2025-10-31 14:13:21 +08:00
github-actions[bot]
cc50b58ca2 chore: Auto Update Game Resources - 2025-10-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18946105155

[skip changelog]
2025-10-30 15:32:25 +00:00
github-actions[bot]
11d427786e chore: Auto Update Game Resources - 2025-10-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18933497361

[skip changelog]
2025-10-30 07:45:10 +00:00
MistEO
02edf491c5 docs: Sync documents in all languages, Powered by AI (#14572)
Co-authored-by: MistEO <18511905+MistEO@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-10-29 23:49:12 +08:00
Lucien Shaw
0f9dd867a9 ci: 补全子模块更新工作流的显示名称 2025-10-29 16:16:07 +08:00
MistEO
4159c07437 ci: perf commit log 2025-10-29 16:00:33 +08:00
MistEO
2fe6583328 Merge branch 'dev' of https://github.com/MaaAssistantArknights/MaaAssistantArknights into dev 2025-10-29 15:54:46 +08:00
MistEO
dbfea1e38a ci: update submodules for release PR, and rename gen-changelog -> release-preparation 2025-10-29 15:54:41 +08:00
github-actions[bot]
8ed6accb45 feat: Update Submodules MaaMacGui, maa-cli 2025-10-29 07:46:41 +00:00
MistEO
c9aa40f4ee ci: fix update submodules 2025-10-29 15:45:37 +08:00
MistEO
576904acc1 ci: update submodules 2025-10-29 15:42:10 +08:00
Status102
f9366249e1 feat: 记录crash log时同时记录stacktrace, 并允许 ASST_DEBUG 在 debug 目录下生成 crash.log (#14526)
* feat: 记录crash log时同时记录stacktrace, 并允许 ASST_DEBUG 在 debug 目录下生成 crash.log

* fix: 加个循环次数限制

* perf: 简单整理
2025-10-29 02:36:46 +08:00
Status102
cd0d075d8d feat: LogInfo 等宏支持is_enabled (#14551)
feat: LogInfo 等宏支持is_enable
2025-10-29 02:02:10 +08:00
uye
7332589d04 Release v5.27.0-beta.2 (#14556) 2025-10-29 01:27:33 +08:00
uye
0101fde3c0 docs: Update CHANGELOG with new fix entry
[skip changelog]
2025-10-29 01:27:11 +08:00
uye
8c7c47251a fix: 无法加载 cache 资源
fix #14451
2025-10-29 01:05:05 +08:00
github-actions[bot]
d874df3c2c docs: Auto Update Changelogs of v5.27.0-beta.2 (#14567)
* docs: Auto Generate Changelog of Release v5.27.0-beta.2

* docs: Update CHANGELOG for v5.27.0-beta.2

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-10-29 00:50:07 +08:00
Weiyou Wang
5b33ff3ab6 fix: 改用 CustomeSkip 来跳过新时装动画 (#14566)
* feat: 改用 CostumeSkip 来跳过新时装动画

* fix: 删除 SS@Store@Purchase@NextAfterMerelyWaiting,任务 GetCloth 改名为 WearCostume

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-29 00:43:45 +08:00
github-actions[bot]
f5c6c96184 chore: Auto Update Game Resources - 2025-10-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18875534231

[skip changelog]
2025-10-28 12:59:11 +00:00
萨拉托加
7e35a6499c Revert "chore: 同心暂时去掉5选项"
This reverts commit cb9bc0f87f.
2025-10-28 20:48:20 +08:00
Weiyou Wang
529ca6a7fc feat: 界园肉鸽不期而遇实现选项识别 (#14540)
* feat: RoguelikeEncounterOptionAnalyzer

* feat: 界园肉鸽实验性功能 -- 识别选项数量后调整选项

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 跳过不可用选项

* refactor: 设置初次滑动

* refactor: 给 save_img 日志加点描述

* feat: 加个 get_img 接口,以便于获得合成图

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 不是你怎么没有 formatter 啊?

* refactor: 把分析数据存储在插件成员变量内,为未来重构打基础

* refactor: 把不期而遇选项识别结果输出移到插件中,加入 callback

* feat: 无法识别选项文字时保存图片

* refactor: 给 save_img 日志加点描述

* refactor: int -> size_t

* refactor: choose -> select

* refactor: sort functions

refacor: sort functions

* refactor: 用 option_analyzed 来判断是否已经识别过不期而遇选项

* fix: 去掉不必要的参数 theme

* refactor: 给 OCR 配置任务加点东西(大概率没什么用吧)

* refactor: 去掉内部接口中的冗余 sanity check

* feat: 加入 view 控制

* fix: 忘了 callback 不能用 const

* feat: 处理一下 edge case

* feat: 来点 WpfGui Log

* fix: typo

* fix: 一些漏网之鱼

* fix: 再调整下滑动距离

* fix: 什么乱七八糟的

* fix: 什么乱七八糟的

* fix: 方向错了,加点 Log

* fix: 修正长图识别 roi

* fix: 再调整一下 roi

* fix: 所以说不建议再睡眠不好的时候糊屎

* fix: 对不可选选项的模版进行二值化后再 OCR

* fix: 好像得考虑一下通道

* fix: 删掉无用参数

* refactor: 再整理一下代码,减少冗余

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 再缩小点 roi

* fix: 加点延迟

* fix: clang-tidy 说这样写

* feat: 把 debug 截图加回来,收工

* docs: 给任务链加点注释

* docs: 给 RoguelikeEncounterOptionAnalyzer 加点注释

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 20:46:06 +08:00
Lucien Shaw
3a75653fbb docs: 更正文档编写指南的一处typo 2025-10-28 20:32:38 +08:00
Lucien Shaw
655ab65682 docs: 对codespace相关链接进行小修小补 (#14564)
* docs: add links for home page of codespaces

* docs: 去除codespace徽章链接里意义不明的color参数
2025-10-28 20:07:41 +08:00
Weiyou Wang
bffbe8d633 fix: 调换使用错误的排序函数 (#14555) 2025-10-28 20:02:34 +08:00
dependabot[bot]
1dcf2a42a7 ci: bump the github-actions group in /.github/workflows with 2 updates (#14553)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

Updates `actions/download-artifact` from 5 to 6
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:32:20 +01:00
Lucien Shaw
846d76f137 docs: 接入DeepWiki (#14563)
* docs: 使用DeepWiki徽章和链接

* docs: 开发文档中加入deepwiki的指引

* docs: fix typo
2025-10-28 18:27:19 +08:00
Weiyou Wang
1ea6833ffe fix: 给生息演算点击 "开始行动" 的任务加点延迟,防止错过确认弹窗 2025-10-28 21:17:32 +11:00
MistEO
5e097de000 docs: 全语言开发文档章节整理 (#14562)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 16:00:58 +08:00
uye
8a45b1717e fix: 猪玛写 switch 不写 break 2025-10-28 15:54:12 +08:00
MistEO
fad876527a docs: 把codespace移到犄角旮旯 (#14560)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 15:28:29 +08:00
uye
5b7fe1c7e9 chore: 调整雷电截图增强提示,强制要求模拟器分辨率为横屏模式 2025-10-28 15:21:08 +08:00
uye
6ee884772b chore: 调整连接失败尝试启动模拟器的描述 2025-10-28 15:12:57 +08:00
uye
69ea005af3 perf: 主线导航目标关卡默认在屏幕内时不再划到最右边后往前寻找 2025-10-28 15:12:57 +08:00
Lucien Shaw
7caca829a1 chore: 移除devcontainer轻量环境的部分非必要依赖 (#14499)
对 devcontainer 的改动如下:
1. 在轻量环境中,
   - 移除 `python` 及其相关格式化扩展 `black` 和 `isort`
   - 移除 `black` 和 `isort` 等 pip 包
2. 在所有环境中,
   - 将 VS Code 的默认主题设置为 `Default Dark Modern`

* chore: 移除devcontainer轻量环境的部分非必要依赖

* chore: 将编辑器默认颜色主题调整为暗色

* chore: 将空白环境的post-create脚本独立,与其它环境一致

* chore: 把maa扩展加回来
2025-10-28 11:58:09 +08:00
萨拉托加
d59144c549 chore: 重复访问好友添加Ocr兜底 2025-10-28 10:02:03 +08:00
Weiyou Wang
2b245d291d fix: 界园肉鸽放弃探索改用纯色匹配 (#14532)
* fix: 界园肉鸽放弃探索改用普通模版匹配

chore: Auto update by pre-commit hooks [skip changelog]

* fix: 换用 HSV + pureColor

* refactor: 模版也用同样的 color scales 处理一下

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 进一步修正 HSV 范围

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 01:42:00 +08:00
uye
a1e1df535a feat: 增加纯数色匹配 (#14536)
* feat: 增加纯数色匹配

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 更新 schema

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 01:41:25 +08:00
github-actions[bot]
bdb49d8395 chore: Auto Templates Optimization
Triggered by a3523789d1

[skip changelog]
2025-10-27 15:44:45 +00:00
uye
a3523789d1 feat: 添加主线 16 章导航 2025-10-27 23:44:19 +08:00
github-actions[bot]
39aca97640 chore: Auto Update Game Resources - 2025-10-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18846503435

[skip changelog]
2025-10-27 15:30:28 +00:00
uye
04e454b3e0 feat: 支持生息演算与肉鸽遇到不认识的主题时自动切换 2025-10-27 23:24:52 +08:00
uye
4190e3c421 feat: 添加 生活队凹开局密文板 与 坍缩范式列表 TooltipBlock 2025-10-27 23:00:36 +08:00
萨拉托加
f19d49bf95 fix: 齐聚主题无法导航肉鸽和生息演算 2025-10-27 22:35:15 +08:00
uye
559ea25856 feat: core 异常退出 ui 添加日志记录 2025-10-27 18:27:52 +08:00
Constrat
88b6ceb4d0 fix: ocr for Executor the Ex Foedere for EN 2025-10-27 11:25:50 +01:00
uye
b126016538 fix: ja-jp 泰拉大陆调查团 识别错误
fix #14547
2025-10-27 16:01:27 +08:00
SherkeyXD
06454db032 chore: 添加 png 后缀 2025-10-27 15:30:13 +08:00
Weiyou Wang
1d11f4c1a4 chore: WpfGui 增加对界园肉鸽 DLC 1 三个新分队的支持 2025-10-27 14:55:00 +08:00
Weiyou Wang
a17e997e38 refactor: polish PixelAnalyzer a bit (#14538) 2025-10-27 00:12:47 +11:00
status102
df7207dfb0 chore: 增加wpf项目cmake build脚本 2025-10-26 02:17:55 +08:00
AnnAngela
a05a141fea chore: 更新 Windows 模拟器文档,调整支持列表并添加详细说明 (#14534) 2025-10-25 22:48:46 +08:00
github-actions[bot]
4e52dba787 chore: Auto Templates Optimization
Triggered by dc0751b1e2

[skip changelog]
2025-10-25 14:07:57 +00:00
github-actions[bot]
dc0751b1e2 chore: Auto Update Game Resources - 2025-10-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18804107643

[skip changelog]
2025-10-25 14:07:23 +00:00
uye
2b179c673c chore: ui 日志增加 adb devices 输出 2025-10-24 23:11:40 +08:00
uye
e48cb49e4a chore: 基建降低会清空其他干员效率的技能优先级
fix #14524
2025-10-24 22:51:31 +08:00
github-actions[bot]
7f7b124bc7 chore: Auto Update Game Resources - 2025-10-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18781459022

[skip changelog]
2025-10-24 13:38:14 +00:00
uye
2c656db087 Release v5.27.0-beta.1 (#14502) 2025-10-24 00:24:44 +08:00
SherkeyXD
63420e9808 docs: 优化文档代码的高亮主题 2025-10-23 23:24:47 +08:00
github-actions[bot]
d8207fb5b5 docs: Auto Update Changelogs of v5.27.0-beta.1 (#14523)
* docs: Auto Generate Changelog of Release v5.27.0-beta.1

* docs: Fix formatting and update entries in CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-10-23 23:19:40 +08:00
萨拉托加
cb9bc0f87f chore: 同心暂时去掉5选项 2025-10-23 23:04:04 +08:00
Weiyou Wang
f863a6f4b6 fix: 降低萨米肉鸽进入 “诡秘的预感” 所需模版匹配分数阈值 (#14521) 2025-10-23 22:46:10 +08:00
萨拉托加
2651b1bc01 fix: 公招按钮roi错误
fix #14514
2025-10-23 12:12:32 +08:00
晓丶梦丶仁
99b4e75567 fix: JP Task.png (#14516)
* fix: JP Task.png
2025-10-23 12:10:31 +08:00
Weiyou Wang
904a8f3d4c fix: 掉落识别修复 (#14508) 2025-10-23 01:15:22 +08:00
github-actions[bot]
7c710fcee5 chore: Auto Templates Optimization
Triggered by a6a3451217

[skip changelog]
2025-10-22 16:06:15 +00:00
pre-commit-ci[bot]
a6a3451217 chore: Auto update by pre-commit hooks [skip changelog] 2025-10-22 16:05:45 +00:00
pre-commit-ci[bot]
93a0e2d4a1 chore: Auto update by pre-commit hooks [skip changelog] 2025-10-23 00:03:17 +08:00
SherkeyXD
7f6622e51d feat: 界面主题「齐聚」 2025-10-23 00:03:17 +08:00
SherkeyXD
0b533468d1 chore: GetImageFromRoi 工具优化 2025-10-23 00:03:17 +08:00
Constrat
6d26ccace1 chore: remove global templates for 3294b29f54 2025-10-22 17:03:58 +02:00
HY
c101f9cea6 chore: txwy add SwitchTheme@ConfirmThemeChange.png (#14511)
* chore: txwy add SwitchTheme@ConfirmThemeChange.png

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-22 16:29:46 +02:00
github-actions[bot]
f5921c7293 chore: Auto Update Game Resources - 2025-10-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18715072426

[skip changelog]
2025-10-22 11:45:27 +00:00
Weiyou Wang
880bdea7d3 refactor: 将 Copilot ActionType::ResetTimer 更改为更适合的 ResetStopwatch (#14507)
* refactor: 为 ActionType::ResetTimer 加入中文变种

* refactor: Timer -> Stopwatch
2025-10-22 22:20:50 +11:00
Weiyou Wang
9c53ea10c6 docs: 补充模拟器相关文档和协议文档 (#14478)
* docs: 为 #13913 跳过使用未准备好的技能 && 全局计时器补充作业协议文档

* docs: MuMu 模拟器显存使用策略警告。

* docs: 删除冗余的蓝叠模拟器 faq

* docs: 补充外服 CopilotTask 文档

* docs: 改改

* docs: timer -> stopwatch

docs: 繁体中文文档里的指令简体化 —— 我们并不支持繁体指令啊

---------

Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-10-22 21:49:20 +11:00
uye
9ea6057145 fix: 变更弃用的参数 2025-10-22 17:04:51 +08:00
uye
05b377981a fix: 开始唤醒会回到主界面 2025-10-22 16:49:38 +08:00
github-actions[bot]
465c2bcf62 chore: Auto Templates Optimization
Triggered by 3294b29f54

[skip changelog]
2025-10-22 08:44:58 +00:00
uye
3294b29f54 chore: 调整截图 2025-10-22 16:44:25 +08:00
uye
f967903a4b feat: 资源更新完成后等待空闲时再加载
fix: #14500
2025-10-22 16:35:51 +08:00
萨拉托加
7622cff5b4 feat: 界园DLC新关卡战斗逻辑 2025-10-22 15:34:53 +08:00
github-actions[bot]
4e36c78691 chore: Auto Templates Optimization
Triggered by afb0f8f647

[skip changelog]
2025-10-22 07:15:00 +00:00
uye
afb0f8f647 chore: 文件路径错误 2025-10-22 15:14:22 +08:00
Weiyou Wang
35e437d372 fix: 尝试为活动商店小游戏适配新的时装购买动画 (#14490)
* fix: 尝试为活动商店小游戏适配新的时装购买动画

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-22 15:00:52 +08:00
Initial-heart
3d9732a930 docs: 添加关于实体设备上账号切换问题的说明 (#14468)
* docs: 加一段关于实体设备上账号切换问题的说明

rt

* docs: 调整措辞和格式

* docs: 修正措辞

* docs: ko-kr

* i18n: en-us translation

* i18n: ja-jp translation

* docs: zh-tw

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: Lucien Shaw <myxlc55@outlook.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-22 09:15:39 +08:00
github-actions[bot]
d12588f62b chore: Auto Templates Optimization
Triggered by e3d48ae65d

[skip changelog]
2025-10-22 00:47:15 +00:00
Manicsteiner
e3d48ae65d chore: YostarJP SwitchTheme@ConfirmThemeChang 2025-10-22 08:46:15 +08:00
HX3N
2a2e360f3e chore: YostarKR add SwitchTheme@ConfirmThemeChang
ref 979e0c4b1b
2025-10-22 08:46:54 +09:00
Constrat
df5af18b93 fix: precommit maacore 2025-10-21 21:02:23 +02:00
Constrat
55b3cdafaa chore: add SwitchTheme@ConfirmThemeChange.png 2025-10-21 21:02:13 +02:00
github-actions[bot]
538760dbbe chore: Auto Templates Optimization
Triggered by 979e0c4b1b

[skip changelog]
2025-10-21 18:29:00 +00:00
uye
979e0c4b1b feat: 不是我认识的主题,直接切换 2025-10-22 02:28:17 +08:00
github-actions[bot]
d9eb1e50d9 chore: Auto Update Game Resources - 2025-10-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18689594250

[skip changelog]
2025-10-21 15:46:43 +00:00
Constrat
7e9f862f62 test: remove cancelled() and add mentions 2025-10-21 15:31:56 +02:00
Constrat
20c86b0fff fix: change default issue + remove always as not necessary 2025-10-21 15:31:06 +02:00
Constrat
072a98dd41 fix: add always() 2025-10-21 15:26:20 +02:00
Constrat
a053e6547d ci: test using a single issue by adding comments and hiding previous comments 2025-10-21 15:23:17 +02:00
Constrat
bfcb02104c ci: increase sleep delay for resource updater 2025-10-21 14:42:01 +02:00
Lucien Shaw
1e9ae031ea ci: refine display names for existing workflows (#14419)
---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-10-21 14:37:49 +02:00
github-actions[bot]
d70d939947 chore: Auto Templates Optimization
Triggered by 37ad3a2f35

[skip changelog]
2025-10-21 09:10:28 +00:00
github-actions[bot]
37ad3a2f35 chore: Auto Update Game Resources - 2025-10-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18678814343

[skip changelog]
2025-10-21 09:09:47 +00:00
github-actions[bot]
7d233513ff chore: Auto Update Game Resources - 2025-10-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18676270061

[skip changelog]
2025-10-21 07:29:13 +00:00
Goat Boring(山羊博宁88)
b93d39b77e docs: 在不支持列表中添加腾讯应用宝 (#14477)
* docs: Add Tencent App Treasure note in notSupport list

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-21 10:49:00 +08:00
Constrat
c91c1ff279 style: run prettier as there's missing stuff apparently 2025-10-20 21:30:13 +02:00
status102
d7524a4f9e perf: 进入新任务后重置任务超时计时器, 以避免非单任务卡阻的误报 2025-10-21 03:00:35 +08:00
status102
fff05d45b5 perf: ProcSubTask static 2025-10-21 02:36:49 +08:00
SherkeyXD
201c856594 chore: 我是铸币 2025-10-21 00:12:33 +08:00
SherkeyXD
97756b1200 feat: 界园 dlc2 通宝数据更新 2025-10-20 23:48:16 +08:00
uye
79bea9b98d fix: 无人机协助点击无效时增加自动重试机制
fix #13327
2025-10-20 23:37:52 +08:00
dependabot[bot]
f94a79a1a3 ci: bump actions/setup-node from 5 to 6 in /.github/workflows in the github-actions group (#14475)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 23:30:34 +08:00
Status102
eb90a19e8b docs: 增加换行以提升文档在GitHub的阅读体验 (#14338) 2025-10-20 23:27:04 +08:00
SherkeyXD
957b486c53 fix: 每日任务领取延迟载荷移位 2025-10-20 23:20:37 +08:00
SherkeyXD
87a892ad7a fix: 每日任务领取因为延迟卡住 2025-10-20 23:16:00 +08:00
SherkeyXD
363c4dbb47 docs: vscode插件文档视觉优化 2025-10-20 22:32:59 +08:00
SherkeyXD
b639fd3a62 docs: 利用tabs优化视觉表现-part2 2025-10-20 22:32:58 +08:00
SherkeyXD
8bbd104ea6 docs: 利用tabs优化视觉表现 2025-10-20 22:32:58 +08:00
uye
b63bd4b6eb feat: 支持剿灭关卡名识别 2025-10-20 22:27:26 +08:00
SherkeyXD
7264f26b14 docs: 利用步骤容器优化视觉效果-part2 2025-10-20 21:50:56 +08:00
SherkeyXD
e3be737a3c docs: 利用步骤容器优化视觉效果 2025-10-20 21:45:29 +08:00
SherkeyXD
e5a823d476 docs: 更新algolia配置 2025-10-20 21:27:43 +08:00
uye
25513ab692 chore: ALL~ the Announcements 中新公告标题中加 * 2025-10-20 21:26:10 +08:00
HY
26acc07463 fix: 繁中服無法進入資源收藏關卡 (#14469) 2025-10-20 10:23:43 +08:00
Constrat
38a801a8c1 i18n: translate ElapsedTime
ref: 1edd006982
2025-10-20 01:16:31 +02:00
Weiyou Wang
1edd006982 feat: 跳过使用未准备好的技能 && 全局计时器 (#13913)
* feat: skip_if_not_ready

* feat: elapsed_time

* feat: WpfGui log 输出计时器信息

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 不默认启用全局计时器

* refactor: 支持 ResetTimer 拼写变种

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-20 01:35:37 +11:00
Weiyou Wang
45025dd168 fix: 为界园放弃探索任务添加备用模版 (#14466)
* fix: add alternative template for JieGarden@Roguelike@Abandon

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-19 23:19:59 +11:00
github-actions[bot]
3b10c1518a chore: Auto Update Game Resources - 2025-10-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18630203409

[skip changelog]
2025-10-19 12:12:03 +00:00
Weiyou Wang
5efdab7fbf fix: 肉鸽跳一战打一战刷钱 (#14450)
* refactor: 在 RoguelikeConfig 中加入 skip_recruit_in_fast_pass flag,用于判断是否在特定情况下跳过招募

* refactor: refine 一下 RoguelikeRecruit-GiveUp 任务

* refactor: 重命名 RoutingStrategy

* feat: 一战快速投资/烧水

* refactor: 合并冗余 Roguelike@RoutingConfig 任务,重命名为 RoguelikeRouting-Config

* refactor: 统一 RoguelikeRoutingAction 命名

* refactor: 统一导航插件任务命名

* refactor: 这些任务不需要用 RoguelileRoutingAction

* fix: 重命名相关模版

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 漏网之鱼

* refactor: MapNode 模版搬家

* refactor: 岁兽残识导航相关任务搬家

* refactor: 改改任务名

* refactor: 模版改名 Roguelike@MapNodeX -> RoguelikeMapNode-X

* refactor: 换一个似乎更简单的写法

* fix: 忘了外服了

* refactor: 漏了这个

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 修修

* fix: 继续修修

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-19 22:49:08 +11:00
uye
930de73324 feat: 本次更新的公告右上角添加红点 2025-10-18 23:22:58 +08:00
萨拉托加
527ebee6af fix: 傀影不期而遇选项 2025-10-18 20:27:50 +08:00
github-actions[bot]
c24baee8ff chore: Auto Update Game Resources - 2025-10-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18613855248

[skip changelog]
2025-10-18 09:28:09 +00:00
Weiyou Wang
11f9d6e0a4 refactor: 拆出界园岁兽残识地图导航 (#14432)
* refactor: 舍弃 AbstractRoguelikeMap,拆到 RoguelikeMapConfig 与 RoguelikeBoskyPassageMap

* refactor: 拆出界园岁兽残识地图导航
2025-10-18 20:15:36 +11:00
Weiyou Wang
6733f49d8b fix: 界园 dlc 背景无法放弃探索 (#14425)
* fix: refine template for JieGarden@Roguelike@Abandon

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-18 15:27:27 +08:00
萨拉托加
e7f909c807 fix: 界园狭路相逢选项 2025-10-18 10:39:36 +08:00
HX3N
147cf766c1 fix: YostarKR RoguelikeCustom-HijackSquad squad recognition 2025-10-18 00:37:52 +09:00
HY
b9edba6cf5 chore: 繁中服主線、肉鴿導航 UI 更新 (#14433)
* chore: 繁中服主線、肉鴿導航 UI 更新

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: sarkaz DLC

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-17 22:43:27 +08:00
HY
39326e177b chore: 繁中服「輓歌燃燒殆盡」活動導航 (#14434)
* chore: 繁中服「輓歌燃燒殆盡」活動導航

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-17 22:42:22 +08:00
萨拉托加
e6cfa25f81 fix: Award模板阈值还是小了
fix #14431
2025-10-17 19:53:26 +08:00
MistEO
2c247bbeda fix: 掉落识别增加越界检查 (#14312)
Co-authored-by: Weiyou Wang <44151844+Alan-Charred@users.noreply.github.com>
2025-10-17 16:08:54 +08:00
萨拉托加
af69b6172c fix: 界园杂疑选项 2025-10-17 14:22:55 +08:00
github-actions[bot]
5626880d19 chore: Auto Update Game Resources - 2025-10-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18584128794

[skip changelog]
2025-10-17 06:11:57 +00:00
Jim-Happy
445ce5352f fix: 修复 "设置-外部通知" 存在多个通知渠道时只会发送到第一个成功的渠道问题 (#14380)
* feat: 添加选项:发送到所有通知渠道

* style: 删除调试注释

* refactor(settings): 删除原PR逻辑,改为修复通知驱动只通知一个的bug

删除原PR逻辑,改为修复通知驱动只通知一个的bug
2025-10-17 13:55:29 +08:00
travellerse
dce6fbfbce feat: 添加刷常乐节点策略 (#13868)
* feat: 支持识别常乐节点的子类型

* perf: 将树洞节点优先级拆到配置里

* refactor: 将界园树洞策略从通用Routing策略中分离出来

* feat: 初步实现刷常乐节点

* feat: 为刷常乐节点功能添加UI

* refactor: 重命名节点类型获取函数

* perf: 优化节点类型的日志输出

* feat: 添加发现目标常乐节点后退出

* i18n: CN常乐节点显示文本

* fix: 修复type2name映射初始化潜在问题

* perf: 添加目标子类型的设置和获取方法

* refactor: 优化优先级节点类型解析逻辑

* feat: 刷常乐节点策略下保存路上的招募券

* i18n: 为其它语言提供占位

* perf: 将新增的本地化键值放到一起

* chore: 调整日志输出中的空格

* perf: 仅在非开局招募时保存招募券

* perf: 保留招募券到达上限时正常招募

* fix: 修复gui日志输出没有使用本地化

* fix: 给界园树洞节点点击加上200ms的前置延时

* perf: 在 RoguelikeRoutingTaskPlugin 中添加运行模式以区分普通地图与界园树洞

* refactor: 优化RoguelikeBoskyPassageMap的单例使用

* feat: 添加界园树洞节点类型wpf输出及其颜色配置

* fix: 不在每次开始肉鸽重置m_target_subtype
2025-10-17 16:54:30 +11:00
github-actions[bot]
724130da50 chore: Auto Update Game Resources - 2025-10-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18583431830

[skip changelog]
2025-10-17 05:29:46 +00:00
萨拉托加
12315868c7 fix: 界园肉鸽选项 2025-10-17 13:08:00 +08:00
萨拉托加
230b3b9169 fix: 给ClickToStartPoint加点延迟
fix #14421
2025-10-17 12:51:01 +08:00
github-actions[bot]
3c61b10de5 chore: Auto Update Game Resources - 2025-10-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18582491372

[skip changelog]
2025-10-17 04:31:47 +00:00
萨拉托加
5456428eb7 fix: 萨卡兹去伪存真弹窗有延迟无法退出 2025-10-17 12:21:06 +08:00
github-actions[bot]
1ca780ef0d chore: Auto Update Game Resources - 2025-10-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18581606017

[skip changelog]
2025-10-17 03:35:51 +00:00
HX3N
8f3ff813a1 chore: YostarKR SSS#8 SSSBuffChoose 2025-10-17 11:38:29 +09:00
Constrat
a4688ebeed chore: update SSS#8 buff choose ocr for EN 2025-10-16 22:08:30 +02:00
Constrat
7d028cdbd5 chore: SSS#8 global changes (add acahuallan, remove dossoles and barrenbeasts) 2025-10-16 22:03:28 +02:00
Constrat
ef187657ba fix: cleanup ifdef + fix AsstDestroy missed calls + lldb 2025-10-16 21:49:14 +02:00
Constrat
403f3c5644 Release v5.26.2 (#14399) 2025-10-16 20:08:32 +02:00
不留
369add1890 ci: 为 CodeQL 相关工作流添加仓库所有者检查 (#14413)
* ci: 为 CodeQL 相关工作流添加仓库所有者检查

* ci: 为 CodeQL 相关工作流添加仓库所有者检查
2025-10-16 20:04:23 +02:00
github-actions[bot]
0ae21436c8 chore: Auto Templates Optimization
Triggered by a322706241

[skip changelog]
2025-10-16 14:38:37 +00:00
pre-commit-ci[bot]
a322706241 chore: Auto update by pre-commit hooks [skip changelog] 2025-10-16 14:38:00 +00:00
Constrat
ec2b92002b fix: Fix contro center mini for EN 2025-10-16 16:34:34 +02:00
晓丶梦丶仁
36dd631606 fix: MiniGame Value 重复 2025-10-16 17:10:48 +08:00
github-actions[bot]
a201b3da65 chore: Auto Update Game Resources - 2025-10-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18556208810

[skip changelog]
2025-10-16 09:09:46 +00:00
晓丶梦丶仁
7421100998 fix: JP GreenGrass 2025-10-16 16:44:19 +08:00
萨拉托加
e98ff0ee35 fix: 萨米肉鸽深入探索触发暂时撤退会卡住 (#14275)
* fix: 萨米肉鸽深入探索触发暂时撤退会卡住

不知道MissionFailedFlag原来的next有什么用,暂时撤退的话感觉next个MissionCompletedFlag就够了

* chore: 加点延迟
2025-10-16 15:50:32 +08:00
Lucien Shaw
d7acdfda36 docs: 为文档站字符画组件更换缩放方法和添加主题切换支持 (#14387)
* docs: 文档站字符画组件的大小调整改用transform: scale

* docs: 字符画适应窗口垂直高度

* chore: 我们精简了字符画,这样你才知道这是字符画

* fix: 调整字符画尺寸前先判断分母是否为0

* refactor: 字符画组件卸载时一并移除窗体resize事件监听

* feat: 切换主题时保留当前随机到的字符画名称

* style: prettier fix
2025-10-16 15:37:39 +08:00
github-actions[bot]
6dfffdc45b chore: Auto Templates Optimization
Triggered by 6834ee1abe

[skip changelog]
2025-10-16 04:34:13 +00:00
HX3N
6834ee1abe fix: YostarKR update Infrast Mini tempalte 2025-10-16 13:28:54 +09:00
Manicsteiner
a571e974b6 chore: YostarJP RecruitingActivities 2025-10-16 08:58:16 +08:00
github-actions[bot]
2440f365c9 docs: Auto Update Changelogs of v5.26.2 (#14400)
* docs: Auto Generate Changelog of Release v5.26.2

* i18n: simple highlight for global

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-10-15 18:40:15 +02:00
Constrat
f182d36014 fix: RecruitingActivities EN 2025-10-15 16:18:03 +02:00
github-actions[bot]
cd6a3efc4e chore: Auto Update Game Resources - 2025-10-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18530257413

[skip changelog]
2025-10-15 13:19:46 +00:00
Manicsteiner
3ee20cee2e chore: YostarJP ocr update (#14402) 2025-10-15 11:01:05 +02:00
HX3N
d9aa14333e fix: KR update RecruitingActivities ocr text 2025-10-15 09:44:28 +09:00
github-actions[bot]
a1cc9df6bd chore: Auto Templates Optimization
Triggered by 9313a606f2

[skip changelog]
2025-10-15 00:10:10 +00:00
HX3N
9313a606f2 fix: BattleQuickFormation KR 2025-10-15 09:05:25 +09:00
github-actions[bot]
3c6c7624dd chore: Auto Templates Optimization
Triggered by 0e00b05128

[skip changelog]
2025-10-14 21:47:56 +00:00
Constrat
0e00b05128 fix: ReceptionMini for EN 2025-10-14 23:47:35 +02:00
Constrat
fbf8b5636d chore: revert temp fix 715c2c13b5 for EN / JP and KR
@momomochi987this will likely happen to txwy... Try to remember?
2025-10-14 23:26:08 +02:00
Constrat
c535cbdf6d fix: Various store OCR for EN IS 2025-10-14 23:20:56 +02:00
Constrat
a872c08a32 fix: MT minigame EN 2025-10-14 23:20:32 +02:00
Manicsteiner
ff457fbd21 chore: Enable phantom roguelike difficulty for Yostar servers (#14332)
* chore: enable phantom roguelike difficulty for Yostar servers

* chore: JP translate
2025-10-14 23:10:01 +02:00
Constrat
b4fcf37b35 i18n: update MT mini event EN 2025-10-14 23:09:04 +02:00
github-actions[bot]
b5ba39174d chore: Auto Templates Optimization
Triggered by 319ee8876a

[skip changelog]
2025-10-14 21:05:58 +00:00
Constrat
319ee8876a fix: operbox, battlequick, infrast expand role EN 2025-10-14 23:05:33 +02:00
Constrat
2a8b0f7f01 fix: Exusiai and Hoshiguma prepare for alters 2025-10-14 20:25:59 +02:00
Constrat
a7dc1f791f fix: increase ROI for Orundum and SpecialAccess 2025-10-14 20:04:16 +02:00
HX3N
16a160f3a5 chore: YostarKR MT ocr edit (#14398)
* chore: YostarKR MT ocr edit

* chore: IS1 dlc
2025-10-14 19:58:54 +02:00
Constrat
7676b7235b fix: OrundumActivities MT event for EN 2025-10-14 17:13:18 +02:00
github-actions[bot]
e100cc68e2 chore: Auto Update Game Resources - 2025-10-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18496105506

[skip changelog]
2025-10-14 12:14:33 +00:00
github-actions[bot]
5923efe988 chore: Auto Update Game Resources - 2025-10-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18494958090

[skip changelog]
2025-10-14 11:27:27 +00:00
HX3N
6b91bd8106 chore: YostarKR MiniGame (#14395)
* chore: YostarKR MiniGame

* chore: fix typo
2025-10-14 11:50:38 +02:00
github-actions[bot]
24df42e14a chore: Auto Update Game Resources - 2025-10-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18484871142

[skip changelog]
2025-10-14 03:49:09 +00:00
Manicsteiner
6fc5800e02 chore: YostarJP update VisitNext (#14390) 2025-10-13 16:17:00 +02:00
dependabot[bot]
eb91fc34a6 ci: bump the github-actions group in /.github/workflows with 2 updates (#14391)
Bumps the github-actions group in /.github/workflows with 2 updates: [softprops/action-gh-release](https://github.com/softprops/action-gh-release) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `softprops/action-gh-release` from 2.3.4 to 2.4.1
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.4...v2.4.1)

Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 16:15:31 +02:00
萨拉托加
03f71f02cb chore: 调整Award模板阈值 2025-10-13 14:38:38 +08:00
github-actions[bot]
966c7a251a chore: Auto Templates Optimization
Triggered by 3b74c1c4c9

[skip changelog]
2025-10-12 12:50:04 +00:00
Constrat
3b74c1c4c9 fix: update ChooseDifficulty for EN phantom 2025-10-12 14:49:39 +02:00
Constrat
295e7742f1 fix: revert IS2 EN StrategyChange changes 2025-10-12 14:49:22 +02:00
Constrat
bfdd20f6ff fix: add IS2 invest mode to EN, JP and txwy
cc @Manicsteiner @momomochi987

28a768a changed unilaterally tasks that were dependant on global
5516809 fixed but I forgot to add Phantom back
2025-10-12 14:49:05 +02:00
MistEO
63cce9811f docs: update prts.plus repo link 2025-10-12 20:02:28 +08:00
MistEO
0bed1d777a docs: 移除前端公招 2025-10-12 19:59:57 +08:00
Constrat
8ec0974d1b ci: add ownership check to Deploy to GitHub Pages
thanks to @weinibuliu
2025-10-12 13:46:33 +02:00
不留
6d9a6e5a4b ci: Add repo owner judgment to some steps of website-workflow.yml (#14378)
* ci: 为 website-workflow 增加仓库所有者判断

* ci: update workflow

* ci: move ownership check to only configure-gh-pages

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-10-12 13:38:02 +02:00
Constrat
7079975bd2 chore: auto run smoke testing on tools/SmokeTesting modifications 2025-10-11 22:53:01 +02:00
Constrat
f06030ac44 ci(revert): remove lldb as it just crashed the workflow erroring out 2025-10-11 22:52:11 +02:00
Constrat
b56d60aa8f fix: POSIX compliant 2025-10-11 22:43:16 +02:00
Constrat
d7f936cb3c ci(fix): use sh for smoketesting 2025-10-11 22:34:24 +02:00
Constrat
b7b80ebbea fix: preload Minigame EN 2025-10-11 20:43:55 +02:00
HX3N
daa4eab296 chore: YostarKR preload minigame (#14375) 2025-10-11 20:35:16 +02:00
Constrat
fad643985e fix: python formatting 2025-10-11 12:52:05 +02:00
HX3N
b562b6b231 fix: KR monthly card reward 2025-10-11 08:19:26 +09:00
Lucien Shaw
aa89062bdf docs: 更新plume主题并适应新版的collections配置 (#14360)
* chore: 更新pnpm版本

* chore: 更新plume主题

* docs: 适应新版文档主题的collections配置

* style: pre-commit fix
2025-10-10 21:11:54 +08:00
github-actions[bot]
374e9ed1f2 chore: Auto Update Game Resources - 2025-10-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18406450197

[skip changelog]
2025-10-10 12:26:59 +00:00
Constrat
959063b34c fix(ci): task sorter UTF-8 BOM fix 2025-10-10 14:25:37 +02:00
Constrat
fbf16d00c1 chore: preload minigame for MT EN 2025-10-10 14:12:10 +02:00
Manicsteiner
bacc34531e chore: YostarJP MT stages and Duel channel (#14362)
* chore: YostarJP MT stages and Duel channel
2025-10-10 14:01:30 +02:00
HX3N
6507ac0072 chore: KR MT navigation (#14365)
* chore: KR MT navigation
2025-10-10 13:59:10 +02:00
Constrat
965b6f69ce fix: EN monthly card reward 2025-10-10 13:51:01 +02:00
github-actions[bot]
eb924b816d chore: Auto Templates Optimization
Triggered by 72bc6d8ace

[skip changelog]
2025-10-10 10:58:15 +00:00
HX3N
72bc6d8ace fix: YostarKR update VisitNext
ref #14357
2025-10-10 19:57:39 +09:00
Constrat
df1a16aca3 feat: preload MT navigation EN
@Manicsteiner @HX3N Just a heads up. The tweets have been posted
2025-10-10 12:16:51 +02:00
Constrat
87f4440209 fix: update VisitNext
ref #14357
2025-10-10 12:05:57 +02:00
uye
76252d42e3 style: c# 统一使用文件范围限定的 namespace 2025-10-10 13:36:18 +08:00
github-actions[bot]
cca22c1493 chore: Auto Update Game Resources - 2025-10-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18396496857

[skip changelog]
2025-10-10 04:31:39 +00:00
github-actions[bot]
b0ddb9e28e chore: Auto Templates Optimization
Triggered by 3195129fa7

[skip changelog]
2025-10-10 04:24:57 +00:00
uye
3195129fa7 feat: 支持访问好友半透明界面 2025-10-10 12:24:23 +08:00
status102
42bd5ceaf0 chore: 16-16地图 2025-10-10 12:01:13 +08:00
github-actions[bot]
aae1faef41 chore: Auto Update Game Resources - 2025-10-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18395654688

[skip changelog]
2025-10-10 03:34:29 +00:00
Constrat
baf3bc69ca i18n: remove global info for mumu 2025-10-10 00:11:14 +02:00
uye
fde7e7dfa4 Release v5.26.1 (#14351) 2025-10-10 01:08:02 +08:00
github-actions[bot]
0af9034bad docs: Auto Update Changelogs of v5.26.1 (#14352)
* docs: Auto Generate Changelog of Release v5.26.1

* docs: Release v5.26.1 with new features and fixes

This version introduces initial support for the Rebuilding Mandate and significant improvements to the Auto I.S. recruitment strategy, enhancing gameplay experience and fixing various issues.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-10-10 00:50:43 +08:00
uye
516d47bb9d fix: 游戏更新公招界面后无法确认招募 (#14335)
* fix: 游戏更新公招界面后无法确认招募

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-10 00:32:48 +08:00
uye
afc16cf6e6 feat: 新增 cdk 被封禁的提示信息 2025-10-10 00:16:47 +08:00
uye
e52f573a7f fix: 第一次访问 mirror酱 失败时错误提示 cdk 已过期 2025-10-10 00:16:47 +08:00
MistEO
04206e7e5e ci: use sh install zsh to fix resource updater
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18378946272/job/52360092110

Zsh seems to treat the array as a whole string and cannot split it, resulting in traversal errors @Constrat
2025-10-09 22:16:48 +08:00
MistEO
8c71f709db fix: resource version 2025-10-09 21:22:38 +08:00
github-actions[bot]
7f6b490d00 chore: Auto Update Game Resources - 2025-10-09
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18377623299

[skip changelog]
2025-10-09 13:18:11 +00:00
github-actions[bot]
a0bd928f75 chore: Auto Update Game Resources - 2025-10-09
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18370407108

[skip changelog]
2025-10-09 08:33:27 +00:00
github-actions[bot]
fc7c823b9f chore: Auto Update Game Resources - 2025-10-09
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18367676923

[skip changelog]
2025-10-09 06:33:51 +00:00
MistEO
488b16e8e7 fix: Update last_updated date in version.json 2025-10-09 09:07:03 +08:00
MistEO
fcc146ad2a fix: Update last_updated timestamp in version.json 2025-10-09 09:06:16 +08:00
github-actions[bot]
64ec655631 chore: Auto Templates Optimization
Triggered by 35cf87547c

[skip changelog]
2025-10-08 23:09:46 +00:00
github-actions[bot]
35cf87547c chore: Auto Update Game Resources - 2025-10-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18360388224

[skip changelog]
2025-10-08 23:08:38 +00:00
uye
4db7a06f01 fix: 手动关闭模拟器后未重启 MAA 时 minitouch 可能失效 2025-10-08 16:48:27 +08:00
Weiyou Wang
24bb443e08 docs: 补充 CopilotTask 的文档 (#14319) 2025-10-08 19:28:21 +11:00
Weiyou Wang
02133548c4 fix: 尝试修复生息演算任务识别并删除编队时卡住的问题 (#14290)
* fix: 尝试修复生息演算任务识别并删除编队时卡住的问题

* refactor: 改用 #self
2025-10-08 16:07:45 +08:00
uye
eff2818404 refactor: 使用 BeginAnimation 替代 新建 Storyboard 并添加动画 2025-10-07 21:38:43 +08:00
dependabot[bot]
8017430308 ci: bump the github-actions group across 1 directory with 2 updates (#14311)
Bumps the github-actions group with 2 updates in the /.github/workflows directory: [softprops/action-gh-release](https://github.com/softprops/action-gh-release) and [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact).


Updates `softprops/action-gh-release` from 2.3.3 to 2.3.4
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.3...v2.3.4)

Updates `actions/upload-pages-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-pages-artifact
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 15:28:22 +02:00
github-actions[bot]
9b10bb6e02 chore: Auto Update Game Resources - 2025-10-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18306279350

[skip changelog]
2025-10-07 08:11:26 +00:00
Horror Proton
b89777ec07 chore: run smoke test in lldb 2025-10-07 05:41:49 +00:00
Lucien Shaw
e72b6d5e24 docs: 添加目录自动跳转组件并使locale自动生成 (#14299)
* feat: 文档站添加重定向vue小组件

* revert: "docs: 将文档中指向部分文档目录的链接改为指向对应目录下的第一篇文档 (#14292)"

This reverts commit a24c772880.

* docs: zh-tw 目录自动跳转

* docs: zh-cn 目录自动跳转

* docs: ko-kr 目录自动跳转

* docs: ja-jp 目录自动跳转

* docs: en-us 目录自动跳转

* docs: 修复了多语言faq文章中的外链对应语言错误的问题

* refactor: 将matter模块改为default import

* feat: 将文档站的i18n和导航相关设置改为全自动生成

* fix: 去除了冗余的locale属性

文档站根据文件目录名称进行索引,linkName和dirName不可能不相同,故简化为单属性name

* refactor: 调整导航组件生成模块中的部分数据类型

* style: prettier fix
2025-10-04 23:44:54 +08:00
Lucien Shaw
fb0bf0a510 docs: 文档站新增字符画组件 (#14270)
* docs: 拯救牛牛!

* chore: 字符画使用单独目录

* feat: 随机动态加载字符画

* feat: 文档站的开发者工具console会打印随机字符画

* fix: 调整字符画初始行高,修正比例

* refactor: 简化冗余的缩放逻辑

* fix: 测量基准宽度时添加100ms延迟

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 加上类型注解,避免编辑器报错

* chore: 更改prettier配置,typescript行尾不使用分号

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 完善字符画大小调整算法,稳定后再调整字体

* fix: 字符画的自适应调整逻辑

* feat: 字符画支持自定义主题

* docs: 调整“字号不要用小数”的注释提示

* fix: 判断document是否定义,避免构建失败

* refactor: 完善字符画获取逻辑

* feat: 为console中展示的字符画添加自动检测主题功能

* fix: 避免因滚动条等原因造成的字符画尺寸抖动

* chore: Priestess

* refactor: 将字符画调取模块置于插件目录下

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-04 23:21:12 +08:00
Goat Boring(山羊博宁88)
a24c772880 docs: 将文档中指向部分文档目录的链接改为指向对应目录下的第一篇文档 (#14292)
* Update newbie.md

* Update newbie.md

* Update newbie.md

* Update newbie.md

* Update newbie.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md
2025-10-04 02:12:26 +08:00
Pylinx171
7a3484dc52 chore: 将mac开发环境下的cmake_osx版本改为13.4 (#14283)
Co-authored-by: lihao2Gops5m9x <li@m8@cx7H5g3eM>
2025-10-03 19:12:11 +08:00
晓丶梦丶仁
2aa2e87fd6 fix: "MiniGame@RM-1@Wait" 2025-10-03 17:20:12 +08:00
Status102
2ef25416f9 perf: RegionOCRer 中 useRaw=false 时, 使用原图二值蒙版代替直接 OCR 二值图像 (#14276)
perf: RegionOCRer中useRaw=false时, 使用原图裁剪代替二值化图像
2025-10-03 16:13:59 +08:00
Rain Yang
435e17867e fix: 增强 playtools 关闭连接时的异常处理,确保套接字安全关闭 (#14280)
* fix: 增强playtools关闭连接时的异常处理,确保套接字安全关闭

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-03 14:14:02 +08:00
Constrat
707d31bb30 fix: EN IS3 encounter ocr
fix MAA,EN服水月肉鸽 事件名识别错误bug
Fixes #1427214272
2025-10-01 15:32:24 +02:00
status102
de08a33db1 fix: 理智药使用数量ocr不准确时中断使用 2025-10-01 19:25:07 +08:00
status102
d724b8ff9c fix: 使用理智药 执行减少次数循环在asst_stop时缺少中断判断 2025-10-01 19:21:47 +08:00
萨拉托加
1bb7828255 chore: YostarJP ocr fix 2025-10-01 15:26:15 +08:00
萨拉托加
d2a81987b2 fix: 修复因失败导致次生预算出错 (#14267) 2025-10-01 07:38:13 +08:00
github-actions[bot]
ed7ee78952 chore: Auto Update Game Resources - 2025-09-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18137728844

[skip changelog]
2025-09-30 17:07:49 +00:00
晓丶梦丶仁
2973ebbbdb feat: RM-1 (#14271) 2025-10-01 00:54:41 +08:00
Lucien Shaw
e461208bf9 chore: 完善容器配置及依赖安装 (#14208)
格式化工具部分:
1. pre-commit 引入 python 的格式化工具,包括 black(代码格式化)和 isort(对“包导入顺序”的规范)
2. 允许 prettier 对文档站的 markdown 文件格式化
3. 不允许 prettier 对 markdown 文件中的代码块的代码本身进行格式化
4. 升级了 pre-commit 的各个 hook 的版本
5. 优化了 pre-commit 的日志文本显示

容器总览部分:
1. 由原来的单一轻量环境转为区分空环境、轻量环境和全量环境
2. 空环境是裸 Linux 镜像(Ubuntu),为默认环境
3. 轻量环境适合开发文档站前端
4. 全量环境适合开发 MaaCore
5. 目前,全量环境完整包含了轻量环境,轻量环境完整包含了空环境
6. 在仓库 README.md 中更新了三个环境的描述,并将链接分别设置为对应环境的创建链接
   **注意:没有修改文档站中的对应文件**
7. 在各个语言的开发指南的最后,移除了 Codespace 部分的“安装额外依赖”相关描述,且将链接设置为全量环境的创建链接
   **注意:没有添加“开发文档站”的指南和对应 codespace 的使用方式**

容器的轻量环境和全量环境共有部分:
1. 安装 black 和 isort 包
2. 调整 VS Code 设置,取消先前(对 markdown 文件单独指定 markdownlint 扩展作为格式化工具)的错误设置,现在 markdown 文件仍然使用默认的 prettier 扩展作为格式化工具
3. 引入 markdown-all-in-one 扩展作为语法提示工具
4. 将 node_modules 和 3rdparty 排除在 VS Code 的文本的搜索路径之外

容器的全量环境部分:
1. 为 tools 下的所有 python 脚本安装依赖
2. 使用 tools/maadeps-download.py 下载 maadeps,且将必要二进制文件软链接到 /usr/local/bin/
3. 使用 apt 安装 cmake 和 clangd-20,将后者通过 update-alternatives 设置为系统 clangd 的默认版本
4. 使用 cmake tools 扩展,并按照 Linux 编译方法进行配置
5. 使用 clang-format 作为 c/cpp 的格式化工具,clang-format 程序主体来自 maadeps(已经软链接到 /usr/local/bin/)
6. 使用 clangd 作为 c/cpp 的语法提示工具
7. 将 MaaDeps、install 和 build 排除在 VS Code 的文本搜索路径之外

其它手动调整:
1. 更新文档站的 package.json,指定 pnpm 包管理器的版本
2. 手动保证 markdown 文件中的列表前后有空行(注意到 MarkdownLint 官方规则不一定能精准定位所有“列表前后空行”的问题,详见:https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines )
3. 修改了部分 markdown 文件中的 json 代码块的语法问题
   **注意:相同的问题并未全部发现,仅修改了两处**
4. 在 tools 目录中,一处 python 脚本的包名误用(本地包名和某个 pip 包重名),这里修改了相应代码
5. 在 tools 目录中,一处 python 脚本使用了弃用的包 cchardet 的问题,这里更换了推荐使用的功能相近的包并修改了相应代码

自动化脚本提交的修改:
1. 自动格式化了大量 tools 中的 python 脚本
2. 自动格式化了大量 docs 中的 markdown 文件

Commits:

* chore: pre-commit引入black和isort规范py文件

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: devcontainer添加isort扩展,排序python导入

* chore: pre-commit任务命名及更名

* style: isort fix

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 更新pre-commit的hook版本

* fix: 模块名与第三方库重名,大忌

* chore: 容器构建时额外安装isort

* docs: md -> markdown

* chore: 容器安装python包和maadeps

* fix: 修复过时python包

* chore: 指定pnpm版本

* chore: container支持选择轻量环境

* chore: 去掉rust

* chore: add plain env

* chore: 使用clangd语言服务器

* chore: 无需单独设置markdown的格式化工具

* chore: 更新安装的clangd版本

* docs: 简易文档适配

* docs: 在仓库README中重新编排codespaces相关指引

* chore: Auto update by pre-commit hooks [skip changelog]

* style: 调整缩进

* chore: 格式化工具不用特意排除被gitignore忽略的文件

* chore: sh文件在gitattributes中单列一类

* chore: 格式化docs下的markdown文件

* chore: 暂时不修改md文件中的代码块

* style: 人为明确markdown中的部分列表相关格式

* docs: 补上部分markdown的json代码块中缺失的逗号

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 补上tools的服务器排序相关代码中缺失的逗号

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: 使用maadeps的clangd

* build: 更新maadeps工具链版本

* style: prettier fix

* revert: 还原maadeps版本

* revert: 取消使用maadeps的clangd依赖,改用系统apt安装

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 19:39:48 +08:00
github-actions[bot]
22faefe71a chore: Auto Update Game Resources - 2025-09-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18121756589

[skip changelog]
2025-09-30 07:09:27 +00:00
uye
7d080de077 Release v5.26.0 (#14261) 2025-09-30 14:21:11 +08:00
github-actions[bot]
cc65a68384 docs: Auto Update Changelogs of v5.26.0 (#14262)
* docs: Auto Generate Changelog of Release v5.26.0

* docs: Update CHANGELOG for v5.26.0 enhancements and fixes

* docs: Update CHANGELOG with recent fixes and optimizations

* docs: 更新 CHANGELOG,添加次生预案支持和自动肉鸽优化说明

* docs: 修正 CHANGELOG 中关于次生预案的描述格式

* docs: 更新 CHANGELOG,添加「次生预案」和自动肉鸽的提示信息

* docs: 修正 CHANGELOG 中关于次生预案的描述,优化提示信息

* docs: 更新 CHANGELOG,修正次生预案部分的描述,优化资源点数说明

* docs: 修正 CHANGELOG 中关于次生预案提示信息的描述格式

* docs: 更新 CHANGELOG,完善次生预案功能描述,增加资源点数和材料信息

* docs: Revise CHANGELOG for recent updates and fixes

Updated the changelog to reflect changes in recruitment strategy, settings guide improvements, and documentation website redesign.

* docs: Revise CHANGELOG for new features and fixes

Updated the changelog to reflect changes in the '次生预案' feature and adjustments in the automatic meat pigeon recruitment strategy.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-09-30 14:20:54 +08:00
萨拉托加
0bb19a7376 fix: 水月肉鸽委托任务完成检测优先级过低 2025-09-30 13:59:19 +08:00
Weiyou Wang
ea6540cf6b fix: 商店刷新两步走 (#14201)
* fix: 商店刷新两步走

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: buy once only when both steps succeed (suggested by status102)

Co-Authored-By: Status102 <102887808+status102@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
2025-09-29 17:20:32 +08:00
萨拉托加
df75025dc5 perf: 调整界园肉鸽招募策略 (#14255) 2025-09-29 12:32:25 +08:00
Rbqwow
7ab8994ed8 docs: 更新文档 (#14236)
* docs: 补充自动战斗前提

* docs: 自动战斗傀影开局添加丰川祥子

* docs: 更新肉鸽闪断处理相关描述

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 更新肉鸽文档

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-09-29 12:29:40 +08:00
Manicsteiner
a263b62e63 feat: 萨卡兹肉鸽 待诉说的故事 二次选择 (#14246) 2025-09-29 12:21:24 +08:00
萨拉托加
bf7b2e633b fix: 水月肉鸽商店刷新延迟不够
fix #14256
2025-09-29 10:49:25 +08:00
github-actions[bot]
65b84f5dbd chore: Auto Update Game Resources - 2025-09-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18079189511

[skip changelog]
2025-09-28 20:08:28 +00:00
Manicsteiner
347f1e191e chore: YostarJP roguelike edits (#14252) 2025-09-28 21:00:23 +02:00
uye
7905eb9fed fix: 按钮显示文字错误 2025-09-28 13:55:30 +08:00
萨拉托加
3a6c49de0c fix: 次生预案模拟器卡了容易点过头 2025-09-28 09:38:03 +08:00
Hao Guan
0be1253334 ci: update macOS runner 2025-09-27 23:29:43 +08:00
Hao Guan
a10ab607b0 chore(mac): 新图标和界面风格 2025-09-27 22:24:14 +08:00
Lancarus
45649de131 perf: 优化界园肉鸽部分关卡策略 (#14244)
* perf: 优化界园肉鸽部分关卡策略

* fix: 按照建议修改

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-27 20:03:03 +08:00
uye
c3ebfce07b feat: mac 支持次生预案 2025-09-27 14:59:39 +08:00
Constrat
a57e5cf98a fix: clang 2025-09-26 21:54:06 +02:00
uye
78ff33d6f0 fix: 怎么还有人在用 adb input 2025-09-27 00:32:11 +08:00
uye
a64bfc5ba3 perf: 优化次生预案执行速度 2025-09-26 23:21:22 +08:00
uye
a8ef1420b6 Release v5.26.0-beta.1 (#14231) 2025-09-26 14:13:39 +08:00
github-actions[bot]
1d7a893950 docs: Auto Update Changelogs of v5.26.0-beta.1 (#14232)
* docs: Auto Generate Changelog of Release v5.26.0-beta.1

* docs: Refactor CHANGELOG to remove duplicates and update entries

Removed duplicate entries and updated various documentation items in the CHANGELOG.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-09-26 14:11:43 +08:00
pre-commit-ci[bot]
ef8964e0a7 chore: Auto update by pre-commit hooks [skip changelog] 2025-09-26 06:02:15 +00:00
Wallsman
775c640dba docs: Update JP(#14227)
* Update readme.md

Doc: Text sync chinese.

* Update others.md

Doc: Sync text for Chinese.

* Update copilot.md

Doc: Sync Text for Chinese.

* Update reclamation-algorithm.md

Doc: Text sync for Chinese.

* Update rewards.md

Doc: Sync text for Chinese.

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-26 13:58:54 +08:00
github-actions[bot]
634ebb55db chore: Auto Templates Optimization
Triggered by 5ac171d40c

[skip changelog]
2025-09-26 05:58:00 +00:00
uye
5ac171d40c feat: 次生预案十里坡剑神 2025-09-26 13:57:33 +08:00
Constrat
0ae323c855 fix: Google Play Games Developer shutdown 2025-09-26 01:24:57 +02:00
MistEO
8aaba7d60e fix: manual set resource version time 2025-09-26 00:58:36 +08:00
github-actions[bot]
caed828770 chore: Auto Templates Optimization
Triggered by 3f252eb12e

[skip changelog]
2025-09-25 08:50:39 +00:00
github-actions[bot]
3f252eb12e chore: Auto Update Game Resources - 2025-09-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18002097304

[skip changelog]
2025-09-25 08:49:14 +00:00
Manicsteiner
e8051a6a39 chore: YostarJP Sarkaz roguelike StageEncounter (#14223) 2025-09-25 00:17:07 +02:00
Rbqwow
e0860ed779 docs: 补充vsc插件繁中文档
refer to a872081615
2025-09-23 14:32:12 +00:00
Rbqwow
1324165cfe docs: 修复文档站readme盾换行 2025-09-23 13:58:15 +00:00
Lucien Shaw
96aa7ada11 docs: 调整文档站的标题和尾注文本显示 (#14213)
* chore: 更新plume主题版本

* chore: 更新文档站尾注配置

* i18n: 调整多语言的默认网站标题

* docs: 调整首页的网页标题

* docs: 文档站首页MAA标题加阴影
2025-09-23 21:36:58 +08:00
Rbqwow
ca3160bd72 docs: 更新网页开发相关文档 (#14167)
* docs: vuepress-theme-hope --> vuepress-theme-plume

* docs: website --> docs

* chore: 添加 preview 图片

* feat: 添加回图片相关插件

* perf: logo 超级压缩

* perf: preview 也超级压缩

* docs: 找 GPT-5 Thinking 翻译了一下日语的本地部署

* chore: 预览图还是得走一下网页镜像

* i18n: JP

* docs: 修复损坏的超链接

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 这东西是怎么混进来的

---------

Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-23 17:49:19 +08:00
Manicsteiner
c3bac8b504 chore: YostarJP sami roguelike 720p (#14210) 2025-09-23 10:53:52 +02:00
zzyyyl
642c62498c docs: 完善任务流程协议文档 (#13232)
* docs: 完善任务流程协议文档

* docs: English version of task-schema.md

* docs: markdown-lint
2025-09-23 14:21:37 +08:00
zzyyyl
56cf52808d docs: markdown pre-commit 2025-09-23 14:16:39 +08:00
pre-commit-ci[bot]
5d47ede186 chore: Auto update by pre-commit hooks [skip changelog] 2025-09-23 13:52:02 +08:00
萨拉托加
a48fe44663 chore: 水月萨米肉鸽不期而遇避战
fix #14207
2025-09-23 13:32:47 +08:00
nekosu
a872081615 docs: add extension's evaluating feature 2025-09-23 11:43:42 +08:00
Constrat
485ef8fcbf fix: prettier 2025-09-23 00:28:47 +02:00
Manicsteiner
c450e596f7 chore: YostarJP Mizuki StageEncounter (#14206) 2025-09-22 23:27:18 +02:00
SherkeyXD
f9c16319a8 docs: 回调消息协议文档视觉更新 2025-09-23 03:01:56 +08:00
SherkeyXD
5db20fe2c4 docs: 集成文档视觉更新 2025-09-23 02:41:13 +08:00
SherkeyXD
e12c7f948d docs: 文档启用b站视频播放功能 2025-09-23 02:03:57 +08:00
SherkeyXD
cb546b4370 docs: 文档添加字段容器功能 2025-09-23 02:01:29 +08:00
SherkeyXD
c193b26b62 docs: 文档添加功能 2025-09-23 01:56:38 +08:00
SherkeyXD
91c8a22d1c docs: 更新文档编写指南 2025-09-23 01:56:38 +08:00
SherkeyXD
b8205b5593 docs: add telegram icon 2025-09-23 01:56:38 +08:00
MistEO
68248df197 docs: 标题MAA统一采用缩写 2025-09-23 01:41:48 +08:00
MistEO
db98bb370e chore: 再次调整文档站标题( 2025-09-23 01:35:56 +08:00
MistEO
bf2375a44f chore: 调整文档站标题 2025-09-23 01:32:20 +08:00
Rbqwow
d12fb7d565 refactor: devcontainer.json (#14169)
* chore: cleanup devcontainer.json

* chore: 配置devcontainer环境

* build: 更新conda配置

* chore: 更新pnpm包的安装允许列表

---------

Co-authored-by: Lucien Shaw <myxlc55@outlook.com>
2025-09-23 00:53:41 +08:00
Lucien Shaw
9838dec4fd fix: 文档首页语言选择按钮的宽度定义方式 (#14199) 2025-09-22 22:11:54 +08:00
uye
793d03d47b feat: 设置指引添加更新设置 2025-09-22 20:31:35 +08:00
uye
56d796c92e feat: 统一显示效果 2025-09-22 19:36:00 +08:00
uye
aae995aef5 feat: 设置指引添加性能设置 2025-09-22 19:36:00 +08:00
萨拉托加
9159e5d979 fix: 傀影肉鸽无法识别四结局 (#14193)
* fix: 傀影肉鸽无法识别四结局

既然MAA能打就加个模板比较好?

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 四结局必要不期而遇进战斗

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-22 16:27:54 +08:00
萨拉托加
705c5a4c68 fix: GamePassSkip2识别到错误的跳过
看录屏发现的,GamePassSkip1之后可能会出现一个一闪而过的GamePassSkip2被maa识别到,好抽象
2025-09-22 16:14:37 +08:00
Rbqwow
a563b14f47 refactor: 重写完成后动作仅一次的ui字符串 (#14196) 2025-09-22 14:44:49 +08:00
uye
400fd6bf53 chore: 贸易站没其他好用的人再用锏 2025-09-21 19:07:33 +08:00
萨拉托加
2915338cac fix: 萨米肉鸽不期而遇避战
fix #14192
2025-09-21 16:53:48 +08:00
uye
09dc393c98 docs: Update CHANGELOG with recent changes and fixes 2025-09-21 14:06:55 +08:00
uye
0650cdb64e Release v5.25.0 (#14184) 2025-09-21 13:54:51 +08:00
github-actions[bot]
385c521eb4 docs: Auto Update Changelogs of v5.25.0 (#14185)
* docs: Auto Generate Changelog of Release v5.25.0

* docs: 更新 v5.25.0 版本变更日志,增加自动战斗和基建换班功能的优化说明

* docs: 更新 v5.25.0 版本变更日志,增加对自动战斗和基建换班功能的详细说明

* docs: 修复 CHANGELOG.md 中的格式问题

* docs: 修复 CHANGELOG.md 中的拼写错误

* docs: Update dependencies and change CDN provider

Updated project dependencies and switched to a new CDN provider for improved access speed.

* docs: 更新依赖库并更换官网和 API 节点的 CDN 提供商,优化访问速度

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-09-21 13:54:32 +08:00
萨拉托加
a37a74a4e2 fix: 现买现印选项
fix #14188
2025-09-21 12:22:02 +08:00
MistEO
1d2d49920a chore: 整理文档站 social 链接 2025-09-21 11:40:23 +08:00
MistEO
da82e14efc chore: 删除文档站不知道有啥用的文件? 2025-09-21 11:36:01 +08:00
MistEO
ad9103ea12 docs: 修改文档站导航栏跳转 2025-09-21 11:35:47 +08:00
nekosu
26296b3b82 docs: Maa Pipeline Support 扩展文档 (#14110)
* doc: cache

* doc: vsc ext doc skeleton

* fix: svg ref

* doc: optimize

* docs: 在任务流程协议文档中添加扩展使用提示

* docs: add en translation

* docs: 补充跳转超链接

---------

Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-09-21 04:31:14 +08:00
Constrat
72ba949f1c chore: remove comment on script 2025-09-20 21:22:47 +02:00
Constrat
1102771ea1 ci(tools): add stale cache cleanup script 2025-09-20 20:48:51 +02:00
Constrat
9d9f95ea4a i18n: fix english for main page 2025-09-20 20:48:36 +02:00
MistEO
0e33a53068 feat: add docs icon 2025-09-21 01:05:26 +08:00
uye
081c0b7597 chore: 调整 锏 基建技能效率 2025-09-20 19:46:52 +08:00
uye
e3de09ddcc Release v5.25.0-beta.5 (#14180)
准备发正式版了,这个之后先别进 pr
2025-09-20 14:19:34 +08:00
github-actions[bot]
81e22e5bf9 docs: Auto Update Changelogs of v5.25.0-beta.5 (#14181)
* docs: Auto Generate Changelog of Release v5.25.0-beta.5

* docs: Update CHANGELOG with recent fixes and enhancements

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-09-20 14:17:20 +08:00
uye
424687c3e1 fix: 成就列表解锁时间显示颜色错误 2025-09-20 14:08:34 +08:00
uye
94e6fabb76 fix: GO 导航 2025-09-20 14:02:41 +08:00
uye
8d346ed392 fix: 勾选启动后直接运行时无法自动切换基建排班表
fix #14173
2025-09-20 13:51:16 +08:00
soundofautumn
fd3204e965 chore: fix build warning (#14176)
0>RunningState.cs(49,46): Warning CS8622 : “void RunningState.TimeoutReminderTimer_Elapsed(object sender, ElapsedEventArgs e)”的参数“sender”类型中引用类型的为 Null 性与目标委托“ElapsedEventHandler”不匹配(可能是由于为 Null 性特性)。
0>RunningState.cs(41,17): Warning CS8618 : 在退出构造函数时,不可为 null 的 事件 "TimeoutOccurred" 必须包含非 null 值。请考虑添加 "required" 修饰符或将该 事件 声明为可为 null。
0>RunningState.cs(80,46): Warning CS8625 : 无法将 null 字面量转换为非 null 的引用类型。
0>RunningState.cs(80,52): Warning CS8625 : 无法将 null 字面量转换为非 null 的引用类型。
0>RunningState.cs(38,37): Warning CS8618 : 在退出构造函数时,不可为 null 的 字段 "_instance" 必须包含非 null 值。请考虑添加 "required" 修饰符或将该 字段 声明为可为 null。
2025-09-20 13:43:07 +08:00
uye
7109310145 fix: 网络连接错误的情况下读取了本地缓存也提示了获取热更成功 2025-09-20 13:38:48 +08:00
soundofautumn
a424520a1d chore: rename RecognizerViewModel -> ToolboxViewModel (#14177)
* chore: rename RecognizerView -> ToolboxView

* chore: 重新排序顺序使得和ui顺序一致
2025-09-20 13:37:53 +08:00
github-actions[bot]
b98ae1be2d chore: Auto Update Game Resources - 2025-09-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17875323432

[skip changelog]
2025-09-20 04:31:07 +00:00
萨拉托加
5eaf466128 fix: 萨米肉鸽未通关结局时探寻前路卡住 2025-09-19 17:21:41 +08:00
github-actions[bot]
8dc7893459 chore: Auto Update Game Resources - 2025-09-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17853878149

[skip changelog]
2025-09-19 09:09:19 +00:00
MistEO
e891471750 ci: remove website aws config 2025-09-19 15:23:24 +08:00
Lucien Shaw
9014a20c25 fix: 文档站首页在窄屏下的响应式设计 (#14166) 2025-09-19 15:14:16 +08:00
Lucien Shaw
4280d9356a fix: 暂时修复无法读取过去的评论的问题 (#14163) 2025-09-19 14:41:33 +08:00
Manicsteiner
b8e739bcad chore: YostarJP ocr fix (#14134)
* chore: YostarJP ocr fix

* chore: item30165, ja-jp xaml, 随到随取

* i18n: RA task mode
2025-09-19 11:36:02 +08:00
Constrat
f9c76d4995 fix: Eye For an Eye encounter IS2 EN 2025-09-19 00:42:52 +02:00
Lucien Shaw
28ca820784 docs: 完善文档站的代码检查和涉及的文本替换 (#14156)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-18 23:53:59 +08:00
Lucien Shaw
d8dbec69ca docs: 完善自动肉鸽和其它文档中的部分内容 (#13924)
* docs: 在中文文档的连接设置中添加一处关于隐藏目录的提示

* docs: 在中文的自动肉鸽文档中完善关于蓝图测绘分队的提示

* i18n: EN is.md

* i18n: connetion for all

* docs: ko-kr is

* docs: kr fix typo

* docs: 完善了英文的自动肉鸽文档中的部分措辞

修改部分开局推荐提示的措辞和语法,使其和表格中的其它提示一致
使用罗马数字专用符号`Ⅱ`代替两个拉丁字母`II`

* docs: 更新繁体中文自动肉鸽文档中的开局推荐

* docs: 更正三种语言自动肉鸽文档中的傀影肉鸽开局推荐难度

更正简中、英文、韩文的自动肉鸽文档中傀影肉鸽开局推荐难度(繁中文档不适用;日文文档没有这一部分)

* docs: 只是改个语序

* i18n: JP

* docs: 调整简中和日语的自动肉鸽文档的表格缩进

* docs: 在繁中的自动肉鸽文档中添加最后更新日期

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-09-18 23:26:23 +08:00
SherkeyXD
ada9b0849b docs(rft): 切换文档主题至 vuepress-theme-plume (#13821)
Co-authored-by: Lucien Shaw <myxlc55@outlook.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-09-18 18:26:14 +08:00
uye
99e64b3ea8 chore: 调整会客室中更容易获得线索板上尚未拥有的线索的技能优先级 2025-09-18 18:01:26 +08:00
uye
e7be333557 chore: 基建把 u酱 ban 了 2025-09-18 15:38:03 +08:00
github-actions[bot]
8da2271af1 chore: Auto Templates Optimization
Triggered by 7b58ddee5b

[skip changelog]
2025-09-18 07:01:41 +00:00
uye
7b58ddee5b fix: 为什么 mujikca 的图黑的不够纯粹 2025-09-18 14:51:36 +08:00
萨拉托加
fcfa9c033c fix: 肉鸽在结算界面卡死 (#14145)
* fix: 肉鸽通关后有概率无法跳过剧情导致卡死或出错

有概率无法跳过卡在Roguelike@ClickToStartPoint里

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 肉鸽还是卡结算界面,改一下ClickToStartPoint位置

* fix: 导航肉鸽时有概率识别到回弹动画状态的入口

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-18 14:41:41 +08:00
Loong
1992af7159 feat: cli 支持新版战斗列表以及悖论模拟 (#14154)
chore: bump maa-cli to 0.5.9
2025-09-18 14:38:54 +08:00
Constrat
a6b5101e0c ci: update cache scripts 2025-09-18 02:20:27 +02:00
github-actions[bot]
e03a96774d chore: Auto Update Game Resources - 2025-09-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17809390023

[skip changelog]
2025-09-17 20:08:55 +00:00
status102
261ddc49d9 fix(core): CopilotTask参数可选项存在性检查 2025-09-18 00:43:17 +08:00
Lucien Shaw
bb735b6ee7 feat: 为官网首页添加多语言支持 (#13943)
* build: 引入react i18n组件

* i18n: 加载多语言支持模块

* i18n: 添加语言切换按钮

* i18n: 添加网页下载按钮多语言支持

* build: 更新typescript依赖

* fix: 修复callback导致语言切换不生效的问题

* i18n: 完成首页所有元素的多语言支持

* chore: 删除冗余代码

* i18n: 优化了语言切换按钮的交互逻辑并添加多语言占位符

* chore: 规范了部分代码的格式并删除冗余代码

* i18n: ko-kr

* chore: kr 미러 to mirror

* fix: 修复检测和切换语言的问题

* chore: 调整了尾注用户协议部分的显示方式

* refactor: 更改首页尾注的显示方式

* style: 统一Trans元素为self-close样式

* i18n: zh-tw

* fix: 修复换行和块之间的空格问题并补上缺失的翻译

* feat: 更改首页语言也会同步更改文档按钮对应的链接

* refactor: 将弃用的MutableRefObject替换为RefObject

* feat: 语言切换按钮的选项使用对应的语言渲染

* feat: 统一管理所有语言信息并开放读取语言接口

* fix: 去除按钮在鼠标悬停时出现的下划线

* style: 统一不使用行尾分号

* build: 更新部分依赖

* fix: 修正不成对的Trans块对应的本地化文本

* feat: 移动设备横屏浏览时出现垂直滚动条

移动设备横屏时,可能仍能出现下载按钮,全部展开时可能过高,此时出现垂直滚动条,方便用户浏览所有内容

* i18n: JP

* fix: 强制隐藏下载链接容器的水平滚动条

* fix: 将下载链接容器设置为占满宽度

* i18n: JP edits

* fix: 修复滚动条引起的上端裁切问题

* feat: action按钮组根据实际宽度调整布局

不再依靠md:xxx的固定阈值区分小屏和中屏及以上,而是根据不同语言的按钮宽度动态计算是否溢出,从而决定排布方式

* feat: 使用上下文管理布局

使用layoutStateContext来管理布局相关状态,主要是宽度溢出检测

* fix: Copilot 说我们是小驼峰

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* perf: Copilot 说我们不再需要下划线和它的偏移
我还是第一次知道这里下划线这么难看

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: 把别的按钮样式抄到语言切换按钮上

* style: 复活 Prettier

这 Prettier 什么鬼情况
我没有要求你把所有文件都格式化,我不是恶魔,后面忘了,总之我可能得狠狠恢复你了。真的。
所以这缩进怎么又 2 又 4 的

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 更改副标题和尾注的元素class以优化动画和显示

* style: 将typescript代码文件的缩进统一为2

* fix: 改正测速进行中的i18n key

* refactor: 删除link类的下划线css定义

* build: 更新prettier依赖和相关配置

* style: prettier美化

* chore: 尝试规避github ci找不到插件的错误

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 使用.prettierrc.js管理官网相关文件的美化配置

* refactor: 暂时取消自动import排序美化

* fix: 下载按钮动画问题

* feat: 响应式设计测量宽度时,临时隐藏相关元素

* style: prettier

* refactor: 下载按钮组居中对齐

* feat: 让系统架构提示动画从上到下

* refactor: 优化第二行按钮动画

* refactor: 优化协议部分文本动画

* i18n: 为一句过长的日语添加换行符

* fix: 修复进度条样式

* refactor: 不将i18n作为触发器

* chore: 首页图片资源文件路径变更

* chore: 添加多语言图片占位

* i18n: 首页图片支持多语言切换

* chore: 更新日文的首页截图

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 在首页的文档链接后补全斜杠

* chore: 更新prettier的EOL设置

* style: prettier美化

* chore: pre-commit复活

* refactor: 统一languageFilename变量名

* refactor: 移除加载截图模块的dead code

* i18n: 为mirrorchyan的跳转链接添加多语言支持

mirrorchyan提供简中和英语,因此其他语言需要fallback到二者之一。
- 繁体中文跳转到简体中文
- 日语和韩语跳转到英文

* fix: dead code删除不彻底

* i18n: 去除除了简中以外的”海外源“字样

* i18n: 规范化简中和繁中的locale文本

* i18n:调整英文文本的语法和表达

* i18n: 规范化日文文本

* chore: prettier

* i18n: KR screenshot

* i18n: txwy screenshot

* chore: Auto update by pre-commit hooks [skip changelog]

* i18n: zh-tw tweak

* refactor: mirror酱相关的两处key更名

* docs: 优化中文和英文的部分语句表达方式

Linux 下载那句我怎么看怎么觉得怪
我想改成 `下载完成(Linux 版本仅包含动态库与资源文件)` `Download completed (Linux version includes dynamic libraries and resource files only)`
但感觉改完也很怪

感觉不如把这俩直接换成 CLI 的下载

* i18n: fix version info loading error message and pluralize downloads for zh-cn

* chore: update en-us screens dark and light

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: focus

* chore: Auto update by pre-commit hooks [skip changelog]

* refactor: 去除多余类型标记

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-17 21:19:07 +08:00
uye
c54b45c09f fix: SettingsViewModel Idle 2025-09-17 17:54:19 +08:00
萨拉托加
eb061dcc59 fix: 异格推王的基建加成错误 2025-09-17 16:32:14 +08:00
uye
bc7dc763fe feat: RunningState 统一状态变更事件 (#14141)
* feat: RunningState 统一状态变更事件

* feat: 统一 Inited 与 Stopping

* perf: 优化小工具中的stop
2025-09-17 14:06:51 +08:00
github-actions[bot]
3bfc2662e3 chore: Auto Update Game Resources - 2025-09-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17773963424

[skip changelog]
2025-09-16 17:29:14 +00:00
status102
f4c21be051 chore: file header 2025-09-17 00:57:06 +08:00
status102
2936006087 rft: 特征匹配过程函数拆入analyze() 2025-09-17 00:53:23 +08:00
github-actions[bot]
efa364043d chore: Auto Update Game Resources - 2025-09-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17772582080

[skip changelog]
2025-09-16 16:33:32 +00:00
Weiyou Wang
7b6dada3ea feat: 生息盐酸任务添加对错误模式 (有/无存档) 的提示 (#14131)
* feat: 生息盐酸任务添加对错误模式 (有/无存档) 的提示

* fix: callback 里任务名没有前缀
2025-09-17 00:26:28 +08:00
Weiyou Wang
be3b1a2057 fix: 调低 MacOS PlayCover 下对 InfrastControl 识别的阈值 (#14139) 2025-09-17 00:21:20 +08:00
status102
67ceb02116 fix: CurrentConfig未刷新 2025-09-17 00:07:32 +08:00
status102
aa7a2731e0 fix: CurrentConfig悬空 2025-09-17 00:07:32 +08:00
uye
df8f3786f0 fix: 拥有全干员的情况下重启后进入干员识别界面不会自动选中选项卡 2025-09-16 23:48:49 +08:00
uye
20b167119a fix: 修复 DataGrid 虚拟化下 Tab 导航异常 2025-09-16 23:44:27 +08:00
Constrat
b1f02a2eb5 fix(ci): download to v5 with necessary fix (#14122)
fix: specify path for download v5
2025-09-16 16:41:19 +02:00
HY
f9e424cd3b chore: 繁中服「相見歡」活動導航 (#14137)
* chore: 繁中服「相見歡」活動導航

* chore: 再改 再改
2025-09-16 16:37:22 +02:00
萨拉托加
5eecbe21c1 fix: 萨卡兹肉鸽未通关结局时原初异途卡住
fix #14133
2025-09-16 18:38:49 +08:00
MistEO
32a3523bc4 feat: use coreml OCR for apple (#14108) 2025-09-16 18:20:10 +08:00
github-actions[bot]
7dd2dbdcbe chore: Auto Update Game Resources - 2025-09-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17759820697

[skip changelog]
2025-09-16 08:33:34 +00:00
github-actions[bot]
27f9df768d chore: Auto Update Game Resources - 2025-09-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17758555824

[skip changelog]
2025-09-16 07:44:48 +00:00
萨拉托加
2350a05fc4 fix: 肉鸽深入探索无法退出结算界面 (#14123) 2025-09-15 23:03:04 +08:00
soundofautumn
3ea9912802 chore: fix build warning (#14120) 2025-09-15 23:00:34 +08:00
uye
a9e31c75d0 Release v5.25.0-beta.4 (#14126) 2025-09-15 22:49:41 +08:00
uye
4e46a392a3 docs: Update CHANGELOG for v5.25.0-beta.4
Updated changelog for version 5.25.0-beta.4 with new features and fixes.
2025-09-15 22:48:52 +08:00
pre-commit-ci[bot]
2f09f9e591 chore: Auto update by pre-commit hooks [skip changelog] 2025-09-15 14:43:19 +00:00
uye
55f675fb8d fix: minitouch 触控 wait ms 2025-09-15 22:38:35 +08:00
uye
36fc9a8e0a fix: 复核自定义干员时等待游戏动画 2025-09-15 22:11:05 +08:00
Constrat
cfd463a7fd fix: wrong default on type number 2025-09-15 14:09:40 +02:00
uye
2884f2d0ae fix: 自动战斗无法读取下拉列表中的作业 2025-09-15 19:52:42 +08:00
MistEO
0af752b083 Release v5.25.0-beta.3 (#14115) 2025-09-15 16:50:34 +08:00
MistEO
212cb506d6 docs: changelog version 2025-09-15 16:50:13 +08:00
MistEO
6ed32b3344 docs: changelog 2025-09-15 16:49:32 +08:00
MistEO
4a2901c473 ci: fix minitouch scale 2025-09-15 16:43:58 +08:00
MistEO
18bec2504d ci: add create issue 2025-09-15 15:28:04 +08:00
MistEO
7c4002351e ci: use download-artifact v4 2025-09-15 15:28:04 +08:00
MistEO
4e0b5ace24 Release v5.25.0-beta.2 (#14111) 2025-09-15 15:00:10 +08:00
github-actions[bot]
acfb173cc3 docs: Auto Update Changelogs of v5.25.0-beta.2 (#14112)
* docs: Auto Generate Changelog of Release v5.25.0-beta.2

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-09-15 14:58:02 +08:00
MistEO
feb7b6109f ci: fix win zip 2025-09-15 14:02:35 +08:00
MistEO
552d7784a2 ci: add zip for win ci and create issue if failed release 2025-09-15 13:37:59 +08:00
status102
b1d10a87dc perf: 加个try先 2025-09-15 13:19:19 +08:00
Constrat
30bb86bade ci(fix): try to color only [err] log as red 2025-09-15 01:36:04 +02:00
MistEO
80511c660f ci: split cmake file (#14109) 2025-09-15 04:18:40 +08:00
mistereo@hotmail.com
45ca28ed74 chore: remove SyncRes 2025-09-15 03:07:17 +08:00
MistEO
a208c1f03b ci: set hash version 2025-09-15 02:31:32 +08:00
Status102
5b33bc3f00 feat: 自动战斗多作业支持保存干员组内编入的干员 (#14095)
* chore: 加个存储先

* feat: 与旧编队比较

* feat: 快速编队

* fix: 计数

* fix: 缓存了旧的组名

* perf: 快速退出

* fix: 跳过编队后修改编队状态

* fix: 完事

* fix: err

* fix: 顺手一起修了
2025-09-15 01:27:51 +08:00
MistEO
6202eedeb3 refactor: use std::format instead of sprintf (#14107)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-15 01:07:05 +08:00
Constrat
a70502521d ci:. standardize cache key for nuget cache 2025-09-14 18:55:13 +02:00
Constrat
66a5095ede ci: standardize hash for windows maadeps 2025-09-14 18:52:20 +02:00
Constrat
5b750ca194 fix: smoke-testing script 2025-09-14 18:48:47 +02:00
uye
b18e4e6ff6 Release v5.25.0-beta.1 (#14100) 2025-09-15 00:41:06 +08:00
MistEO
31761d7e5d ci: refactor res_updater cmake (#14106)
* ci: refactor res_updater cmake

* ci: remove ResourceUpdater from main cmake

* ci: typos

* build: remove boost

* ci: fix deps and cmake config

* ci: add zsh script

* chore: fix res_updater

* chore: use -Wno-error for res_updater

* fix: perms for version.zsh

* fix: gitignore

* fix: script

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-14 18:33:40 +02:00
github-actions[bot]
c881362cb1 docs: Auto Update Changelogs of v5.25.0-beta.1 (#14101)
* docs: Auto Generate Changelog of Release v5.25.0-beta.1

* docs: Update CHANGELOG with recent changes and fixes

* docs: Update button click behavior in battle list settings

* docs: Update CHANGELOG with recent changes and fixes

* docs: changelog

* docs: Update CHANGELOG with recent changes and fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
2025-09-15 00:32:40 +08:00
uye
00e5c1eb9f chore: 自定义基建配置时间仍在有效期内时不检查其他时间段 2025-09-15 00:26:33 +08:00
Constrat
7e3ab62aae fix: typo 2025-09-14 17:56:32 +02:00
Constrat
b0713bb9df Merge branch 'dev' of https://github.com/MaaAssistantArknights/MaaAssistantArknights into dev 2025-09-14 17:55:19 +02:00
Constrat
42343f8978 fix: type number for nightly ota 2025-09-14 17:55:12 +02:00
MistEO
e9383a7783 build: do not auto gen version for local build 2025-09-14 23:28:08 +08:00
status102
e0ee76115b feat: CustomTask增加任务存在检测 2025-09-14 21:45:43 +08:00
Constrat
d6bf677bb1 ci: add caching for macos maadeps 2025-09-14 14:32:51 +02:00
MistEO
746816c6c7 ci: try macos for smoke_test (#14104)
* ci: try macos for smoke_test

* ci: Remove concurrency from smoke-testing workflow

* ci: use ninjga build for macos testing

* ci: add trigger

* ci: fix macos parallel

* ci: update bash

* fix: zsh script

* fix: perms

* fix: zsh script regular array

* ci: add resource link for cache hit

* test: enable dev for testing

* test: revert test

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-14 14:22:15 +02:00
nekosu
4d74abfd8f feat: custom clang (#14102)
* feat: custom clang

* fix: version typo

* fix: version typo
2025-09-14 12:35:40 +02:00
萨拉托加
5853354357 chore: 界园萨卡兹肉鸽招募休谟斯优先级 2025-09-14 17:54:08 +08:00
Status102
022ab93c1c ci: 为smoke-testing使用cache时增加resource链接 (#14096)
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-09-14 17:30:30 +08:00
github-actions[bot]
cd8d22d23e chore: Auto Update Game Resources - 2025-09-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17708701640

[skip changelog]
2025-09-14 08:30:48 +00:00
pre-commit-ci[bot]
da1170ecc9 chore: Auto update by pre-commit hooks [skip changelog] 2025-09-14 08:25:54 +00:00
uye
df46d6bcb0 chore: 更新基建技能效率 2025-09-14 16:20:15 +08:00
Litwak913
bf27a7fc86 fix: 修复 cmake copy_and_add_rpath_library 的失败逻辑 (#14097) 2025-09-14 06:39:06 +08:00
Constrat
482f21620e chore: remove -DINSTALL_RESOURCES 2025-09-13 18:01:40 +02:00
uye
1472d80c12 fix: 刷开局奖励只选票券时行为异常
fix #14079
2025-09-13 21:12:09 +08:00
Constrat
5bfc5fce9f fix: smoke testing upload logs 2025-09-13 15:05:52 +02:00
Constrat
dcd2d52a5a fix: move smoke testing working dir 2025-09-13 14:55:15 +02:00
uye
2c87975e52 feat: core 崩溃后下次启动时 ui 输出提示 (#14022)
* feat: core 崩溃后下次启动时 ui 输出提示

* style: space

* chore: ubuntu warning

* i18n: zh-tw

---------

Co-authored-by: momomochi987 <as99us301@gmail.com>
2025-09-13 20:28:56 +08:00
status102
e3245a4163 feat(wpf): allow single copilot task execution
有人炸就派uuu @ABA2396
2025-09-13 20:02:58 +08:00
status102
43ea1f94df perf(wpf): wpf自动战斗列表中作业设置按钮左键单击还原为解析指定作业,新增行为修改至右键,解析作业并关闭列表 2025-09-13 19:57:37 +08:00
status102
1077b08c19 fix: 自动编队缺少干员输出的额外换行 2025-09-13 19:53:18 +08:00
status102
d02393f174 fix(core): Copilot多任务编队时编队设置残留 2025-09-13 19:35:52 +08:00
uye
bc59477b24 fix: 自定义基建换班的班次不会随时间切换
fix #14092
2025-09-13 16:03:53 +08:00
uye
e4cb99c0c0 fix: "统一 WpfGui 工作目录"后,配置为外服无法运行 MAA
fix #14090
2025-09-13 15:42:39 +08:00
Status102
e65219efc5 fix: 移除 debug_demo (原Sample) 的对应 resource 额外查找逻辑 (#14081)
* rft: resource链接生成移动至cmake

* fix: smoke

* fix: smoke

* fix: smoke

* chore: 干脆移除掉好了

* chore: remove blank line

* fix: 移除多余链接创建

* perf: use DINSTALL_RESOURCE

* build: 整理cmake util函数

* chore: wpf link resource由cmake进行

* Revert "chore: wpf link resource由cmake进行"

This reverts commit 0e973734e7.

---------

Co-authored-by: MistEO <mistereo@hotmail.com>
2025-09-13 12:24:22 +08:00
uye
8bffeaa368 chore: 调整 y 存图时间间隔 2025-09-13 12:01:17 +08:00
uye
b017e90b6b feat: 给自定义任务添加 ScreenshotTaskPlugin 插件 2025-09-13 11:16:03 +08:00
MistEO
36da60ed9d fix: 统一 WpfGui 工作目录 (#14072)
* fix: 统一WpfGui工作目录

* chore: 漏了的cache目录

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 多了一层相对目录

* feat: wpf 创建软连接

* feat: 添加 PathsHelper,提取通用地址

* feat: 提取通用目录

* fix: Combine

* fix: 重构依赖后 MaaWpfGui 的 resource 路径丢失 (#14077)

fix: mklink

* chore: 删除弹窗

* chore: 自定义基建使用绝对路径

* perf: 简化命名

* fix: 遗漏的issue rp

* fix: 基建

* perf: config.new

* feat: 去除本地作业前缀

* chore: 怎么改名了

* rft: rename

添加一个Dir后缀, 直接using static

* fix: remove不再使用的../../../resrouce

* perf: 短点

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
2025-09-12 21:25:33 +08:00
uye
a71eb71eff fix: 逻辑写错了!
[skip changelog]
2025-09-12 19:04:21 +08:00
uye
283329f8ea chore: 调整定时器触发逻辑
fix #14083
2025-09-12 18:51:17 +08:00
Constrat
01eed2a376 ci: reduce building scope for resource updater + rm llvm.sh (#14084)
* test: pre target / component

* test: temp disable cache

* fix: add libcxx

* ci: remove llvm.sh after execution

* test: reconfigure cache
2025-09-12 12:46:26 +02:00
uye
a13212ea6e chore: 调整未检测到模拟器的输出 2025-09-12 17:21:23 +08:00
status102
cb31aa0dbd feat(wpf): 战斗列表点击作业时自动关闭列表, 原逻辑迁移至鼠标右键 2025-09-12 13:30:50 +08:00
nekosu
61265768e5 fix: add component for install libcxx only 2025-09-12 11:54:09 +08:00
Status102
85975d642c fix: 重构依赖后 MaaWpfGui 的 resource 路径丢失 (#14077)
fix: mklink
2025-09-12 00:55:40 +08:00
status102
8d5806b9e1 chore: gitignore
lnk for sln or other
2025-09-12 00:44:13 +08:00
Constrat
5b32c3a985 chore: where and how did this come from? 2025-09-11 18:22:00 +02:00
github-actions[bot]
4dc488229d chore: Auto Update Game Resources - 2025-09-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17650477221

[skip changelog]
2025-09-11 16:18:07 +00:00
Constrat
f021c66fa5 feat: convert ResourceUpdater to ubuntu-latest (#14076)
* feat: convert workflow to ubuntu-latest

* fix: missing toolchain

* fix: remove component specification

* fix: apparently I didn't push the deps changes

* fix: apparently I didn't push the cache changes

* fix: build everything

* chore: delete llvm

* fix: version.sh missing indentation

* fix: missing bash
2025-09-11 17:53:56 +02:00
github-actions[bot]
1bc06de043 chore: Auto Update Game Resources - 2025-09-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17644090943

[skip changelog]
2025-09-11 12:14:14 +00:00
Constrat
e278577435 chore: tweak workflow + remove .sln (#14074)
---------

Co-authored-by: nekosu <liao.hy@outlook.com>
2025-09-11 14:11:45 +02:00
Constrat
9911d82dce style: fix prettier 2025-09-11 13:49:32 +02:00
github-actions[bot]
ebcb4c561b chore: Auto Update Game Resources - 2025-09-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17642666189

[skip changelog]
2025-09-11 11:11:33 +00:00
Constrat
29c2f8f44e ci: temporarily revert changes to ResourceUpdater to allow caching exe 2025-09-11 13:09:07 +02:00
uye
d239cbad5c feat: 添加基建计划 ToolTip 提示 2025-09-11 16:40:05 +08:00
uye
5a25cf70a9 chore: 按时间切换基建配置不在任务运行中或任务开始前切换
fix #14060
2025-09-11 15:41:12 +08:00
uye
7144821351 style: 格式化 2025-09-11 15:28:51 +08:00
uye
68ff234848 chore: 调整刷新助战日志 2025-09-11 15:15:55 +08:00
uye
98e16bd915 chore: 调整界面颜色 2025-09-11 15:12:50 +08:00
uye
108979ef5f fix: 停止中或者空闲状态不允许点击停止按钮 2025-09-11 14:55:46 +08:00
萨拉托加
e42b1dde8f chore: 肉鸽丰川祥子招募策略 (#14035)
* chore: 肉鸽丰川祥子招募策略

* chore: 调整近卫招募策略
2025-09-11 14:45:03 +08:00
uye
ee8ceba005 fix: 鲍勃杂货店拥有四叶草化石且无抗干扰值时卡住
fix #14052
2025-09-11 14:44:20 +08:00
uye
1792dae76e perf: 优化更新设置中的徽标显示和逻辑 2025-09-11 14:19:00 +08:00
nekosu
7ac3851c71 ci: fix resource updater ignoring problem 2025-09-11 14:17:35 +08:00
github-actions[bot]
23acf4735a chore: Auto Update Game Resources - 2025-09-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17634608287

[skip changelog]
2025-09-11 05:09:14 +00:00
nekosu
1aaf852a80 ci: update resource updater pipeline
#14045
2025-09-11 12:50:20 +08:00
HY
c093cdeac8 chore: 繁中服「大荒」介面主題 (#14064)
* chore: 繁中服「大荒」介面主題

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-11 12:35:44 +08:00
nekosu
cc36807ec9 feat: support build resource updater
#14045
2025-09-11 12:09:33 +08:00
Constrat
ebbc9620d9 chore: remove ninja from ci.yml 2025-09-10 19:08:17 +02:00
Constrat
36e744dabf chore: restore older cache utilization for ci.yml (#14068)
* test: test cache speed

* chore: restore older cache utilization

* chore: rft
2025-09-10 19:05:58 +02:00
Constrat
5aa8f43d42 fix: prevent caching in non-dev branches 2025-09-10 17:54:09 +02:00
Constrat
54593075c3 ci: unify bootstrap step for ci.yml 2025-09-10 17:08:46 +02:00
Constrat
a3ad69e189 ci(perf): reimplement caching for smoke testing (linux version) 2025-09-10 17:07:00 +02:00
uye
71b2ce80a5 feat: 添加信息获取失败时的提示 2025-09-10 22:57:19 +08:00
Weiyou Wang
8d5459d7d2 refactor: 维护信用作战相关功能及其文档 (#14013)
* refactor: 维护信用作战相关功能及其文档

* docs: i18n

* docs: 格式美化

* fix: 我错了我错了

* fix: 怎么顺序也有关系啊

* docs: 编队 -> 编队栏围的编号; 分队->编队

* docs: hyphen -> en dash

* fix: 修复旧参数警告
2025-09-10 22:56:33 +08:00
Constrat
f74296a01a perf: remove resource from smoke testing
use the default location, do not duplicate
2025-09-10 16:54:21 +02:00
Constrat
139e79655d ci: split web and workflow codeql (#14067) 2025-09-10 16:25:55 +02:00
Constrat
694d78be1c ci(perf): update smoke testing to ubuntu runner (#14066)
* ci: update smoke testing to ubuntu runner

* fix: missing perms
2025-09-10 16:15:59 +02:00
nekosu
08562dc4e9 chore: update interface.json 2025-09-10 21:01:59 +08:00
Constrat
1acbcd493c perf: add --parallel to cmake workflows 2025-09-10 13:45:25 +02:00
Constrat
69fdf39f09 fix: stuck on max trust EN 2025-09-10 13:35:41 +02:00
nekosu
c94d2d55d7 fix: pthread linking problem
# 14045
2025-09-10 19:29:12 +08:00
MistEO
09bf0268ac ci: fix remove .h files 2025-09-10 15:24:42 +08:00
MistEO
a92f5eb354 ci: fix core version 2025-09-10 14:36:26 +08:00
nekosu
54031c5858 doc: update linux tutorial (en) 2025-09-10 11:55:22 +08:00
Constrat
51529ad257 i18n: EN 2025-09-09 15:35:09 +02:00
github-actions[bot]
14120ecc2b chore: Auto Update Game Resources - 2025-09-09
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17582157721

[skip changelog]
2025-09-09 12:13:01 +00:00
github-actions[bot]
01a36cf0be chore: Auto Templates Optimization
Triggered by c0da8956f8

[skip changelog]
2025-09-09 11:52:56 +00:00
uye
c0da8956f8 fix: 无法收取太鼓达人联动主题会客室信息板信用
fix #14007
2025-09-09 19:44:50 +08:00
uye
9ac783219d fix: cdk 过期时间超过 2038 年会爆炸(但 10000 年还是会爆炸 2025-09-09 18:59:37 +08:00
uye
950522fda0 feat: CDK 倒计时显示 2025-09-09 17:53:46 +08:00
MistEO
5a7030ad50 fix: nightly package zip 2025-09-09 17:08:21 +08:00
MistEO
907324370a ci: fix nightly build (#14050) 2025-09-09 17:05:22 +08:00
MistEO
03f6657244 fix: global resource path 2025-09-09 16:37:59 +08:00
uye
de60b0d05a feat: 成就设置中的图标颜色可以随着主题色动态更新 2025-09-09 16:14:39 +08:00
uye
37958ab9e5 feat: 添加 CDK 到期时间显示 2025-09-09 16:14:39 +08:00
uye
dab18e1964 feat: 添加 ResourceReferenceHelper,允许绑定 前后景色 key 2025-09-09 16:14:39 +08:00
MistEO
f4b7e39b01 ci: 删除codeql中的build 2025-09-09 13:47:40 +08:00
nekosu
91a0e51142 fix: linux cross compiling (#14048)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-09 13:22:53 +08:00
uye
2bbc7d6546 fix: maa 变成前文明产物了 2025-09-09 09:40:10 +08:00
MistEO
8e7a9e8691 ci: fix nightly, remove zip -d 2025-09-09 02:22:50 +08:00
MistEO
8082c9913b ci: fix nightly release 2025-09-09 01:52:54 +08:00
SherkeyXD
f00e580884 style: 添加换行
fuck pre commit
2025-09-09 01:50:31 +08:00
SherkeyXD
7c1b897caa chore: 更新 markdownlint 规则 2025-09-09 00:52:44 +08:00
dependabot[bot]
d799e8e800 ci: bump the github-actions group across 1 directory with 7 updates (#14041)
* ci: bump the github-actions group across 1 directory with 7 updates

Bumps the github-actions group with 7 updates in the /.github/workflows directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4` | `5` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `5` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `2.3.2` | `2.3.3` |
| [actions/github-script](https://github.com/actions/github-script) | `7` | `8` |
| [actions/setup-python](https://github.com/actions/setup-python) | `5` | `6` |
| [actions/stale](https://github.com/actions/stale) | `9` | `10` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4` | `5` |



Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

Updates `actions/download-artifact` from 4 to 5
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

Updates `softprops/action-gh-release` from 2.3.2 to 2.3.3
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.3.2...v2.3.3)

Updates `actions/github-script` from 7 to 8
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: fix schema

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-08 18:51:43 +02:00
SherkeyXD
b22cfad361 docs: 修复序号问题 2025-09-09 00:48:57 +08:00
MistEO
f67a31224c docs: typo 2025-09-09 00:42:59 +08:00
MistEO
c0a5a9bd46 docs: 更新文档cmake配置 2025-09-09 00:33:15 +08:00
MistEO
74bf88523f docs: 微调文档 2025-09-09 00:31:10 +08:00
MistEO
3372c7c82a chore: 删除一些遗留文件 2025-09-09 00:24:04 +08:00
MistEO
069e159f33 chore: 再糊点注释 2025-09-09 00:22:02 +08:00
MistEO
b6552c19a6 chore: 糊点注释 2025-09-09 00:20:40 +08:00
MistEO
d4a79ba9db fix: 糊一下 debug_demo 资源路径读取 2025-09-09 00:19:53 +08:00
MistEO
523b496daa fix: 修复 wpf gui 一些 resource path 读取
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/14044
2025-09-09 00:12:15 +08:00
github-actions[bot]
c9337f90f0 chore: Auto Update Game Resources - 2025-09-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17556983279

[skip changelog]
2025-09-08 16:07:51 +00:00
Loong
512bd90433 docs: reapply eebe0a9 (#14036) 2025-09-08 23:48:33 +08:00
MistEO
8f906d159e ci: 再次修复 nightly build 2025-09-08 22:50:57 +08:00
MistEO
6410c3c5a5 ci: 修复 nightly build 2025-09-08 22:49:24 +08:00
MistEO
bb922d8833 ci: 调整test相关宏 2025-09-08 22:46:04 +08:00
MistEO
f65e370620 docs: remove weblate 2025-09-08 22:12:29 +08:00
MistEO
546d4b860a fix: remove opencv highgui again 2025-09-08 21:57:09 +08:00
MistEO
0f29aa369e fix: remove opencv highgui 2025-09-08 21:51:22 +08:00
MistEO
f5d6b6cd8f build: fix ASST_DEBUG macro 2025-09-08 21:44:09 +08:00
MistEO
7b29be6faf chore: remove MaaDeps 2025-09-08 21:33:31 +08:00
MistEO
87e6484cb2 fix: build error of ASST_DEBUG 2025-09-08 21:32:11 +08:00
MistEO
51ab24945b refactor: 依赖大更新 (#13908)
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 21:17:47 +08:00
萨拉托加
918a41ac3a fix: 入暂亭特殊选项 2025-09-08 19:02:21 +08:00
Constrat
29b889372a fix: Sami floor detection 3
Thanks again @lin4289 on discord
2025-09-08 12:59:28 +02:00
萨拉托加
77891805d0 fix: 特里蒙旅行社特派团多选项
fix #14026
2025-09-08 18:44:55 +08:00
晓丶梦丶仁
e9206f4244 fix: IS5 同心 2025-09-08 15:54:18 +08:00
Loong
7807577312 chore: bump maa-cli to 0.5.8 (#14032) 2025-09-08 15:30:02 +08:00
晓丶梦丶仁
c4c6297370 fix: EN Roguelike@ChooseOperConfirm (#14033) 2025-09-08 15:21:43 +08:00
uye
8a5c3029c4 fix: 选择技能时可能会点出描述文字
fix #14030
2025-09-08 00:43:25 +08:00
github-actions[bot]
92631c999c chore: Auto Update Game Resources - 2025-09-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17530208991

[skip changelog]
2025-09-07 15:07:03 +00:00
Constrat
e48049f198 fix: Sami floor detection 2
Thanks again @lin4289 on discord
2025-09-07 16:47:36 +02:00
Weiyou Wang
407b140bca refactor: BrightPointAnalyzer -> PixelAnalyzer (#13915)
* feat: different filters for BrightPointAnalyzer

* refactor: rename BrightPointAnalyzer to PixelAnalyzer

* fix: 草忘了重命名文件了
2025-09-07 20:07:33 +08:00
uye
0e865982c6 fix: 基建使用队列轮换时如果未勾选对应设施则不进入
fix #14019
2025-09-07 16:53:55 +08:00
uye
1d62c972b7 fix: 重构后无法使用刷开局刷仅精二 2025-09-07 16:32:21 +08:00
github-actions[bot]
890fce3567 chore: Auto Templates Optimization
Triggered by cc0b229cdf

[skip changelog]
2025-09-07 07:22:48 +00:00
uye
cc0b229cdf fix: 部分背景下 mujica 主题无法进入对应功能
fix #14016
2025-09-07 15:22:21 +08:00
uye
bcd0ed5711 fix: 萨米肉鸽刷源石锭可能卡在预见的密文板
fix #14015
2025-09-07 14:54:41 +08:00
uye
29a34766e7 chore: 管理员权限启动额外判断是否开启 UAC 2025-09-07 13:48:59 +08:00
github-actions[bot]
ada54eef32 chore: Auto Update Game Resources - 2025-09-06
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17520467055

[skip changelog]
2025-09-06 22:44:21 +00:00
Constrat
dc0e63f83e fix: Sami floor detection
Thanks @lin4289 on discord
2025-09-07 00:27:58 +02:00
Weiyou Wang
ffbb3ed798 fix: 允许生息演算任务反复点击存档位置直到画面改变 (#14005) 2025-09-06 13:58:30 +08:00
不留
8e9a408997 refactor: mujika -> mujica (#14000)
rft: mujika -> mujica
2025-09-05 23:07:46 +08:00
萨拉托加
3bf9a67d56 fix: 肉鸽助战无法刷新 2025-09-05 22:40:54 +08:00
uye
c3a35b6df5 perf: 优化干员识别动画显示效果 2025-09-05 20:28:17 +08:00
uye
241b5c0047 Release v5.24.2 (#13989) 2025-09-05 16:27:50 +08:00
Hao Guan
4895a37278 chore(mac): 无人机&关卡提示 2025-09-05 15:59:55 +08:00
uye
d7ed013825 docs: Update CHANGELOG for version 5.24.2
Updated version number to v5.24.2 and added special notices regarding stage naming conventions. Included new features, improvements, fixes, and other changes.
2025-09-05 15:22:49 +08:00
uye
981f71f024 chore: 关卡小提示改用 Value 2025-09-05 15:17:23 +08:00
uye
7e6216d573 perf: 优化关卡验证逻辑,避免导入错误类型关卡时直接崩溃 2025-09-05 14:28:16 +08:00
uye
b81e49636d fix: 肉鸽因模拟器卡顿偶现无法退出商店
fix #13982
2025-09-05 11:00:52 +08:00
status102
f17c4bfd37 fix: 信用任务无法刷OF-1 2025-09-05 10:58:20 +08:00
github-actions[bot]
cfe40ad57b chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17471326033

[skip changelog]
2025-09-04 17:06:50 +00:00
Windsland52
343e7831da fix: 给 MiniGame@ALL@GreenGrass@DuelChannel@End 加点延迟 (#13968) 2025-09-05 00:18:43 +08:00
uye
a50f7a0c90 chore: 调整日志输出格式 2025-09-05 00:00:25 +08:00
github-actions[bot]
58acb92740 chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17467691092

[skip changelog]
2025-09-04 14:46:04 +00:00
不留
b26d656d94 feat: 适配 命运(AveMujica) 主题 (#13970) 2025-09-04 21:56:34 +08:00
萨拉托加
7fed3d1e36 fix: 八幡海铃识别错误 2025-09-04 21:39:46 +08:00
uye
550386bb63 chore: 悖论模拟选技能改用固定位置,避免透明背景影响 2025-09-04 20:20:50 +08:00
uye
09638b2c4e fix: 选技能可能会点到技能范围 2025-09-04 17:20:51 +08:00
SherkeyXD
06265f99c5 feat: SideStory「无忧梦呓」导航 (#13969) 2025-09-04 17:14:33 +08:00
github-actions[bot]
12ef622ff3 chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17457528502

[skip changelog]
2025-09-04 08:09:34 +00:00
github-actions[bot]
4219064117 chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17456122106

[skip changelog]
2025-09-04 07:07:29 +00:00
github-actions[bot]
83343de32b chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17453588679

[skip changelog]
2025-09-04 04:45:42 +00:00
github-actions[bot]
6e3230b508 chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17453012021

[skip changelog]
2025-09-04 04:08:47 +00:00
github-actions[bot]
bec3394521 chore: Auto Templates Optimization
Triggered by 9749c858f7

[skip changelog]
2025-09-04 02:34:18 +00:00
github-actions[bot]
9749c858f7 chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17451555281

[skip changelog]
2025-09-04 02:33:49 +00:00
github-actions[bot]
4d14212f15 chore: Auto Update Game Resources - 2025-09-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17444811350

[skip changelog]
2025-09-03 20:08:07 +00:00
uye
a8d6068e87 feat: 勾选 「下次公告更新前不再显示」 勾选框时不需要滚到底才能关闭公告 2025-09-04 01:29:53 +08:00
uye
f4d89ea93c Release v5.24.1 (#13964) 2025-09-04 00:59:17 +08:00
uye
08c32c6f15 docs: Release notes for version 5.24.1 2025-09-04 00:55:45 +08:00
不留
3293ce5beb feat: 适配 悬想(界园肉鸽) 主题 (#13948)
* feat: 适配界园肉鸽主题

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: DepotEnter.png

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: DepotEnter.png

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-04 00:47:03 +08:00
uye
390cfc38a0 feat: 悖论通关后自动取消勾选,遇到战斗失败的关卡时停止 (#13963)
* feat: 悖论通关后自动取消勾选

* fix: CopilotTask 一个个加
2025-09-04 00:44:40 +08:00
github-actions[bot]
b23e63e352 chore: Auto Update Game Resources - 2025-09-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17433572057

[skip changelog]
2025-09-03 12:34:27 +00:00
HY
7deaf65c06 fix: 繁中服薩米肉鴿第五層名稱 (#13961)
* fix: 繁中服薩米肉鴿第五層名稱

* chore: 再改一點....再改一點
2025-09-03 14:15:57 +02:00
uye
25b1c73659 refactor: 将 「掉线时自动重连」 从 「运行设置」 移到 「刷理智设置」 中 2025-09-03 20:15:30 +08:00
uye
6a58723398 refactor: 将 「自动肉鸽在战斗结束前延迟停止动作」 从 「运行设置」 移到 「肉鸽设置」 中 2025-09-03 20:07:19 +08:00
Lucien Shaw
94ecbe2cb5 docs: 修正文档中的部分错误 (#13923)
* docs: 替换英文连接设置文档中的一条外部文档链接

将文档中的一条外部文档链接替换为对应的英文文档链接

* docs: 更正中文常见问题文档中的一处别字

将“登陆”改为“登录”,与繁体中文和英文版本保持一致

* docs: 更新三种语言文档中有关WSA的提示信息

更正简体中文、繁体中文和英文语言文档中有关WSA的提示信息

* docs: ko-kr

* docs: 替换日文连接设置文档中的一条外部文档链接

将文档中的BlueStacks相关外部文档链接替换为对应的日文文档链接

* docs: 更新所有语言的连接设置文档中有关WSA的提示部分

所有语言使用统一名称`Windows Subsystem for Android™ (WSA)`
更新了日语文档中的停止支持提示内容

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-09-03 09:35:18 +08:00
HY
8b6c5e3011 chore: 繁中服「視相」主題介面 (#13947)
* chore: 繁中服「視相」主題介面

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-03 00:26:52 +08:00
不留
041c03d9be ci: 优化 optimize-templates 在 fork 仓库下的流程 (#13949)
Update optimize-templates.yml
2025-09-03 00:26:13 +08:00
github-actions[bot]
a1fe1ad099 chore: Auto Update Game Resources - 2025-09-02
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17405569167

[skip changelog]
2025-09-02 13:47:34 +00:00
HY
47f3a33167 chore: 繁中服「銀心湖列車」復刻活動導航 (#13945) 2025-09-02 15:34:39 +02:00
Constrat
5ff283cd18 fix: EN not picking up Trade Orders 2025-09-02 13:35:20 +02:00
github-actions[bot]
c8dee82a3b chore: Auto Update Game Resources - 2025-09-02
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17397385457

[skip changelog]
2025-09-02 08:10:53 +00:00
github-actions[bot]
5245bd6fbc chore: Auto Templates Optimization
Triggered by bfb5deca88

[skip changelog]
2025-09-01 22:51:45 +00:00
Constrat
bfb5deca88 fix: IS5 EN StageRefresh not working, updated template 2025-09-02 00:51:20 +02:00
status102
2bfd2257b4 fix: 自动编队后续追加自定干员失败 2025-09-02 00:57:11 +08:00
uye
7b36d43e5e fix: 错误的关卡名可能导致验证崩溃 2025-09-01 17:36:24 +08:00
uye
3943189550 fix: 公告重复点击时不会前置窗口 2025-09-01 13:45:48 +08:00
uye
f7eeffba9b chore: 调整公告日志记录 2025-09-01 12:56:29 +08:00
uye
27830218bc chore: 提取 isBuildOutputFolder 2025-08-31 23:35:40 +08:00
github-actions[bot]
79e32af4eb chore: Auto Templates Optimization
Triggered by 9d8dbe80cc

[skip changelog]
2025-08-31 15:08:30 +00:00
Constrat
9d8dbe80cc fix: IS2 and IS3 not starting for EN 2025-08-31 17:08:09 +02:00
Manicsteiner
0056a50a8e chore: JP ocr fix (#13938) 2025-08-31 16:58:46 +02:00
uye
0b22410351 chore: 编译目录下不检查 dll 2025-08-31 22:46:53 +08:00
uye
9d0df414c9 fix: 战斗列表无法进入 1/2 星干员悖论 2025-08-31 13:42:40 +08:00
uye
2cac439e5f fix: 悖论模拟战斗列表页尾干员错位 2025-08-31 13:42:40 +08:00
Status102
4a9e8f5d1e refactor(wpf): 长草任务运行状态 (#13928)
* rft(wpf): 长草任务运行状态

移除战斗任务及基建任务独立运行状态, link to #12315

* perf: remove debug log

* perf: remove debug log
2025-08-31 11:13:54 +08:00
Constrat
556d1bda73 i18n: EN 2025-08-30 17:44:48 +02:00
uye
b7681becd3 chore: 简化 Split 2025-08-30 23:21:51 +08:00
uye
7b169cb441 perf: 日志记录增加 ClassName 输出,debug 模式下属性切换新增反引号显示 2025-08-30 23:17:51 +08:00
Constrat
aca317e67e fix: update Infrast templates for EN 2025-08-30 17:03:01 +02:00
Manicsteiner
f9e0ef32bc i18n: JP 2025-08-30 23:00:33 +08:00
status102
46216817c4 chore: 漏了( 2025-08-30 22:32:05 +08:00
uye
1cc3268f70 perf: 优化 Copilot 列表验证逻辑,提高性能 2025-08-30 22:29:35 +08:00
status102
f45d051b79 rft: OperatorType -> OperatorRole 2025-08-30 22:22:39 +08:00
status102
b72a3569bf fix: wpf空作业列表点开始 2025-08-30 22:14:27 +08:00
uye
e1f766e23f Release v5.24.0 (#13916) 2025-08-30 17:07:33 +08:00
github-actions[bot]
2add7f1173 docs: Auto Update Changelogs of v5.24.0 (#13917)
* docs: Auto Generate Changelog of Release v5.24.0

* docs: Update CHANGELOG with recent changes and fixes

* docs: Update CHANGELOG for v5.24.0 enhancements

更新了 v5.24.0 的功能进化,包括一键悖论模拟、支持新内容和其他优化。

* feat: 更新 CHANGELOG.md

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-08-30 17:07:10 +08:00
AnnAngela
198f81812a chore: Update localization strings for Mini Game section 2025-08-30 16:06:28 +08:00
Lucien Shaw
fc711c9dbd ci: 更正了生成changelog工作流中debug信息的一处错误 (#13926)
ci: 更正了生成changelog工作流中debug信息的一处笔误

将Target RP更正为Target PR
2025-08-30 11:50:43 +08:00
uye
fb52a07353 style: 空格
[skip changelog]
2025-08-30 10:55:28 +08:00
soundofautumn
ca44b82acd chore: 整合枚举类 OperProfession 和 Role (#13914)
* chore: 整合枚举类OperProfession和Role

* fix: 加载数据时报错
2025-08-30 10:53:57 +08:00
pre-commit-ci[bot]
53b22fe6b9 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-30 02:50:20 +00:00
uye
062f7480d7 feat: 悖论模拟战斗列表通过职业找人 2025-08-30 10:47:55 +08:00
pre-commit-ci[bot]
f97f6a2cb3 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-30 01:54:35 +00:00
uye
12de1806f1 feat: 悖论模拟战斗列表支持跳过未拥有的干员 2025-08-30 09:52:12 +08:00
uye
1a374a3129 fix: mac
[skip changelog]
2025-08-30 09:31:32 +08:00
uye
7593ef29a9 fix: 悖论模拟单文件无法使用 2025-08-30 01:36:15 +08:00
uye
ae0da25d36 feat: mac 支持蜜果城 2025-08-30 01:19:20 +08:00
Constrat
3a197c4445 fix: CrownSlayer -> Crownslayer for EN 2025-08-29 16:58:40 +02:00
github-actions[bot]
51a073221b chore: Auto Templates Optimization
Triggered by a267cc5f66

[skip changelog]
2025-08-29 14:31:06 +00:00
Constrat
a267cc5f66 fix: RoguelikeDialogSkip for EN 2025-08-29 16:30:43 +02:00
github-actions[bot]
a6e61f7a6b chore: Auto Update Game Resources - 2025-08-29
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17323442926

[skip changelog]
2025-08-29 12:12:24 +00:00
uye
642c8eefe6 feat: 远程通知添加 [MAA] 前缀
fix #13912
2025-08-29 19:39:28 +08:00
uye
a54433ad8c feat: 战斗列表悖论模拟关卡名转为干员名 2025-08-29 18:54:13 +08:00
uye
af68bf918b fix: 关卡名下划线被解释成 CheckBox 访问键 2025-08-29 18:50:11 +08:00
uye
ad2945a815 feat: 调整战斗列表提示描述 2025-08-29 11:09:14 +08:00
Constrat
64e0c4ac3c fix: BattleQuickFormationExpandRole text ocr 2025-08-29 02:22:27 +02:00
Constrat
3d88182c44 fix: OfficeMini template for EN 2025-08-29 01:50:18 +02:00
Constrat
3a12869b7e fix: OfficeMini template for EN 2025-08-29 01:49:52 +02:00
github-actions[bot]
433e8d910f chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17310328154

[skip changelog]
2025-08-28 23:27:12 +00:00
Constrat
b789183f6d chore: YostarEN updated main stage navigation (#13906)
* chore: remove unused roguelike@integratedstrategies

* chore: remove unused StageTheme and Resource

* chore: PLACEHOLDER for clickchapter

* chore: minus placeholder + ocr fixes

* chore: continue

* chore: final placeholder

* fix: custom ROI for default and movements
2025-08-29 01:19:43 +02:00
github-actions[bot]
887574aa6e chore: Auto Templates Optimization
Triggered by 5676a2df3b

[skip changelog]
2025-08-28 22:55:34 +00:00
Constrat
5676a2df3b fix: ROI and text for EA YostarEN 2025-08-29 00:55:13 +02:00
Constrat
36536d9a13 fix: YostarEN text render template changes 2025-08-29 00:55:03 +02:00
uye
63fd4ca0d8 perf: 覆盖 ThirdlyTextBrush,优化深色模式下的显示效果 2025-08-29 00:49:49 +08:00
Constrat
b1a2999c15 i18n: Give new line for English downloading from 2025-08-28 18:41:00 +02:00
uye
6770ec19c8 feat: 加个启动提醒 2025-08-28 23:56:11 +08:00
Manicsteiner
2086377f48 chore: YostarJP remove old navigation (#13905) 2025-08-28 23:32:22 +08:00
uye
d282b5b999 Release v5.24.0-beta.1 (#13866) 2025-08-28 23:00:43 +08:00
github-actions[bot]
fac1f265d7 docs: Auto Update Changelogs of v5.24.0-beta.1 (#13901)
* docs: Auto Generate Changelog of Release v5.24.0-beta.1

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
2025-08-28 23:00:00 +08:00
HX3N
5376157f69 chore: YostarKR new main stage navigation and ocr fix (#13903)
* chore: remove task and add ocr

* chore: ocr fix

* chore: Store@Purchase
2025-08-28 16:29:01 +02:00
Manicsteiner
7e3a133066 chore: YostarJP new main stage navigation and ocr fix (#13902) 2025-08-28 14:12:22 +02:00
github-actions[bot]
05e3933115 chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17294386616

[skip changelog]
2025-08-28 11:26:45 +00:00
status102
8ee7f31887 rft(wpf): 悖论模拟使用多任务流程 2025-08-28 18:40:21 +08:00
status102
44dd7c5501 perf: 任务baseTask 2025-08-28 18:25:28 +08:00
status102
aa21512ab9 rft: remove ParadoxMode var 2025-08-28 18:10:57 +08:00
status102
714e37ded2 rft(core): 移除MaaCore不再支持的自动战斗作业代码解析 2025-08-28 18:07:36 +08:00
status102
f5aee4f3fb docs: 注释
[skip changelog]
2025-08-28 18:04:18 +08:00
status102
c10df90fbf fix: var type 2025-08-28 18:01:46 +08:00
uye
79e311185a style: 什么奇怪的换行 2025-08-28 17:59:14 +08:00
uye
016783c86c chore: 删掉 core 的联网功能 2025-08-28 17:56:51 +08:00
uye
770130e774 chore: dll 检测排除带 maa 的 dll 2025-08-28 17:52:13 +08:00
Rbqwow
363aa99b83 feat: 在启动时检测额外的DLL文件 (#13850)
* feat: 在启动时检测额外的DLL文件

* chore: 改一下弹窗样式

* chore: 修改检测逻辑与翻译

* chore: 显示一下不属于 maa 的 dll

* feat: 启动弹窗都加个图标

* chore: 就要大写就要大写

* chore: MessageBoxHelper

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-28 17:37:25 +08:00
pre-commit-ci[bot]
2710664a79 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-28 09:36:32 +00:00
uye
388b3627cb chore: core 删除 cpr 2025-08-28 17:35:23 +08:00
github-actions[bot]
3359fa618e chore: Auto Templates Optimization
Triggered by 1691f828ff

[skip changelog]
2025-08-28 09:33:13 +00:00
Status102
0c3c3df8f2 feat: 支持一键悖论模拟 (#13893)
* feat: 支持一键悖论模拟 (#13885)

* feat: 支持一键悖论模拟

* chore: OperParadoxBegin EN

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 支持一键悖论模拟

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 支持一键悖论模拟

* fix: 更新悖论模拟按钮位置

* feat: 悖论模拟UI资源添加

* fix: 删除xml中被误添加的文件

* feat: 根据关卡类型显示选项

* i18n: 标签翻译

* feat: 修改小提示

* i18n: EN

* chore: zh-tw

* i18n: KR

* i18n: KR 2

Long text breaks the UI :(

* i18n: SSS -> SSS

* feat: 多行 TabControl

* chore: 调整布局

* i18n: JP

* perf: 优化返回流程

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 删掉 core 的联网功能

---------

Co-authored-by: 翔宇 战 <1361227324@qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>

* fix: 新战斗导航下的悖论模拟

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: 翔宇 战 <1361227324@qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-08-28 17:32:32 +08:00
uye
1691f828ff feat: 争锋频道:蜜果城 2025-08-28 17:32:14 +08:00
github-actions[bot]
1fed8feed0 chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17291732401

[skip changelog]
2025-08-28 09:29:35 +00:00
github-actions[bot]
351ce45a52 chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17291207437

[skip changelog]
2025-08-28 09:09:22 +00:00
HX3N
c56e81e8be fix: YostarKR EA navigation 2025-08-28 18:07:56 +09:00
uye
c3bcb3105c fix: 勾八导航乱写 2025-08-28 17:06:06 +08:00
github-actions[bot]
0bf9379d35 chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17284296625

[skip changelog]
2025-08-28 02:49:02 +00:00
dantmnf
a3dba0b54a style: 狗屎自动分词💩 (#13897)
Co-authored-by: dantmnf <dantmnf@users.noreply.github.com>
2025-08-28 01:00:56 +08:00
Manicsteiner
a5dcfd9100 chore: YostarJP EA navigation 2025-08-27 09:39:14 +08:00
Constrat
5f1159b2d6 chore: YostarEN EA navigation 2025-08-27 00:08:01 +02:00
HX3N
9c6df33d77 chore: YostarKR EA navigation (#13888) 2025-08-27 01:00:11 +08:00
soundofautumn
2b7894886f i18n: 自动战斗模组错误本地化 & 移除多余的行末空格 (#13800)
* i18n: 自动战斗模组错误本地化

* i18n: EN

* i18n: 忘记给en-us加了

* i18n: KR tweak translation

* chore: 统一换行符

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-08-26 23:52:45 +08:00
status102
7ce19904c0 fix(wpf): 自动战斗界面Idle setter限制 2025-08-26 23:25:57 +08:00
status102
5b2b2b7fe8 fix: 自动战斗-战斗列表使用错误的作业战斗 2025-08-26 23:25:34 +08:00
github-actions[bot]
385c26b065 chore: Auto Update Game Resources - 2025-08-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17232989951

[skip changelog]
2025-08-26 08:49:37 +00:00
github-actions[bot]
9d60945af9 chore: Auto Update Game Resources - 2025-08-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17232079660

[skip changelog]
2025-08-26 08:11:58 +00:00
uye
8f1dbb64c3 fix: filters 2025-08-26 15:09:46 +08:00
uye
1ca9c3823b chore: 调整小游戏内容顺序 2025-08-26 11:05:20 +08:00
uye
27b0ddaf2f chore: 修改 RA 和肉鸽的进入终端等待时间
fix #13858
2025-08-26 10:43:57 +08:00
uye
ec4a86fab2 fix: 信用购物有时候点不掉危机合约支援界面 2025-08-26 09:28:05 +08:00
萨拉托加
86fbd1061b chore: 调整萨卡兹,界园的古米精二优先度 2025-08-25 17:58:44 +08:00
github-actions[bot]
8aada79ef5 chore: Auto Update Game Resources - 2025-08-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17193202533

[skip changelog]
2025-08-24 20:07:42 +00:00
Status102
b150c0d97b rft: 重构自动战斗战斗列表 (#13852)
* rft(core): 重构多作业自动战斗

* rft(wpf): wpf支持新任务参数

* perf: 移除不必要move

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 任务计数

* fix: 战斗完成提示

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-24 22:51:08 +08:00
uye
3b5ef33daa chore: 修改备份文件写入时间 2025-08-24 22:33:15 +08:00
uye
e9f9e5a6b3 chore: 关机/休眠/睡眠 统一调用 PowerManagement 2025-08-24 20:12:35 +08:00
uye
c7cc4fe836 chore: 调整 GetModuleFileName 判断 2025-08-24 20:11:59 +08:00
uye
d6822fed31 chore: 更新 CsWin32 2025-08-24 20:11:07 +08:00
uye
c6e5fd43cb chore: luid 2025-08-24 19:05:01 +08:00
uye
a8164506d9 chore: 移除未使用的 container 2025-08-24 18:28:24 +08:00
uye
83ef927474 fix: ServerChan 未使用通用 httpService 2025-08-24 17:23:03 +08:00
uye
798db61999 refactor: ToastNotification 重构 2025-08-24 17:08:58 +08:00
uye
ade3e7963a style: GpuOption format 2025-08-24 14:52:59 +08:00
uye
9f899dd96e style: 统一 UI 绑定的方法 注释 2025-08-24 12:28:07 +08:00
uye
39f45e623a chore: A single-line comment within C# code is not preceded by a blank line. 2025-08-24 12:25:44 +08:00
uye
39ba4e91f5 chore: A C# partial element is missing a documentation header. 2025-08-24 12:21:47 +08:00
uye
25878b5380 chore: An item within a C# enumeration is missing an Xml documentation header. 2025-08-24 12:16:12 +08:00
uye
b62dea6a19 chore: A C# method, constructor, delegate or indexer element is missing documentation for one or more of its parameters. 2025-08-24 11:54:28 +08:00
uye
6cf7272aff chore: The XML header documentation for a C# element is missing a tag. 2025-08-24 11:53:28 +08:00
uye
2c5568d4f8 chore: Copyright 2025 2025-08-24 11:27:12 +08:00
uye
46beb3308e chore: mumu 使用 7555 端口时禁用 Index 检测,添加日志警告 2025-08-24 10:49:06 +08:00
uye
7514438144 fix: 错误清除 _tasksStatus 的时机 2025-08-24 00:28:24 +08:00
status102
39de085354 chore: file header 2025-08-23 15:45:26 +08:00
status102
ad4e32a92b feat(core): 自动战斗关卡结束后增加识别使用黑色返回按钮的检测 2025-08-23 12:27:32 +08:00
github-actions[bot]
114900e815 chore: Auto Update Game Resources - 2025-08-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17164905456

[skip changelog]
2025-08-22 20:08:26 +00:00
status102
6db11fa846 rft: 自动编队助战的确实干员读取 2025-08-22 22:32:44 +08:00
uye
c14225f54f chore: 加点肉鸽事件 fallback 前延迟,可能减轻点网络波动影响
fix #13848
fix #13784
2025-08-22 19:32:48 +08:00
uye
62b7b0c645 fix: 肉鸽入口等待 ocr 识别错误 2025-08-22 19:32:47 +08:00
status102
ee3a95f092 fix: 界园肉鸽商店钱包余额ocr roi 2025-08-22 17:27:17 +08:00
status102
eb370ae792 rft: 自动战斗不再使用need_navigate字段作为导航启用开关, 而是直接使用navigate_name字段 2025-08-22 16:17:48 +08:00
status102
4077100aa8 fix(wpf): 自动战斗-战斗列表突袭提示显示在运行期显示效果 2025-08-22 15:10:59 +08:00
status102
d2ada336e5 perf: 向战斗队列中添加SSS作业时追加错误输出 2025-08-22 13:37:27 +08:00
status102
b58a0c7bde fix: 不再点击停止任务时移除存储的TaskId 2025-08-22 13:37:26 +08:00
HY
ee37851d16 fix: 繁中服薩米肉鴿第四層名稱 (#13846) 2025-08-22 08:39:17 +08:00
status102
71ec401cde fix: 肉鸽投资存款不变重试20次退出 2025-08-21 23:51:42 +08:00
uye
f8c79833a1 feat: 更新源为海外源时隐藏 Mirror酱 CDK 输入框 2025-08-21 23:25:40 +08:00
uye
710515f581 fix: required version 显示错误 2025-08-21 23:09:00 +08:00
uye
36c8ee9942 fix: 会客室换班失败(如选人过程中弹出线索交流完成)时重开任务
fix #13449
2025-08-21 17:37:57 +08:00
Constrat
5c4a9338e1 ci: split codeql (#13812)
* perf: codeql core

* perf: standardize caching for codeqlcore

* fix: correct cache keys

* perf: add codeql-js for website and workflows

* fix: typo

* fix: use bash instead of pwsh in ubuntu
2025-08-20 23:14:16 +02:00
status102
f9d5b2b417 fix: 肉鸽开局招募在无开局干员时, 无法识别两招募的左侧位 2025-08-20 22:37:12 +08:00
萨拉托加
8b9fe3fecc fix: 千古鸭帝进战斗 2025-08-20 21:28:24 +08:00
uye
dc02a754d1 fix: 日服的萨卡兹第五层怎么全 jb 改成 exit 了
fix #13829
2025-08-20 20:21:13 +08:00
Status102
b9bd50d1c5 refactor: 自动战斗干员编队状态; 修复编队中干员属性未达标时反复报错; 缺少干员输出时, 干员组内干员打平输出 (#13795)
* chore: 状态定义

* rft: 重构干员编队的状态

* feat: 编入上次干员

* rft: wpf输出

* fix: ubuntu
2025-08-20 19:59:08 +08:00
Weiyou Wang
f29d9784f7 fix: 修正生息演算中 "丰饶灌木林" 的 OCR 识别 (#13825) 2025-08-20 17:43:14 +08:00
uye
c7c9f2d3c5 chore: 调整技能截图判断 2025-08-20 17:24:09 +08:00
Hao Guan
8e53d6a036 fix(mac): 资源更新文件处理 2025-08-20 17:19:26 +08:00
github-actions[bot]
43d86b717a chore: Auto Update Game Resources - 2025-08-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17091976053

[skip changelog]
2025-08-20 07:45:38 +00:00
uye
8aa65c6146 fix: 萨卡兹肉鸽因动画延时偶发无法领取去伪存真合成物品
fix #13822
2025-08-20 15:33:48 +08:00
github-actions[bot]
0dee92ab2c chore: Auto Update Game Resources - 2025-08-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17087999432

[skip changelog]
2025-08-20 03:50:54 +00:00
uye
cd078e924d fix: 萨米投资进二层会卡在预见密文板 2025-08-20 11:45:21 +08:00
Constrat
234b75dec2 perf: limit codeql run only to source code (#13802) 2025-08-19 16:18:17 +02:00
uye
3009055cb0 Release v5.23.2 (#13794) 2025-08-19 22:17:26 +08:00
uye
d1175ee34b docs: Update CHANGELOG.md 2025-08-19 22:16:13 +08:00
萨拉托加
433a009835 chore: 修改保全作业站位和工具人数量 (#13797)
* chore: 修改保全作业站位和工具人数量

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-19 21:39:22 +08:00
HX3N
84f3a7cc5d chore: KR use Official UiTheme template
[skip changelog]
2025-08-19 22:35:53 +09:00
github-actions[bot]
f6c9960300 chore: Auto Update Game Resources - 2025-08-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17071232507

[skip changelog]
2025-08-19 13:34:02 +00:00
Constrat
09ff523de7 fix: use Official template for Global (#13801)
* fix: use Official template for EN

* chore: delete infrastoverview.png

* chore: KR delete template

* chore: JP delete template

---------

Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-08-19 21:28:50 +08:00
HY
e0b230a259 chore: 調整繁中服水月、薩卡茲肉鴿相關內容 (#13806)
* chore: 補上水月跟薩卡茲肉鴿 mode1 task

* chore: 調整 GUI 上的薩卡茲分隊名稱
2025-08-19 21:27:34 +08:00
uye
8628130cd3 fix: tw 服缺少薩米 mode 1 对应层名翻译
fix #13803
2025-08-19 20:38:59 +08:00
travellerse
0644592e42 perf: 自动编队干员组显示模组需求 (#13796)
* perf: 自动编队干员组显示模组需求

* chore: 简化判断逻辑

* chore: 统一格式

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-19 19:51:44 +08:00
github-actions[bot]
331ec96ac8 chore: Auto Update Game Resources - 2025-08-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17064104659

[skip changelog]
2025-08-19 08:33:19 +00:00
soundofautumn
3be18fd67d i18n: 自动战斗日志本地化 (#13777)
* feat: 保全派驻工具人信息本地化

* chore: 拆分干员职业类型枚举

* feat: 战斗日志本地化

* chore: 修改切换倍数描述

* feat: 剩余自动战斗本地化

* chore: 简化字典映射

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-19 15:32:35 +08:00
travellerse
c963ab5a41 fix: 支持新建关闭状态的节点,并修正日志输出 (#13766)
* fix: 修复日志输出参数格式

* fix: 修正界园树洞的节点网格大小

* fix: 支持新建关闭状态的节点
2025-08-19 15:06:50 +08:00
github-actions[bot]
29fca06687 chore: Auto Templates Optimization
Triggered by ef1fd744d1

[skip changelog]
2025-08-19 06:46:41 +00:00
uye
ef1fd744d1 fix: 烛火数量过少时无法匹配退出
fix #13788
2025-08-19 14:45:25 +08:00
uye
099359bb5d fix: Y 模组模板匹配阈值要求过高
fix #13791
2025-08-19 14:40:34 +08:00
uye
e2a869e547 chore: 删除多余 next
[skip changelog]
2025-08-19 13:47:02 +08:00
uye
ac527b3617 fix: 退出商店时如果没有识别到下一层的文字会卡在遇见密文板
fix #13787
2025-08-19 13:45:40 +08:00
travellerse
2ded386178 fix: 因模组约束取消干员时删除编队信息 (#13780) 2025-08-19 00:03:04 +08:00
萨拉托加
d609d6a667 chore: 修改并添加保全派驻作业 (#13783)
* chore: 修改并添加保全派驻作业

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-18 23:42:49 +08:00
Constrat
9a7ac0c1fe fix: EN Phantom increase ROI for StrategyChange 2025-08-18 16:22:19 +02:00
uye
01b84292d9 chore: 自动战斗中的 使用编队 改为勾选框 2025-08-18 20:28:51 +08:00
uye
3fe5caadd0 feat: 肉鸽难度括号里显示一下对应难度 2025-08-18 20:05:35 +08:00
Manicsteiner
c5a7fe10fa chore: missing tasks for JP IS 2025-08-18 19:33:10 +08:00
HX3N
33b7fc4166 chore: fix typo default to exit
[skip changelog]
2025-08-18 19:09:14 +09:00
HX3N
f4b5672f0c chore: missing tasks for KR IS
follow 55168098db
2025-08-18 19:05:37 +09:00
github-actions[bot]
781e29c1e2 chore: Auto Update Game Resources - 2025-08-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17037068240

[skip changelog]
2025-08-18 09:48:10 +00:00
Constrat
55168098db chore: missing tasks for EN IS 2025-08-18 11:43:54 +02:00
status102
6f46e94754 perf: copilot useFormation ui 2025-08-18 16:38:41 +08:00
萨拉托加
eb0396cc88 fix: 萨米无法离开深埋迷境 2025-08-18 08:58:39 +08:00
Constrat
7bcf0897a5 fix: EN Sami big typo. 2025-08-18 01:15:26 +02:00
uye
b63ef6dc66 fix: 因动画或卡顿导致无法退出商店 2025-08-17 23:43:48 +08:00
uye
65c7158d1c Release v5.23.1 (#13760) 2025-08-17 20:16:30 +08:00
uye
62619170da docs: Update CHANGELOG.md 2025-08-17 20:15:43 +08:00
uye
730e7258bc style: 格式化
[skip changelog]
2025-08-17 20:13:37 +08:00
uye
586220d9d8 fix: 商店没钱了不会停止投资 2025-08-17 20:12:24 +08:00
uye
ba44ec6a40 Release v5.23.0 (#13754) 2025-08-17 19:46:38 +08:00
github-actions[bot]
db2e1ccf4e docs: Auto Update Changelogs of v5.23.0 (#13755)
* docs: Auto Generate Changelog of Release v5.23.0

* docs: Update CHANGELOG.md

* docs: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-08-17 19:39:09 +08:00
萨拉托加
a8d293999e chore: 更新新保全 (#13756)
* chore: 更新新保全

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 迁移老保全

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-17 17:34:58 +08:00
uye
3ae526ff72 fix: 萨米肉鸽刷坍缩范式闪退
fix #13750
2025-08-17 15:06:51 +08:00
vcfch843875
e99e44ee91 docs: 修正“刷理智”文档表述错误 (#13745)
* docs: 修正表述错误

floor函数是向下取整函数,所以原表述有误。

* docs: 修正表述错误

floor函数是向下取整函数,所以原表述有误。

* docs: 表現の誤りを修正

floor 関数は切り捨て関数なので、元の表現は誤りです。
2025-08-17 13:44:54 +08:00
github-actions[bot]
ea55e0463b chore: Auto Update Game Resources - 2025-08-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17011048822

[skip changelog]
2025-08-16 17:28:40 +00:00
travellerse
b6a953cb1d fix: 修复界园树洞无可用节点时任务失败 (#13741)
* fix: 修复界园树洞无可用节点时任务自动结束

* style: 移除无用的空行
2025-08-17 01:18:39 +08:00
Constrat
38aa0618d0 Revert "fix: add slight delay before `InfrastEnteredFlag' in case of stutters in base rendering"
This reverts commit 90570fbad3.
2025-08-16 14:42:40 +02:00
uye
14963a21c4 Release v5.23.0-beta.2 (#13735) 2025-08-16 19:56:48 +08:00
github-actions[bot]
943cf646bf docs: Auto Update Changelogs of v5.23.0-beta.2 (#13737)
* docs: Auto Generate Changelog of Release v5.23.0-beta.2

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-16 19:48:00 +08:00
github-actions[bot]
693caf6781 chore: Auto Update Game Resources - 2025-08-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17008012425

[skip changelog]
2025-08-16 11:44:13 +00:00
travellerse
aed3f29598 feat: 适配界园树洞节点 (#13552)
* feat: 适配界园树洞节点 拾遗 传说

* fix: 修复卡在传说`应“蕴”而生`投钱

* fix: 将"_defaultBoskyPassage"改为"_boskyPassageDefault"  避免被识别为"_default"

* fix: 修复拾遗获得通宝卡住

* fix: 修复树洞内遇到集印概率卡住

* feat: 初步适配`易与`

* fix: 尝试替换一个更清晰的`易与`模板图

* feat: 添加`祸乱`识别,暂时不进入策略

* feat: 添加`故肆` `筹谋`占位

* feat: 添加`常乐`占位及相关事件选项

* feat: 添加`杂疑`和`筹谋`相关事件

* feat: 添加`杂疑`识别

* fix: 替换 `易与` `常乐` 模板图

* feat: 添加 `故肆` `筹谋` `常乐` `杂疑` 到策略

* fix: 将存在遮挡的 `故肆` `筹谋` `常乐` 识别阈值暂时调到0.65

* feat: 适配传说版`传讯`

* fix: 修复 掷地有声 概率识别错误

* fix: 替换 `故肆` 模板图

* fix: 修复传说版 `同心` 选择导致崩溃

* feat: 初步构建界园树洞地图

* fix: 优化 BoskyPassage 配置加载和节点处理逻辑

* fix: 删除passed属性,优化节点获取和日志输出

* fix: 修复因内存错误导致启动自动肉鸽时闪退

* feat: 支持按类型过滤获取节点

* fix: 移除重置函数中的中心节点创建逻辑

* fix: 优化树洞地图参数传递

* fix: 添加缺失的Grey模板图

* fix: 补上遗漏的NodeAnalyze

* fix: 清理没有使用到的树洞节点Task

* fix: 删除界园树洞多余的地图参数和adjacent函数

* fix: 重构pixel_to_grid_coords为成员函数

* fix: 删除多余的RoguelikeBoskyRoutingTaskPlugin.h引用
2025-08-16 19:43:13 +08:00
HX3N
22a806d699 i18n: KR tweak copilot option translation 2025-08-16 20:06:42 +09:00
Status102
baef3b8868 perf: 不同更新渠道加个描述 (#13734)
* perf: 不同更新渠道加个描述

* i18n: cn

* i18n: zh-tw

* i18n: EN

* i18n: typo

* i18n: JP

* i18n: KR

---------

Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-08-16 18:45:05 +08:00
uye
a7197084c5 feat: 设置排序 (#13699)
* feat: 新增设置排序

* chore: 布局计算延迟到 Loaded 之后

* chore: 提取 SettingItemViewModel,简化代码

* chore: 排序改为全局配置

* chore: 移除没用上的属性

* feat: 运行时允许调整设置顺序
2025-08-16 16:11:31 +08:00
status102
d50f86a9c7 fix: 移除未使用 2025-08-16 14:59:29 +08:00
uye
2d6eff9cb3 chore: catch 一下企鹅物流的上报错误请求,避免影响重试逻辑
fix #13730
2025-08-16 14:50:40 +08:00
uye
d9bd770a4a feat: 调整自动战斗页面布局
[skip changelog]
2025-08-16 12:47:54 +08:00
uye
9a3bdf18d9 feat: 调整自动战斗页面布局 2025-08-16 12:09:32 +08:00
status102
be6d7d7c88 perf(wpf): 自动战斗使用编队选择框UI 2025-08-16 11:35:33 +08:00
status102
1b789ec3c3 fix: 肉鸽投资在单次投资达到999时可能无法退出 2025-08-16 11:16:53 +08:00
husy8
7b6046b682 fix: 修复掉落上报消息类型没有在 Python 层定义导致外部脚本报错的问题 (#13723) 2025-08-16 10:02:35 +08:00
uye
6877941188 fix: debug version 拿不到活动关卡 2025-08-15 22:43:32 +08:00
status102
364f9886f7 fix: 干员识别输出遗漏干员持有情况、潜能
改回旧的, 感觉是写的时候写错了
2025-08-15 22:28:35 +08:00
uye
692c301dc0 style: 长判断换行 2025-08-15 17:28:29 +08:00
status102
b154022100 fix: 剿灭失败不报错 2025-08-15 17:23:00 +08:00
uye
89e71dce76 fix: 傀影卡在无法进行初始招募的深入探索欲月度小队
fix #13692
2025-08-15 15:31:00 +08:00
vcfch843875
beb561a94f docs: 文档日语化翻译 (#13713)
* docs: 翻译“开始唤醒”部分为日语

将“开始唤醒”的部分全文翻译成了日语。
Translated the entire "Wakeup" section into Japanese.
「ウェイクアップ」の部分を全て日本語に翻訳しました。

* docs: 翻译“公开招募”部分为日语

将“公开招募”部分全文翻译成了日语。
The entire "Public Recruitment" section has been translated into Japanese.
「公開募集」部分の全文を日本語に翻訳しました。

* docs: 将“刷理智”部分全文翻译成日语

将“刷理智”部分全文翻译成了日语。
Translated the entire combat section into Japanese.
「作戦」部分の全文を日本語に翻訳しました。

* docs: 翻译文档标题为日语

将中文文档的标题“基建换班”改成日语的「基地仕事」。
Change the title of the Chinese document "基建换班" to the Japanese 「基地仕事」.
中国語のタイトル「基建换班」を日本語の「基地仕事」に変更する。

* docs: 优化文档的日语表达

优化了此文档的日语表达。
Improved the Japanese expressions in this document.
このドキュメントの日本語表現を最適化しました。

* docs: 翻译文档“获取信用及购物”部分

将“获取信用点及购物”部分全文翻译成了日语。
Translated the entire "Get Credits & Shopping" section into Japanese.
「FP獲得と交換」セクションの全文を日本語に翻訳しました。

* docs: 优化文档的日语表达

优化了此文档的日语表达。
Improved the Japanese expressions in this document.
このドキュメントの日本語表現を最適化しました。

* docs: fix 一个锚点错误

./tools.md#公招识别
→  ./tools.md#公開求人認識

* docs: fix 笔误

修正笔误。

* docs: fix 笔误

修正笔误。
2025-08-15 15:13:55 +08:00
uye
59b4ace20b feat: 使用编队宽度自适应 2025-08-15 14:59:36 +08:00
status102
95d27786dd perf(wpf): 一键长草任务列表翻转按钮下拉框样式优化 2025-08-15 14:57:03 +08:00
MistEO
3bef81c23e Revert "ci: bump the github-actions group in /.github/workflows with 2 updates" (#13707) 2025-08-15 10:11:34 +08:00
uye
80fd44728b Release v5.23.0-beta.1 (#13682) 2025-08-15 00:36:52 +08:00
github-actions[bot]
63cfa6e17d docs: Auto Update Changelogs of v5.23.0-beta.1 (#13698)
* docs: Auto Generate Changelog of Release v5.23.0-beta.1

* docs: changelog

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-15 00:30:53 +08:00
SherkeyXD
02d646e9aa feat: 烧水模式启用快速退出 (#13690)
* feat: 烧水模式启用快速退出

* feat: 难度选择 + 导航插件支持

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 屎屎就试试

* fix: 可能修好了

* fix: 加点注释

* feat: 添加界园刷开局入口

* fix: 判断条件错误

* fix: 糊

* feat: 指挥烧水放弃招募

---------

Co-authored-by: Weiyou Wang <44151844+Alan-Charred@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-15 00:02:11 +08:00
status102
e0c72a81d4 refactor: 迁移UpdateStageList 2025-08-14 23:37:42 +08:00
status102
25d2497a47 rft: _stageManager迁移 2025-08-14 23:37:41 +08:00
pre-commit-ci[bot]
892d46e640 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-14 15:12:59 +00:00
status102
e55c22d45a perf: 合并regex 2025-08-14 23:10:30 +08:00
uye
3c82f6894e feat: 支持 梦乡 主题 (#13693)
* feat: 支持 梦乡 主题

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-14 22:50:27 +08:00
github-actions[bot]
b80f2c45df chore: Auto Update Game Resources - 2025-08-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16968559153

[skip changelog]
2025-08-14 14:47:59 +00:00
Tsukiyowu
6e6ca1ef7d fix: 修复萨卡兹肉鸽部分字段无法正确识别的问题 (#13691)
* fix: 修复萨卡兹肉鸽部分字段无法正确识别的问题

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-14 22:37:37 +08:00
uye
3148354640 fix: 无法区分界园 3/5 层 boss 2025-08-14 19:57:12 +08:00
github-actions[bot]
15502a1d6d chore: Auto Update Game Resources - 2025-08-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16960910691

[skip changelog]
2025-08-14 09:10:03 +00:00
status102
ab312ec9fe refactor: binThreshold, useRaw直接写入task 2025-08-14 15:49:48 +08:00
uye
2b13f21908 feat: 优化标题栏显示效果 2025-08-14 14:21:55 +08:00
uye
8ef3e48492 feat: 版本后面也跟个日期 2025-08-14 10:29:16 +08:00
github-actions[bot]
df1c6b4fa7 chore: Auto Update Game Resources - 2025-08-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16941861653

[skip changelog]
2025-08-13 15:29:07 +00:00
uye
37600ac2d9 perf: 仓库识别改用二值化后的非char模型识别 (#13667)
* perf: 仓库识别改用二值化后的非char模型识别

* feat: unify large number display format to k/M/B

* chore: 通过开关控制万以下数量是否格式化
2025-08-13 23:20:00 +08:00
uye
140b041164 fix: 因招募动画卡预见密文板 (#13680)
* fix: 因招募动画卡预见密文板

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-13 23:19:22 +08:00
HY
17f5d9e2b1 chore: 繁中服「出蒼白海」導航入口文字調整 (#13681) 2025-08-13 21:57:58 +08:00
status102
646424347e fix: 修修ocr bin threshold 被task info 错误覆盖 2025-08-13 16:05:01 +08:00
uye
427f2996e0 fix: 获得排异反应的干员无法选择技能
fix #13618
2025-08-13 15:59:27 +08:00
uye
83f28cb49b chore: 调整 LDExtras 文件位置 2025-08-13 15:35:25 +08:00
Rbqwow
902a3e9ebe docs: mumu (#13658)
* docs: mumu删了两个数字 我改了二十个文件

* docs: 更新连接设置文档
2025-08-13 15:27:48 +08:00
uye
ca916c9455 chore: 自动战斗存图阈值改为0.75 2025-08-13 14:15:53 +08:00
uye
16968ee2ef fix: schema error 2025-08-13 14:15:53 +08:00
Status102
89f6330e48 fix: 移除使用empty.png当JustReturn屎 (#13652) 2025-08-13 11:23:36 +08:00
Rbqwow
597830850b docs: 文档站小修复 (#13659)
* fix: 去掉按tab可以选中的在页面左上角的`跳至主要内容`

* build: update turbo to 2.5.5

* fix: 干掉语言列表里面的根目录
2025-08-13 05:09:48 +08:00
uye
e1e57b99c0 feat: 幸运掉落用家具零件代替显示 2025-08-12 23:36:09 +08:00
uye
e7aed3250b feat: ADB 连接失败时尝试启动模拟器 勾选框在连接设置与启动设置中同时显示 2025-08-12 22:34:24 +08:00
uye
60eea0e176 style: format 2025-08-12 22:23:15 +08:00
uye
e1cc30b9db feat: 支持 mumu 5555 端口使用控制台退出与截图增强 2025-08-12 21:53:24 +08:00
status102
24e519bbe6 refactor(wpf): 刷理智任务指定材料不再使用双属性保存,仅保存物品id 2025-08-12 16:23:32 +08:00
status102
066c735967 fix: 保存截图加回来
[skip changelog]
2025-08-12 14:42:12 +08:00
status102
1e935aeda9 fix: 识别错误等待+200ms 2025-08-12 14:40:18 +08:00
status102
755a3b97ee fix: 肉鸽投资可能由于存款被长期遮挡导致提前退出 2025-08-12 14:33:48 +08:00
uye
0032b6834a feat: 反转网络桥接提示框的按钮位置,避免误勾选 2025-08-12 13:03:05 +08:00
status102
1f0cf7393c ci: 未提交多个issue时,当前issue也会错误添加rapid-submission标签 2025-08-12 11:59:25 +08:00
status102
fb63fdac56 fix: 未启用备选关卡也会输出剿灭提醒 2025-08-12 11:59:25 +08:00
uye
6c5870b146 chore: 密文板加一个进入后检查 2025-08-12 10:45:05 +08:00
dependabot[bot]
e01e4d2f90 ci: bump the github-actions group in /.github/workflows with 2 updates (#13648)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

Updates `actions/download-artifact` from 4 to 5
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 09:32:59 +08:00
HY
b6e3df45c8 chore: 繁中服基建 + 保全派駐 7 相關更新 (#13643)
* chore: 繁中服基建更新

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: sss7 txwy

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 移除彩六主題通用截圖

* chore: 再...再補個圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-12 09:29:42 +08:00
Constrat
90570fbad3 fix: add slight delay before `InfrastEnteredFlag' in case of stutters in base rendering 2025-08-12 01:10:33 +02:00
Constrat
b26f6be364 fix: EN Phantom IS font change nextlevel fix 2025-08-11 18:13:22 +02:00
HY
23469665ea chore: 繁中服「出蒼白海」活動導航 (#13644) 2025-08-11 23:34:35 +08:00
uye
1874d187d6 fix: 合成密文板未进入合成页面导致卡死 2025-08-11 23:10:21 +08:00
HX3N
f1b3dadc54 chore: YostarKR CharsNameOcrReplace ocr edit 2025-08-11 23:35:49 +09:00
Constrat
d5f7c00cdd fix: start plugin task not enough delay (#13623) 2025-08-11 16:11:01 +02:00
SherkeyXD
9126d92774 chore: 添加null检测 2025-08-11 20:33:41 +08:00
SherkeyXD
5dd8ee8f55 chore: rename MinimumFeatureLevel to minimumFeatureLevel 2025-08-11 20:33:23 +08:00
SherkeyXD
4ed4e53f46 style: add line 2025-08-11 20:32:10 +08:00
SherkeyXD
e6f29ecac6 chore: 修复fody一直报warning 2025-08-11 19:51:08 +08:00
SherkeyXD
6983c9cab9 style: move annotation 2025-08-11 19:51:08 +08:00
SherkeyXD
ed4c7b3a2b chore: add copyright header 2025-08-11 19:51:07 +08:00
SherkeyXD
c00fa86d0b chore: add nullable flags 2025-08-11 19:51:07 +08:00
Status102
baff5b46a7 ci: 关issue+提示,反复提issue+tag (#13638) 2025-08-11 18:30:37 +08:00
Status102
be96b6a160 refactor: 合并ocrBinThreshold (#13635) 2025-08-11 12:12:41 +02:00
SherkeyXD
640bdfa72b chore: gitignore添加MaaBuilder相关内容 2025-08-11 17:54:41 +08:00
SherkeyXD
3b4917e9e1 chore: 更新nuke版本 2025-08-11 17:53:59 +08:00
SherkeyXD
3596eb284f chore: 更新nuke构建参数信息 2025-08-11 17:38:09 +08:00
SherkeyXD
3ca1d0a16c chore: 更新MaaBuilder中使用的过时方法 2025-08-11 17:38:03 +08:00
SherkeyXD
aeb9ebda3c chore: add missing png suffix to templates 2025-08-11 17:24:10 +08:00
status102
fb99df8a9f ci: CN issue检查单判断逻辑更新, 不再关闭issue 2025-08-11 17:12:05 +08:00
github-actions[bot]
09784802d4 chore: Auto Update Game Resources - 2025-08-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16873713908

[skip changelog]
2025-08-11 07:32:44 +00:00
uye
96011a2294 fix: 商店因为动画卡在源石锭不足
fix #13632
2025-08-11 15:14:37 +08:00
status102
f83f3c83fa fix: 理智药背景干扰使用数量识别
fix #13622
2025-08-11 14:40:33 +08:00
uye
b18d57923b fix: 第一层没出商店时会在第三层才退出
fix #13615
2025-08-11 14:28:49 +08:00
uye
43a38ff1d8 chore: TestLinkAndGetImage 不允许同时运行 2025-08-11 14:28:49 +08:00
github-actions[bot]
a6bad9b029 chore: Auto Update Game Resources - 2025-08-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16872296487

[skip changelog]
2025-08-11 06:12:50 +00:00
status102
a13a011580 ci: fix
[skip changelog]
2025-08-11 13:28:04 +08:00
status102
d46066a26d ci: fix
[skip changelog]
2025-08-11 13:21:53 +08:00
Status102
8b133ef43f chore: 模板轮换 (#13625) 2025-08-11 13:19:13 +08:00
github-actions[bot]
5e9ba974b4 chore: Auto Update Game Resources - 2025-08-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16871478867

[skip changelog]
2025-08-11 05:14:53 +00:00
status102
beb6711b82 refactor(wpf): 基建设施排序初始化 2025-08-11 11:19:19 +08:00
status102
172f33d093 refactor: wpf任务名字段统一 2025-08-11 10:27:51 +08:00
status102
b9f57a4c44 fix(wpf): 肉鸽任务高级设置界面xaml错误修复 2025-08-11 10:15:26 +08:00
status102
6f025d1480 fix(wpf): 肉鸽种子选择框visibility判断更新 2025-08-11 10:14:53 +08:00
status102
6e8ed67dc5 chore(wpf): 基建设施种类 2025-08-11 10:14:18 +08:00
status102
f68d8878e9 chore: CustomTask存储 2025-08-11 10:08:50 +08:00
uye
170d02f082 fix: 每次截图测试前断开模拟器连接以获取最新的最快截图耗时 2025-08-10 23:49:00 +08:00
Status102
612c66b010 perf: 代理倍率、肉鸽难度 使用 不切换 代替 当前不使用 以符合实际逻辑 (#13612)
* perf: 代理倍率、肉鸽难度 使用 `不切换` 代替 `当前`、`不使用` 以符合实际逻辑

* i18n: kr

* chore: use key

* i18n: EN

* i18n: JP

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-08-10 23:19:43 +08:00
uye
6f8e8e8ea4 fix: 锻冶旧迹 导航识别错误 2025-08-10 20:37:48 +08:00
uye
8c33554a2e feat: 自动编队支持指定使用编队 2025-08-10 16:56:09 +08:00
uye
99175acc30 feat: 调整自动战斗页面布局 2025-08-10 16:56:09 +08:00
uye
8137754462 feat: 调整编队界面翻译 2025-08-10 16:56:08 +08:00
status102
fd91375007 perf: wpf肉鸽难度初始化优化 2025-08-10 16:02:56 +08:00
status102
63a8fe5be4 fix: 追加自定干员职业与最后编入干员职业相同时, 误展开子职业列表
fix #13603
2025-08-10 15:45:47 +08:00
status102
6c3ec3130e chore: 浅调一下初始化顺序 2025-08-10 15:43:26 +08:00
status102
287d7e6597 fix: 肉鸽烧水选择当前难度时禁用 0难烧水切换 2025-08-10 10:51:21 +08:00
uye
5321cd9f42 Release v5.22.3 (#13605) 2025-08-09 23:06:44 +08:00
uye
8e0519f549 docs: Update CHANGELOG.md 2025-08-09 23:06:17 +08:00
uye
d82f230069 rft: 增加企鹅物流 .cn 备用域名,迁移上报逻辑到 UI 层 (#13602)
* chore: 企鹅物流上报添加 .cn 域名

* rft: 将企鹅物流的上报交给 ui 处理

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 上报移除 cpr version

* docs: 添加对应文档

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 获取新 id

* chore: 提取链接

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-09 22:48:38 +08:00
Hao Guan
cafd6d82f1 fix(mac): Mirror酱增量更新 2025-08-09 20:06:30 +08:00
status102
1aad8f7bc4 fix: 肉鸽烧水无法调整难度 2025-08-09 14:13:23 +08:00
uye
5a75870169 fix: 免费单抽剩余不足一小时无法使用
fix #13589
2025-08-09 13:34:30 +08:00
uye
f98ff9cc5e Release v5.22.2 (#13573) 2025-08-08 21:10:55 +08:00
uye
e3add87dc6 docs: Update CHANGELOG.md 2025-08-08 20:57:43 +08:00
uye
50f4f1612c chore: 调整chore: 调整 指点迷津 与 思维边界 的颜色范围
[skip changelog]
2025-08-08 19:36:55 +08:00
uye
3c959a32b8 chore: 调整 指点迷津 与 思维边界 的颜色范围 2025-08-08 18:15:09 +08:00
github-actions[bot]
e1ebfb255d chore: Auto Templates Optimization
Triggered by 48cb4ad49d

[skip changelog]
2025-08-08 09:54:45 +00:00
uye
48cb4ad49d chore: 调整节点识别范围 2025-08-08 17:54:09 +08:00
uye
ddb840d21f chore: stages 识别失败时放弃当前探索 2025-08-08 17:54:08 +08:00
uye
09840fc138 chore: 沉睡石像-战斗 2025-08-08 17:54:08 +08:00
status102
51d56151e6 perf: 肉鸽难度在首次进入后,仅在通关后才再次尝试调整 2025-08-08 15:46:21 +08:00
Status102
119e5c9ce5 feat: StartUp识别开始唤醒时最开始的完整性检测 (#13576)
* feat: StartUp识别开始唤醒时最开始的完整性检测

* chore: kr

* feat: YostarEN

* chore: zh-tw

* chore: YostarJP

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-08-08 15:39:14 +08:00
Constrat
490329fad8 i18n: fix EN task schema 2025-08-07 22:56:32 +02:00
github-actions[bot]
852c35c068 chore: Auto Update Game Resources - 2025-08-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16811845762

[skip changelog]
2025-08-07 17:48:38 +00:00
uye
eff86fb645 fix: 招募助战的确认多试几次 2025-08-08 01:45:46 +08:00
uye
670d855651 fix: 最后一个节点开到招募藏品
fix #13570
2025-08-08 01:25:48 +08:00
uye
0bf28fc7d7 chore: 扩大 ChooseDifficulty base 范围 2025-08-07 23:12:07 +08:00
uye
2053f14d55 fix: 选难度闪退
[skip changelog]
2025-08-07 23:12:06 +08:00
Constrat
40fd94d40d chore: update comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 17:06:21 +02:00
uye
a6a4c2c934 chore: ChooseDifficulty 还是留着吧
[skip changelog]
2025-08-07 22:44:56 +08:00
pre-commit-ci[bot]
48189efb4b chore: Auto update by pre-commit hooks [skip changelog] 2025-08-07 14:37:30 +00:00
uye
f52658609a feat: 首次使用肉鸽选难度 2025-08-07 22:34:41 +08:00
status102
0b9d0fbcdd fix: 漏了 2025-08-07 22:03:10 +08:00
status102
2d9624bbc6 fix: using 2025-08-07 22:01:25 +08:00
萨拉托加
f8c728fed9 fix: 诡谲断章有概率识别错误 2025-08-07 19:41:46 +08:00
status102
8db6c3c679 refactor: wpf拆分Enum 2025-08-07 19:40:06 +08:00
uye
c97bed87f6 fix: 抗干扰值识别错误时卡树洞
#13572
2025-08-07 19:39:37 +08:00
github-actions[bot]
913bef8329 chore: Auto Update Game Resources - 2025-08-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16802748917

[skip changelog]
2025-08-07 11:08:34 +00:00
Manicsteiner
e0bd8cf89b chore: YostarJP ocr fix (#13571) 2025-08-07 12:50:44 +02:00
status102
8868eeea98 perf: UseStoneDisplay绑定优化 2025-08-07 17:30:31 +08:00
github-actions[bot]
cf0849aed3 chore: Auto Update Game Resources - 2025-08-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16798075509

[skip changelog]
2025-08-07 07:32:24 +00:00
status102
89051521c9 style: format
[skip changelog]
2025-08-07 13:54:58 +08:00
status102
ff9f4b7207 perf: Use default config key 2025-08-07 13:54:58 +08:00
status102
a0b63cc67c chore: nullable update 2025-08-07 13:54:57 +08:00
status102
d3cbb31399 fix: 统一使用NotChooseLevel1 2025-08-07 13:54:57 +08:00
HX3N
7212f160ee chore: fix typo
[skip changelog]
2025-08-07 13:57:07 +09:00
HX3N
8e26f6e94a i18n: KR minigame tweak 2025-08-07 13:54:56 +09:00
HX3N
d66158482a chore: YostarKR tweak Roguelike@StartExploreCD text
Remove text to avoid misrecognition
2025-08-07 13:04:49 +09:00
status102
112e5d2ef9 styel: format
[skip changelog]
2025-08-07 11:47:41 +08:00
status102
b60f8ffd00 refactor: wpf刷理智UI变量rename 2025-08-07 11:46:03 +08:00
status102
dd51f70f6e refactor: wpf刷理智UI默认值类型 2025-08-07 11:38:26 +08:00
status102
2ee9743915 refactor: wpf移除不必要的null移除转换 2025-08-07 11:33:07 +08:00
status102
ebc149a755 refactor: 移除肉鸽非开局时的EnterAfterRecruit,完成开始探索状态分离 2025-08-07 10:42:25 +08:00
status102
bda4900ffc refactor: 肉鸽月度小队模式和深入探索开局招募流程状态与局内分离 2025-08-07 10:42:25 +08:00
Constrat
456a7aa8d4 i18n: EN AT minigame tweak 2025-08-07 01:48:32 +02:00
uye
05275bbc0a fix: 肉鸽招募完干员点击右上角时点到了动画结束后的开始探索
fix #13547
2025-08-07 02:05:38 +08:00
HX3N
56a45cec9e fix: YostarKR update ocrReplace and ocr_config (#13562) 2025-08-07 00:37:00 +09:00
bodayw
2495e01e1b feat: 更新 243 极限效率一天四换排班表(20250806 修订) (#13561) 2025-08-06 13:58:17 +02:00
github-actions[bot]
5bbe6c7427 chore: Auto Update Game Resources - 2025-08-06
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16775639024

[skip changelog]
2025-08-06 11:29:41 +00:00
uye
36eda14549 fix: 关闭骰子页面时点进藏品页
fix #13557
2025-08-06 19:25:17 +08:00
_Burnside
63187cfe83 fix: 干员识别时因特殊排序时的遮挡而导致识别异常 (#13538)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-08-06 19:12:07 +08:00
uye
577e23d961 chore: 调整 schema (#13554)
* chore: 调整 schema

* chore: required

* chore: 同步 en 版本

* chore: 移除 template 默认值

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: $schema require draft-07

* style: 格式化

* style: 格式化

* chore: 统一格式

* chore: 根据 schema 修改 tasks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-06 18:37:08 +08:00
github-actions[bot]
01fd697276 chore: Auto Templates Optimization
Triggered by df880a55fa

[skip changelog]
2025-08-06 10:27:56 +00:00
Constrat
df880a55fa fix: EN Phantom IS updated Drop templates 2025-08-06 12:26:27 +02:00
HX3N
3f271f9bb6 docs: KR update and overhaul entire documentation (#13550)
* docs: manual

* docs: protocol

* docs: develop

* chore: fix typo

* chore: fix more typo

* docs: readme

readme image

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: corrected file name

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-06 18:33:38 +09:00
MistEO
69478a939c feat: u16 OCR replace (#13533)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-06 13:29:23 +08:00
cibimo
ed81d609f6 fix: 使 python 脚本支持从 github 获取文件长度并更新 (#13457) 2025-08-06 09:36:04 +08:00
Constrat
1176822d0e i18n: EN main readme 2025-08-06 01:36:20 +02:00
Constrat
abae2b77a2 i18n: EN overhaul entire documentation!
Thank you Claude
2025-08-05 19:40:51 +02:00
Constrat
6be474c67f fix: typo
[skip changelog]
2025-08-05 19:37:03 +02:00
Constrat
95c1138a74 docs: cache defaults to true in task-schema.md 2025-08-05 19:35:57 +02:00
Constrat
bff0c82b1e Merge branch 'dev' of https://github.com/MaaAssistantArknights/MaaAssistantArknights into dev 2025-08-05 18:49:11 +02:00
Constrat
0826607897 i18n: EN manual updates/fixes 2025-08-05 18:03:22 +02:00
Constrat
d7e42b0600 i18n: EN device updates/fixes 2025-08-05 18:03:14 +02:00
github-actions[bot]
52cc4971ff chore: Auto Templates Optimization
Triggered by 35fb0e0f4e

[skip changelog]
2025-08-05 15:42:02 +00:00
Constrat
35fb0e0f4e fix: EN IS5 missing template GetDrop4 2025-08-05 17:41:21 +02:00
Constrat
eebe0a9328 i18n: EN manual\cli updates/fixes 2025-08-05 17:13:22 +02:00
Constrat
b708dd9f98 i18n: EN develop updates/fixes 2025-08-05 17:11:27 +02:00
Constrat
ffa0699f89 i18n: ci tutorial for EN 2025-08-05 16:31:23 +02:00
uye
d0d691043e perf: 优化成就列表滚动条
fix #13543
2025-08-05 22:21:36 +08:00
Constrat
801bb5eb4e i18n: EN I.S. manual update 2025-08-05 15:46:09 +02:00
uye
e792af6d45 feat: 调整翻译 2025-08-05 21:42:23 +08:00
uye
8f47e000b7 Release v5.22.1 (#13539) 2025-08-05 21:00:40 +08:00
uye
812f918311 docs: Update CHANGELOG.md
[skip changelog]
2025-08-05 20:30:21 +08:00
status102
a285c3b518 rft: 调整部分UI绑定namespace 2025-08-05 18:21:49 +08:00
Bvicii
7f625e780d feat: 更新技能识别模型,采用更全面的数据集和使用focal loss训练 (#13498)
refactor:用新的数据集和loss function训练技能识别模型
2025-08-05 17:57:24 +08:00
uye
8d3e0e2231 fix: 傀影卡历史馈赠
fix #13511
2025-08-05 17:56:22 +08:00
uye
110eeb98c1 feat: Unhandled exception (#13535)
* feat: Unhandled exception

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-05 17:24:16 +08:00
uye
6e821d02d4 fix: 部分策略无法离开诡谲断章
fix #13526
2025-08-05 17:22:36 +08:00
status102
e5f8e3cdfc fix: wpf肉鸽投资N个源石锭NumericUpDown绑定失效 2025-08-05 16:51:22 +08:00
status102
558a03d6ce refactor: rename FreeRecruit -> FreeGacha 2025-08-05 16:45:38 +08:00
uye
a2593c6d61 fix: 购买商品时因动画导致点击无效
fix #13531
2025-08-05 12:03:06 +08:00
uye
05b6a6ca07 fix: 不开线索交流可能导致技能效率判断崩溃
fix #13493
fix #13508
2025-08-05 11:25:27 +08:00
HY
3f64adc6bc chore: 繁中服「詞祭」介面主題截圖 (#13521)
* chore: 繁中服「詞祭」介面主題截圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-05 00:45:27 +08:00
github-actions[bot]
b2c06dd192 chore: Auto Update Game Resources - 2025-08-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16728794274

[skip changelog]
2025-08-04 16:33:29 +00:00
HY
ee6877c111 chore: 再度調整繁中服「崔林特爾梅之金·復刻」活動導航 (#13519) 2025-08-05 00:22:31 +08:00
Manicsteiner
44ef5b5ab2 fix: RoutingRefreshNode roi expand (#13515) 2025-08-04 23:55:25 +08:00
github-actions[bot]
d20212dea0 chore: Auto Templates Optimization
Triggered by 788d9293a6

[skip changelog]
2025-08-04 13:13:12 +00:00
萨拉托加
788d9293a6 fix: 去伪存真卡在灵光乍现
fix: #13510
2025-08-04 21:12:25 +08:00
SherkeyXD
1874174a70 chore: 更新CropRoi的依赖 2025-08-04 20:42:22 +08:00
Constrat
e2a6b6644b fix: update YostarEN IS3 templates
fix #13502
2025-08-04 13:41:38 +02:00
_Burnside
e8bb1a97e3 docs: fix typo (#13503) 2025-08-04 17:55:00 +08:00
Manicsteiner
e2519114b6 chore: YostarJP ocr fix (#13500) 2025-08-04 17:24:27 +08:00
github-actions[bot]
0148492916 chore: Auto Update Game Resources - 2025-08-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16717675999

[skip changelog]
2025-08-04 08:11:31 +00:00
uye
7845dab791 fix: 概率卡在出洞后的投钱 2025-08-04 15:36:52 +08:00
github-actions[bot]
0f83706c3f chore: Auto Update Game Resources - 2025-08-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16716562587

[skip changelog]
2025-08-04 07:15:49 +00:00
status102
d05aae5b1c perf: wpf Win10+Toast通知使用系统内置通知声而不是独立播放 2025-08-04 15:12:42 +08:00
github-actions[bot]
a1025fa2c7 chore: Auto Templates Optimization
Triggered by 40163dacf4

[skip changelog]
2025-08-04 07:11:13 +00:00
uye
40163dacf4 fix: 界园卡通关结算页面 2025-08-04 15:10:43 +08:00
HX3N
f20da513b7 fix: YostarKR corrected ocrReplace in IS5 StrategyChange_mode1 2025-08-04 14:08:22 +09:00
uye
041d4f9525 perf: 手动点击查看公告时获取公告更新前先显示本地公告 2025-08-04 13:03:21 +08:00
uye
6ab772238c fix: 生息演算组装数量识别失败时取消组装 2025-08-04 10:36:37 +08:00
uye
792abcd180 fix: 其他肉鸽可能点到月度小队 2025-08-04 00:29:33 +08:00
uye
ffa8b4b2d4 feat: 不忽略肉鸽的报错 2025-08-04 00:18:57 +08:00
uye
bcd709265e perf: 优化 ComboBox 搜索 2025-08-03 23:54:40 +08:00
Hao Guan
62cbeba7fc fix: clang编译警告 (#13482) 2025-08-03 22:09:49 +08:00
Hao Guan
c6e491eada feat(mac): 新增小游戏 2025-08-03 20:47:37 +08:00
uye
3ac005d75a fix: 模拟器卸载/更新注册表残留可能导致截图增强弹窗死循环 2025-08-03 20:14:43 +08:00
uye
a979b7f33e i18n: 任务出错内容翻译 2025-08-03 15:57:50 +08:00
uye
678f076f60 fix: 仓库识别概率无法识别部分物品 2025-08-03 15:15:03 +08:00
uye
8bf856505b Release v5.22.0 (#13463) 2025-08-03 14:24:13 +08:00
uye
b7933ef7f2 fix: 多余符号 2025-08-03 14:22:43 +08:00
github-actions[bot]
41432ca341 docs: Auto Update Changelogs of v5.22.0 (#13455)
* docs: Auto Generate Changelog of Release v5.22.0

* docs: cahngelog

* feat: changelog

* fix: Update CHANGELOG.md

* fix: Update CHANGELOG.md

* fix: Update CHANGELOG.md

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-03 14:18:49 +08:00
HY
5bf78a9cba i18n: zh-tw tweak translations (#13467)
i18n: zh-tw tweak
2025-08-03 13:32:01 +08:00
萨拉托加
51619da8dd fix: 催债鬼夜叉二次选择 2025-08-03 12:52:37 +08:00
AimOwO
1d6b585c07 fix: 装置“斩”识别 (#13459)
* fix: 装置“斩”识别

* fix: 装置“斩”识别 

防止误识别为“斩”业星熊

* fix: 装置“斩”识别

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-08-03 12:47:00 +08:00
HX3N
226a45b8ff fix: YostarKR removes spaces in StrategyChange_mode and NextLevel 2025-08-03 05:57:25 +09:00
github-actions[bot]
6dba614726 chore: Auto Templates Optimization
Triggered by 3ebc095d37

[skip changelog]
2025-08-02 19:03:11 +00:00
pre-commit-ci[bot]
3ebc095d37 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-02 19:02:46 +00:00
Manicsteiner
3514651f75 i18n: JP edits (#13460) 2025-08-03 02:55:23 +08:00
uye
94d71b1db4 feat: 相谈室 小游戏 (#13461)
* feat: 相谈室小游戏

* feat: ui 添加小游戏入口

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-03 02:54:00 +08:00
uye
61b968c58f debug: hsv 影响原图 2025-08-03 02:09:22 +08:00
uye
e045adc4dc fix: 卡遇见板子 2025-08-02 23:12:08 +08:00
SherkeyXD
53b1032e24 feat: SideStory「墟」关卡导航 2025-08-02 21:46:39 +08:00
uye
b19c836e35 Release v5.22.0-beta.2 (#13454) 2025-08-02 20:34:27 +08:00
uye
107f67c3a7 docs: Update CHANGELOG.md 2025-08-02 20:33:48 +08:00
Lemon-miaow
2aa63c77e6 feat: 新增是否进行线索交流选项 (#13368)
* feat: 新增是否进行线索交流选项

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 文档添加参数

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-02 20:32:33 +08:00
uye
d339731987 docs: Update CHANGELOG.md 2025-08-02 20:31:40 +08:00
uye
b611b35248 fix: 无法使用连战 2025-08-02 20:24:31 +08:00
uye
aaefd75ef3 fix: 其他肉鸽的屎山爆炸了 2025-08-02 17:42:55 +08:00
uye
7aae2318f8 fix: 野鬃识别
现在应该没有其他野开头的干员吧
2025-08-02 17:17:01 +08:00
uye
906cb5624f fix: 野鬃识别 2025-08-02 17:11:46 +08:00
HY
36d44d7897 chore: 更新繁中服「崔林特爾梅之金」活動導航 (#13450)
* chore: 更新繁中服「崔林特爾梅之金」活動導航

* chore: update ZT.json

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-02 16:53:06 +08:00
github-actions[bot]
8cceb5ccd7 chore: Auto Update Game Resources - 2025-08-02
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16691605689

[skip changelog]
2025-08-02 08:09:30 +00:00
uye
1ba86d879c Release v5.22.0-beta.1 (#13428) 2025-08-02 12:19:57 +08:00
github-actions[bot]
cf930ef66a docs: Auto Update Changelogs of v5.22.0-beta.1 (#13451)
docs: Auto Generate Changelog of Release v5.22.0-beta.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-02 12:18:37 +08:00
Rbqwow
b1138f5b68 docs: 文~档~大~更~新,开始失败喽—— (#13410)
* fix: prettier 一定要能格式化文档✍️✍️✍️

* docs: 更新肉鸽用户文档

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 移除由 heroFullScreen: true 引入的 vp-hero-slide-down-button

主题组件叫 `@theme-hope/components/home/HeroSlideDownButton`
别管怎么移除的 看不到就行了)

* fix: 修复官网查看全部下载按钮动画

refer to 462bf51dce

* docs: 补充萨卡兹肉鸽点刺刷钱策略

* docs: 更新肉鸽新手教程描述

* fix: HomeActionsRelease.tsx typo

* docs: 更新难度选择按钮描述

* docs: Update integrated-strategy.md

* docs: Update integrated-strategy.md

* docs: 更新 integrated-strategy.md

---------

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: DavidWang19 <dwang0340@gmail.com>
2025-08-02 12:15:12 +08:00
github-actions[bot]
da7f9ffbc6 chore: Auto Update Game Resources - 2025-08-02
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16689662848

[skip changelog]
2025-08-02 04:02:33 +00:00
github-actions[bot]
5ec8bbf5a0 chore: Auto Templates Optimization
Triggered by 8ffbf4e053

[skip changelog]
2025-08-02 03:01:56 +00:00
github-actions[bot]
8ffbf4e053 chore: Auto Update Game Resources - 2025-08-02
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16689151708

[skip changelog]
2025-08-02 03:01:27 +00:00
萨拉托加
f82257d2cb fix: 祠堂口事件识别失败 2025-08-02 10:54:14 +08:00
萨拉托加
695f6425c5 fix: 调整飞来横祸EW站位 2025-08-02 10:21:41 +08:00
萨拉托加
57f76ccb20 fix: 调整往事暗哑离域检查EW站位 2025-08-02 10:13:32 +08:00
uye
f100a7ba81 fix: 拾取关卡掉落后找不到节点时放弃 2025-08-02 09:44:33 +08:00
uye
fbf683480b chore: 调整安全屋颜色范围 2025-08-02 09:34:35 +08:00
uye
d79bf3724b fix: 祠堂口事件识别失败 2025-08-02 09:18:08 +08:00
Constrat
cd2d1c448c chore: update YostarEN OR navigation 2025-08-01 19:01:09 +02:00
HX3N
819014983c fix: YostarKR 海神的信者 ocr edit
yostar updated translation
2025-08-02 01:38:30 +09:00
uye
579e34bd50 fix: 夕娥忆 关卡名识别错误 2025-08-01 23:51:23 +08:00
uye
77ed38127e fix: 重复报关卡难度 2025-08-01 23:51:23 +08:00
uye
65311bbd6c fix: 禳解事件识别错误 2025-08-01 23:51:23 +08:00
uye
da16cc95ad chore: 调整颜色阈值 2025-08-01 23:51:23 +08:00
uye
22842034ae chore: 添加白色部分识别 2025-08-01 23:51:23 +08:00
uye
ffa6724397 debug: 调整边框粗细 2025-08-01 23:51:23 +08:00
pre-commit-ci[bot]
7b66511566 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-01 23:51:23 +08:00
Weiyou Wang
2ca5c83542 fix: JieGarden roguelike stage templates 2025-08-01 23:51:23 +08:00
萨拉托加
26703b0014 feat: 界园肉鸽补充战斗逻辑 (#13433)
* feat: 补充界园三层战斗逻辑

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 添加斩业星熊,遥招募分数

* feat: 补充界园四层战斗逻辑

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 补充界园五层战斗逻辑

* feat: 补充界园剩余战斗逻辑

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-01 23:50:48 +08:00
uye
4b6222b118 docs: useRaw 仅当 withoutDet 为 true 时生效 2025-08-01 23:27:58 +08:00
uye
7b765d8fdc docs: 更新文档与 maa_tasks_schema 2025-08-01 21:24:37 +08:00
pre-commit-ci[bot]
ec974f8648 chore: Auto update by pre-commit hooks [skip changelog] 2025-08-01 13:05:14 +00:00
uye
c79856b81e perf: 优化界园层名识别 2025-08-01 21:02:51 +08:00
uye
22eb038a9e feat: PipelineAnalyzer 支持使用灰度图匹配文字 2025-08-01 21:02:19 +08:00
Weiyou Wang
7b40c11df4 fix: 修复层名识别问题 -- "云瓦亭" -> "云(瓦)?亭" 2025-08-01 21:54:11 +10:00
uye
64ac7f5d64 debug: 低于阈值 0.2 的 hsv 也保存一下 2025-08-01 16:57:04 +08:00
uye
aa8f02aa3e fix: 拥有时光之末战斗失败后无法跳过动画 2025-08-01 16:54:13 +08:00
github-actions[bot]
e27566deb5 chore: Auto Update Game Resources - 2025-08-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16670365761

[skip changelog]
2025-08-01 08:33:17 +00:00
uye
53a4e125ca chore: 调整返回主界面点击位置 2025-08-01 15:42:30 +08:00
uye
fbece132b0 fix: 战斗失败没进结算识别 2025-08-01 15:42:09 +08:00
uye
dd1328f2c1 fix: 汝吾门 识别 2025-08-01 14:49:45 +08:00
HX3N
7b841fca84 fix: YostarKR 黍 ocr edit
garbage text after 黍 when skin is applied
2025-08-01 06:33:11 +09:00
HX3N
dd3233ff34 i18n: KR dehardcode string names and tweak translations
follow 167ac2d2d5
2025-08-01 05:20:58 +09:00
github-actions[bot]
d2c159590d chore: Auto Templates Optimization
Triggered by c85849651f

[skip changelog]
2025-07-31 18:05:00 +00:00
uye
c85849651f chore: 更新截图 2025-08-01 02:04:20 +08:00
uye
dba8f4f3c4 chore: 怎么jb有个0.6的阈值 2025-08-01 01:23:47 +08:00
uye
ee64c2051b chore: 不期而遇失败时尝试放弃 2025-08-01 01:21:07 +08:00
uye
0ed14899f9 chore: 在事件中卡死时尝试放弃 2025-08-01 01:13:52 +08:00
uye
5452ed2a96 perf: 优化多层事件逻辑 2025-08-01 00:29:05 +08:00
Constrat
718026c513 i18n: dehardcode string names
follows b0a53cd5b0
2025-07-31 18:28:05 +02:00
萨拉托加
c2dab28d51 fix: 鲍老板连锁去掉引号 2025-08-01 00:17:02 +08:00
Constrat
1bd11a988c fix: remove leading digits in IS encounters for YostarEN
事件名识别错误(傀影)肉鸽
Fixes #13425
2025-07-31 18:00:36 +02:00
Constrat
e3d708f4a9 fix: i18n english key 2025-07-31 17:30:21 +02:00
uye
9b8c1b4e1e chore: 删除 999 2025-07-31 23:26:19 +08:00
uye
97b3f9af38 chore: 彻底卡住时记录截图后尝试放弃 2025-07-31 23:26:18 +08:00
铃语
a04760272b perf: 优化水月肉鸽招募&傀影战斗 (#13344)
* perf: 优化傀影肉鸽招募&战斗

* perf: 优化水月肉鸽招募

* 恢复鸿雪抓取并降低分数,降低假日威龙陈和蕾缪安分数

* 恢复鸿雪抓取并降低分数,降低假日威龙陈和肥鸭分数

* perf: 恢复黑并降低分数

---------

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-07-31 23:05:35 +08:00
github-actions[bot]
64c349b75f chore: Auto Templates Optimization
Triggered by 7e8cc2d137

[skip changelog]
2025-07-31 15:02:09 +00:00
uye
7e8cc2d137 feat: 增加 hp 识别标志 2025-07-31 23:01:35 +08:00
uye
084bc5a6cd chore: 地镇事件选择 2025-07-31 22:49:59 +08:00
uye
fa90157c36 docs: Update CHANGELOG.md 2025-07-31 19:34:18 +08:00
github-actions[bot]
948ad064e3 chore: Auto Templates Optimization
Triggered by fd71f70d22

[skip changelog]
2025-07-31 11:32:58 +00:00
pre-commit-ci[bot]
fd71f70d22 chore: Auto update by pre-commit hooks [skip changelog] 2025-07-31 11:32:35 +00:00
status102
38bf8af185 feat: wpf支持作业版本限制 2025-07-31 19:29:17 +08:00
github-actions[bot]
6c07625302 chore: Auto Update Game Resources - 2025-07-31
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16647720698

[skip changelog]
2025-07-31 11:28:48 +00:00
萨拉托加
2526f1465f feat: 界园肉鸽补充事件选择逻辑 (#13400)
* feat: 界园肉鸽补充事件选择逻辑

补充遗漏的安全角 狭路相逢 命运所指
鲍老板连锁改成跑路
去掉重复的岔路事件

* feat: 修改催债事件逻辑

* fix: 峥嵘战功识别

* feat: 同心事件逻辑

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: wiki上可查的事件逻辑

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 偏安三选项的情况

* fix: 烛堂孤钓不同选项的情况

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 19:27:45 +08:00
travellerse
299990833f fix: 对掉落信息进行排序 与ToolTip保持一致 (#13404)
* fix: 对掉落信息进行排序 与ToolTip保持一致

* fix: 在 wpf 里对掉落信息进行排序
2025-07-31 19:27:29 +08:00
uye
a60d6732f0 perf: 肉鸽节点识别 (#13427)
* perf: 节点统一 hsv

* perf: 普通战斗 hsv

* fix: 部分节点得分过低

* chore: 肉鸽节点不使用 colorWithClose

* chore: 调整安全屋模板

* perf: 优化绿色系识别
2025-07-31 19:21:20 +08:00
uye
b0a53cd5b0 chore: 调整翻译 2025-07-31 18:55:16 +08:00
uye
2fb58192a9 chore: 删除多余注释 2025-07-31 18:52:29 +08:00
uye
2fa1b2158c feat: 添加一键轮换说明 2025-07-31 18:51:08 +08:00
uye
4705cd7078 feat: 统一 TooltipBlock 位置 2025-07-31 18:34:53 +08:00
uye
643f2070c4 feat: 烧水分队不存在时自动替换为当前分队 2025-07-31 15:38:17 +08:00
uye
8b6da9b8bf style: 格式化 2025-07-31 15:37:38 +08:00
uye
d9788dba84 feat: 刷开局模式禁用源石锭达到上限时停止
fix #13420
2025-07-31 15:37:15 +08:00
uye
167ac2d2d5 perf: 优化成就排序与描述 2025-07-31 15:04:24 +08:00
Constrat
a2e8d82562 chore(tools): update ignore templates 2025-07-31 00:48:44 +02:00
uye
3538ab525c fix: ComboBox 的光标颜色不会随主题色变化 2025-07-30 17:45:16 +08:00
uye
810008d84b feat: 调整界面显示效果 2025-07-30 17:16:21 +08:00
uye
59aae8a055 chore: 强制替换 adb 改为使用本地 adb 2025-07-30 16:02:26 +08:00
uye
386264b689 feat: 完整显示注入 maa 的 dll 的路径 2025-07-30 15:51:51 +08:00
uye
fa0f3317f2 feat: 填写错误安装路径时重新弹窗提示 2025-07-30 14:52:56 +08:00
status102
e8798391d4 fix: wpf自动战斗干员模组选择默认值错误 2025-07-30 14:02:33 +08:00
uye
fbdba4a2c6 fix: 修复任务过程中修改剩余理智后导致关卡无法连续执行的问题
fix #13411
2025-07-30 13:27:42 +08:00
uye
4e10ff5a38 fix: 掌灯与引烛 事件识别 2025-07-30 13:20:33 +08:00
uye
85fe148d92 feat: 肉鸽使用助战新增需先填写开局干员的提示 2025-07-30 11:33:45 +08:00
uye
8ee8fc9e6b chore: 删除无用函数 2025-07-30 11:33:45 +08:00
Constrat
65941ee574 fix: typo for BattleStage Sarkaz EN 2025-07-29 18:01:56 +02:00
status102
8ca03b5dd7 fix: 肉鸽通关难度成就解锁判定错误 2025-07-29 22:23:43 +08:00
Constrat
00c9b053b1 docs: update IS for EN 2025-07-29 11:38:43 +02:00
萨拉托加
613da05a40 fix: 狭路相逢善恶同道识别 (#13383) 2025-07-29 11:38:39 +08:00
Weiyou Wang
3cb5318aa4 fix: 修复放弃招募任务链;避战识别不到得偿所愿 (#13395)
* fix: 修复放弃招募任务链

* fix: 怎么还有大小写问题啊

* fix: 划不到点刺

* fix: 肉鸽地图识别加入对界园得偿所愿节点的支持

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-07-29 11:35:18 +08:00
Constrat
acf81e46e5 fix: clang style 2025-07-28 21:57:56 +02:00
uye
e6efc49ddc fix: 无法选中 坚不可摧随心所欲 分队 2025-07-29 01:33:29 +08:00
uye
0078564a06 fix: 死循环 2025-07-29 01:02:59 +08:00
uye
b5c7bde5ac perf: 优化界面显示效果 2025-07-29 00:51:36 +08:00
uye
b8b3f57790 Release v5.21.2 (#13384) 2025-07-28 23:35:24 +08:00
uye
ee73e7609c docs: Update CHANGELOG.md 2025-07-28 23:34:05 +08:00
uye
5ce0a7ea4e docs: 更新文档 2025-07-28 21:50:28 +08:00
uye
a07d3cc7fc chore: 调整等级判断范围 2025-07-28 20:41:05 +08:00
status102
10f2268b1e chore: 加点注释 2025-07-28 20:01:17 +08:00
status102
0c96e22845 perf: 肉鸽满级检查CheckLevelMax增加isAscii=true 2025-07-28 20:01:16 +08:00
uye
17ca363515 feat: mumu 截图增强弹窗增加新版路径提示 2025-07-28 19:40:31 +08:00
uye
76816c4f8e chore: 调整 versionType
[skip changelog]
2025-07-28 18:35:52 +08:00
uye
db114a17b1 fix: 检测更新失败!!!!! 2025-07-28 18:29:02 +08:00
Hao Guan
1b14ff8d9a fix(mac): 修复默认客户端选项 2025-07-28 17:52:19 +08:00
uye
b84ba22c8f chore: 调整透明度笔刷 2025-07-28 17:29:00 +08:00
uye
8ca3df6d5c chore: 连接地址删除按钮居右 2025-07-28 17:28:46 +08:00
uye
bf6be133c5 fix: 字符串写错了 2025-07-28 16:25:49 +08:00
Weiyou Wang
8fcf9e13f7 fix: use HSVCount on JieGarden@Roguelike@StageEmergencyDps (#13380)
* fix: use HSVCount on JieGarden@Roguelike@StageEmergencyDps

* fix: hue 范围应该是0-179?

* fix: use recommended hsv range

* refactor: MaskRangeTool

* fix: 再用一个更好的色彩范围

* fix: 我听学姐的,把白色剔出激活范围

* fix: 只需要这一个就够了
2025-07-28 16:14:08 +08:00
github-actions[bot]
3caa2f8d7c chore: Auto Update Game Resources - 2025-07-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16563759329

[skip changelog]
2025-07-28 08:12:03 +00:00
uye
7937bbcb21 fix: 截图时间过长可能卡在进入下一层后 2025-07-28 15:49:34 +08:00
uye
aeb8ad36a7 chore: 访问 api 时如果本地不存在对应文件则不使用 etag 2025-07-28 14:57:35 +08:00
uye
604879eac1 chore: 日志压缩包打包 cache 文件夹 2025-07-28 14:47:36 +08:00
status102
7419ed762f ci: 文件未上传完成/成功正则追加 2025-07-28 11:29:50 +08:00
status102
c0cc7d119f perf: 自动编队干员属性要求未满足的提示输出等级上调至Error / Warning 2025-07-28 11:01:54 +08:00
萨拉托加
4d615dafd4 fix: 老戏骨非EW开局站位
fix #13376
2025-07-28 10:32:45 +08:00
uye
12fd336f8a feat: 修改文件被占用的解决方案 2025-07-28 01:55:32 +08:00
uye
983a511329 chore: 截图测试漏提示了 2025-07-28 00:15:29 +08:00
uye
3b5ebf8f24 Release v5.21.1 (#13371) 2025-07-27 23:28:37 +08:00
uye
f41174fd43 docs: Update CHANGELOG.md 2025-07-27 23:27:45 +08:00
uye
587c980621 docs: Update CHANGELOG.md 2025-07-27 23:21:46 +08:00
status102
78812d47f2 fix: 移除肉鸽开局选择分队后不应出现的地图检测 2025-07-27 23:16:11 +08:00
uye
b8c4f73da2 fix: 不知道为啥有人会开开局,修修看 2025-07-27 23:03:33 +08:00
uye
48412e2c92 chore: macos uuid 2025-07-27 22:45:41 +08:00
uye
4a68fac639 fix: 奇妙的模拟器卡启动 2025-07-27 22:11:55 +08:00
uye
4739feb8ff feat: 支持 mumu emulator-xxxx 格式地址关闭模拟器 2025-07-27 22:11:55 +08:00
uye
2eed3b87d4 Release v5.21.0 (#13359) 2025-07-27 16:28:39 +08:00
github-actions[bot]
e1caa6ebe8 docs: Auto Update Changelogs of v5.21.0 (#13363)
* docs: Auto Generate Changelog of Release v5.21.0

* docs: changelog

* docs: changelog

* docs: Update CHANGELOG.md

* docs: changelog

* docs: Update CHANGELOG.md

* docs: 米奇妙妙翻译

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-07-27 16:27:28 +08:00
uye
7ca1ed1d4e chore: 全用动态资源 2025-07-27 16:13:08 +08:00
uye
658e141dd5 perf: 公招识别显示使用动态资源 2025-07-27 15:49:41 +08:00
pre-commit-ci[bot]
62bd414ed7 chore: Auto update by pre-commit hooks [skip changelog] 2025-07-27 06:57:32 +00:00
uye
bbe771dc1b fix: 开局招募 2025-07-27 14:54:58 +08:00
uye
68094ee2d9 fix: 商店刷新 2025-07-27 14:49:58 +08:00
uye
2884cdb808 fix: 切换语言时选择材料更新 2025-07-27 12:14:48 +08:00
uye
6c405305b9 feat: 优化主界面显示效果 2025-07-27 11:53:11 +08:00
uye
99befd7582 docs: 更新文档 2025-07-27 11:43:08 +08:00
status102
45eb731d30 perf: 更新日志界面Background前置 2025-07-27 11:39:14 +08:00
status102
37057885b9 perf: 简化长期剿灭任务名 2025-07-27 11:17:27 +08:00
status102
cc21ce7b9b fix: 移除未使用的AnnihilationWarning 2025-07-27 10:58:30 +08:00
status102
2472363b05 fix: 加回来删掉的提示 2025-07-27 10:58:30 +08:00
uye
3169d5826f chore: 关闭自定义剿灭时默认当期剿灭 2025-07-27 10:57:01 +08:00
uye
e14dcc4f48 feat: 添加自定义剿灭关卡勾选框 2025-07-27 10:55:09 +08:00
status102
467b32a324 perf: wpf剿灭关卡选择 2025-07-27 10:45:52 +08:00
status102
f6b019bbff chore: import 2025-07-27 10:18:29 +08:00
status102
b3310992db fix: 肉鸽开局招募状态
漏提交了
2025-07-27 10:14:09 +08:00
github-actions[bot]
5a0c35d4e7 chore: Auto Templates Optimization
Triggered by 950952e16c

[skip changelog]
2025-07-27 01:26:10 +00:00
status102
950952e16c fix: 界园肉鸽结算 2025-07-27 09:25:39 +08:00
uye
53f4cd9ead fix: 事件名错误 2025-07-27 09:19:33 +08:00
Drest
7c2e440b4e feat: 适配长期剿灭 (#13241)
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-07-27 01:28:28 +01:00
pre-commit-ci[bot]
f799924d9b chore: Auto update by pre-commit hooks [skip changelog] 2025-07-26 18:28:44 +00:00
uye
72acbd0ecf fix: 卡招募 卡电弧 2025-07-27 02:26:26 +08:00
uye
dd26bd55ea fix: 投钱 2025-07-27 01:52:09 +08:00
github-actions[bot]
bb5d155b08 chore: Auto Update Game Resources - 2025-07-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16542026013

[skip changelog]
2025-07-26 17:06:25 +00:00
pre-commit-ci[bot]
a7dbfad774 chore: Auto update by pre-commit hooks [skip changelog] 2025-07-27 01:01:39 +08:00
uye
fbc16dc868 chore: 替换 JieGarden StageEncounterOptionUnknown模板图 2025-07-27 01:01:39 +08:00
uye
a93cbdcab6 fix: StageEncounterOptionUnknown 点到源石锭 2025-07-27 01:01:39 +08:00
Weiyou Wang
fe5d34c360 fix: 换用strategyChange 2025-07-27 01:01:39 +08:00
uye
ee7ca9cd22 feat: 进出洞 2025-07-27 01:01:39 +08:00
uye
1380ae172f fix: 饕餮廊事件识别错误 2025-07-27 01:01:39 +08:00
Weiyou Wang
671d72c5bc fix: 我就不明白了,为什么之前主题没有暴露出来问题? 2025-07-27 01:01:39 +08:00
Weiyou Wang
23b06335d7 fix: 我的问题 2025-07-27 01:01:39 +08:00
Weiyou Wang
7981c87b0c fix: 尝试修复卡进场 2025-07-27 01:01:39 +08:00
uye
77a7dbf6c0 chore: 护鸭金刚 选项 2025-07-27 01:01:39 +08:00
uye
676716494d Revert "feat: 界园屏蔽进二层"
This reverts commit 73ebf6f532a3634fd210d1b5b859255b36d6e35d.
2025-07-27 01:01:39 +08:00
uye
36ceaa34e8 chore: 多余的 ocrReplace 2025-07-27 01:01:39 +08:00
uye
7b1e14214a feat: ocr 任务暴露灰度阈值接口 2025-07-27 01:01:39 +08:00
uye
5a480f80e1 fix: 血量识别 2025-07-27 01:01:39 +08:00
Weiyou Wang
0ddf11c357 fix: 尝试修复 investment_with_more_score 2025-07-27 01:01:39 +08:00
uye
d39e342b3b feat: 添加选项 fallback 2025-07-27 01:01:39 +08:00
uye
14479cbee8 fix: 怎么多了个票卷生命值位置都变了 2025-07-27 01:01:39 +08:00
uye
7b00ccc9d3 feat: ui 添加刷等级入口 2025-07-27 01:01:39 +08:00
uye
549f5d19b5 fix: 无法点击树洞 2025-07-27 01:01:39 +08:00
uye
6d45acf7fb fix: 事件选择 2025-07-27 01:01:39 +08:00
uye
2b9dd49634 ci: 怎么报错了
[skip changelog]
2025-07-27 01:01:39 +08:00
uye
38cfee1437 feat: 界园屏蔽进二层 2025-07-27 01:01:39 +08:00
uye
86c00934d8 perf: 优化肉鸽难度选择逻辑 2025-07-27 01:01:39 +08:00
uye
0c1edc9626 feat: 增加快速刷钱时路线全是战斗的回调 2025-07-27 01:01:39 +08:00
uye
f49687fc1c fix: 卡退出战斗 2025-07-27 01:01:39 +08:00
uye
711ce7179d fix: 卡招募(? 2025-07-27 01:01:39 +08:00
uye
f161d855a4 chore: 防止没进 StrategyChange 的情况 2025-07-27 01:01:39 +08:00
uye
cd73d929fd fix: 截图保存报错 2025-07-27 01:01:39 +08:00
pre-commit-ci[bot]
c18dfa0335 chore: Auto update by pre-commit hooks [skip changelog] 2025-07-27 01:01:39 +08:00
Weiyou Wang
2fbf3cc669 fix: 修修补补 2025-07-27 01:01:39 +08:00
Weiyou Wang
b4c8a6e1fb feat: 先复制一下之前的导航代码,能跑就行;以后再重构 2025-07-27 01:01:39 +08:00
Weiyou Wang
0f5ff16afe feat: 补充相关任务链 2025-07-27 01:01:39 +08:00
Weiyou Wang
8f215d1f5f feat: fast investment for JieGarden 2025-07-27 01:01:39 +08:00
Weiyou Wang
6cf152a151 feat: update map 2025-07-27 01:01:39 +08:00
Weiyou Wang
c0846a26cc fix: 修复换层后 StrategyChange 功能 2025-07-27 01:01:39 +08:00
Weiyou Wang
9b61fd611e fix: 修复换层识别 roi 2025-07-27 01:01:39 +08:00
Weiyou Wang
1c10a7b1ff feat: node templates 2025-07-27 01:01:39 +08:00
Weiyou Wang
0a7d51dcfb feat: skip recruitment 2025-07-27 01:01:39 +08:00
Weiyou Wang
fd91aebd42 feat: add new routing strategy -- FastInvestment_JieGarden 2025-07-27 01:01:39 +08:00
Weiyou Wang
37e1477948 refactor: polish code 2025-07-27 01:01:39 +08:00
status102
f443ce6580 perf: 肉鸽指定干员开局招募进入干员选择页状态监测追加首次进入的指导的监测 2025-07-27 00:08:36 +08:00
uye
4a9f39137c fix: 无法连接主站时无法通过备站更新
fix #13355
2025-07-26 23:57:29 +08:00
github-actions[bot]
903d7140f1 chore: Auto Update Game Resources - 2025-07-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16535361549

[skip changelog]
2025-07-26 02:59:25 +00:00
status102
f3448ff13c refactor: 肉鸽局内外招募流程拆分 (#13342)
* rft: 界园主题初始实现

* perf: 优化core_char, 移除反复擦写

* perf: 简化任务链, 移除RecruitMain的StartExplore前缀

* rft: 其余肉鸽适配

* fix: 修改不稳定生效的任务计数联动

* fix: 开局干员招募未点进
2025-07-26 10:29:40 +08:00
status102
86aced1930 feat: 界园肉鸽开始探索CD任务ocr追加 2025-07-25 23:35:49 +08:00
status102
9e9005099c fix: 肉鸽招募任务计数未能正确归0
助战招募可能不流经

fix #13320

Roguelike@RecruitWithoutButton
2025-07-25 23:35:30 +08:00
uye
55f03641aa fix: uuid 与 version 返回错误格式时崩溃
fix #13351
2025-07-25 21:20:29 +08:00
Sakurapainting
ed5a5327f9 feat: 禁用弹出成就气泡 (#13345)
* feat: 新增禁用自动弹出成就气泡勾选框设置

* feat: 适配jp, kr, trad-cn 语言(#13315)

* fix: suggested changes

* feat: 新增“成就气泡弹出后一段时间消失”设置勾选框

* feat: 适配本地化语言en jp kr trad-cn

* i18n: EN

* fix: rebase

* feat: 禁用弹出气泡时不等待解锁延迟

* feat: 调整键名、布局

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-07-25 17:59:44 +08:00
uye
2eb5f55f9f feat: 添加开机自启与系统通知相关注册表提示 2025-07-25 15:39:41 +08:00
uye
546e02f713 feat: 调整更新提示 2025-07-25 15:12:11 +08:00
uye
0a60709ea1 style: format 2025-07-25 14:29:19 +08:00
uye
523d2d0de3 chore: 仓库识别全局缓存,去除开方运算 2025-07-25 10:23:18 +08:00
uye
8732cbc131 feat: 扩大公告高度,更容易滑到底(了吗?)
[skip changelog]
2025-07-25 00:50:15 +08:00
uye
6e59f0cc83 feat: 扩大公告宽度,更容易滑到底(了吗?) 2025-07-25 00:46:36 +08:00
黄京
d90ed6d198 fix: YostarJP rogue OCR tweak for Mushikazu no Taki (#13346) 2025-07-24 23:01:30 +08:00
uye
2c997233f4 feat: 公招识别结果根据当前潜能排序 2025-07-24 22:12:58 +08:00
uye
86203e1292 fix: 公招识别按钮超出界面范围 2025-07-24 19:59:19 +08:00
uye
845ca36f5b refactor: 重构仓库识别逻辑,大幅提高识别速度 2025-07-24 18:26:26 +08:00
status102
663a5beeae chore: style
[skip changelog]
2025-07-24 16:21:15 +08:00
status102
e926beb206 fix: SA1136, SA1133 file header 2025-07-24 16:21:15 +08:00
status102
edda79aa6d perf: PerformanceUseGpu 读取替换 2025-07-24 16:21:14 +08:00
status102
e712053603 chore: SA1122 Use string.Empty for empty strings 2025-07-24 16:21:14 +08:00
uye
98e0bb6d1d fix: 分支条件判断错误 2025-07-24 16:14:59 +08:00
Sakurapainting
ff553f7c36 feat: 成就通知自动关闭选项
代替右键清空

link to #13343, #13323, #13345
2025-07-24 11:27:10 +08:00
SherkeyXD
91d6cdb099 ci: add ghtoken for codeql delete cache 2025-07-24 09:33:08 +08:00
uye
9a20625f07 fix: 仓库识别 x万 识别
糊屎
2025-07-24 02:39:13 +08:00
uye
8d19836739 feat: 调整界面描述 2025-07-23 19:37:31 +08:00
uye
05fddebb9c fix: 嵌套翻译 2025-07-23 19:07:42 +08:00
uye
30f582e908 feat: 公招结果支持彩色显示
fix #12458
2025-07-23 18:42:27 +08:00
uye
3d026d1b59 fix: 公开招募前三个槽均未招募时不会查看第四个槽
fix #12766
2025-07-23 16:34:14 +08:00
status102
0b4db32b53 i18n: wpf干员统一使用指定字符串资源 (#13333)
* i18n: wpf`干员`统一使用指定字符串资源

* i18n: EN

* i18n: JP

* i18n: KR

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-07-23 09:23:46 +08:00
github-actions[bot]
4e65ce5635 chore: Auto Templates Optimization
Triggered by 5586c00385

[skip changelog]
2025-07-22 18:52:44 +00:00
uye
5586c00385 fix: 勾选框状态错误显示 2025-07-23 01:14:57 +08:00
HY
937e3777f4 chore: 更新繁中服部分幹員 ocr + 補充截圖 (#13338)
* chore: 更新繁中服部分幹員 ocr + 補充截圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-22 23:15:36 +08:00
HY
21a06e9011 chore: 繁中服「追跡日落以西」活動導航 (#13336) 2025-07-22 23:14:46 +08:00
Constrat
7f905d4e61 ci: delete stale cache for codeql (#13335) 2025-07-22 14:16:07 +02:00
github-actions[bot]
e85813902d chore: Auto Update Game Resources - 2025-07-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16439905362

[skip changelog]
2025-07-22 09:11:34 +00:00
status102
bc15d09557 chore: vs code jsonc 2025-07-22 16:51:45 +08:00
status102
4703656bf8 fix: 移除 investment_enter_second_floor 支持 2025-07-22 16:19:55 +08:00
status102
0508d56c78 perf: wpf不再允许通过Gui直接启用允许使用不推荐的GPU选项 2025-07-22 16:16:58 +08:00
uye
885ddc7b39 feat: 标题栏显示版本改为 ui 版本 2025-07-22 14:04:53 +08:00
MistEO
5c5867c2c0 chore: make GUI UserAgent simple 2025-07-22 10:16:10 +08:00
uye
6747c35e8b style: 格式化
[skip changelog]
2025-07-21 23:02:13 +08:00
uye
dbdb98a514 chore: warning CS8625: Cannot convert null literal to non-nullable reference type.
[skip changelog]
2025-07-21 22:58:30 +08:00
uye
af9507e373 chore: warning CS8602: Dereference of a possibly null reference.
[skip changelog]
2025-07-21 22:58:07 +08:00
uye
a36060125e chore: warning CS8601: Possible null reference assignment.
[skip changelog]
2025-07-21 22:56:46 +08:00
uye
1081d3e6e8 chore: warning CS8604: Possible null reference argument for parameter 'name' in 'bool TaskQueueViewModel.IsStageOpen(string name)'.
[skip changelog]
2025-07-21 22:53:50 +08:00
uye
03842af13d chore: warning CS8618: Non-nullable field '_connectedAddress' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
[skip changelog]
2025-07-21 22:51:30 +08:00
uye
4f518b6e52 chore: warning CS8604: Possible null reference argument for parameter 'name' in 'bool TaskQueueViewModel.IsStageOpen(string name)'.
[skip changelog]
2025-07-21 22:50:51 +08:00
uye
e7a273e9c8 perf: 优化客户端切换逻辑,官服B服切换无需重载 2025-07-21 22:41:53 +08:00
uye
e4bee97168 feat: 调整 gpu 提示 2025-07-21 20:30:10 +08:00
travellerse
782371d2ca perf: 添加自动编队选项 忽略干员属性要求 (#13250)
* perf: 添加自动编队选项 支持模组不满足时选择默认模组

* refactor: 修改“模组不满足时选择默认模组”为“跳过未满足的干员属性要求”

* rft: 忽略干员属性要求

* i18n: KR

* i18n: EN

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-07-21 20:16:07 +08:00
Manicsteiner
96b1c05ca0 fix(ci): fix AppImage build toolkit (#13324) 2025-07-21 13:49:21 +02:00
status102
46bb00b8e9 perf: range::copy替换 2025-07-21 19:07:04 +08:00
uye
6f38008240 feat: 置顶按钮鼠标悬浮背景色 2025-07-21 16:18:59 +08:00
github-actions[bot]
51fe97b5ac chore: Auto Templates Optimization
Triggered by 3be1dda845

[skip changelog]
2025-07-21 07:27:17 +00:00
uye
3be1dda845 fix: 萨卡兹肉鸽结算页识别错误 2025-07-21 15:26:51 +08:00
HX3N
b703b95048 fix: YostarKR InfrastReward ocrReplace
prevent max trust and trust gain mixing
2025-07-21 14:27:45 +09:00
uye
2fea17d261 refactor: 替换表合并使用 insert,保证顺序并提升可读性 2025-07-21 12:47:19 +08:00
status102
c21d15dde6 fix: 移除MaaCore的StartUp任务的client_type空值支持 (#13318)
* fix: 移除MaaCore的StartUp任务的client_type空值支持

* i18n: KR

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-07-21 11:03:35 +08:00
status102
2f48781396 fix: 使用理智药时恢复理智Ocr包含意外字符
fix #13316

180 o成 1.80 了
2025-07-21 10:55:27 +08:00
uye
4f775a04fd chore: 添加 gpu 日志 2025-07-21 01:14:08 +08:00
uye
699273b08a chore: 添加 Tencent EdgeOne 备用 CDN 2025-07-21 00:18:38 +08:00
status102
460253d5d3 fix: wpf TaskApi加载cache时缓存文件不存在 2025-07-21 00:15:05 +08:00
uye
9ee0aabf7b feat: 查看公告按钮添加检查时禁用 2025-07-20 22:45:47 +08:00
uye
f5301595cc feat: 调整模拟器分辨率不支持的描述 2025-07-20 22:24:09 +08:00
uye
86accdee86 feat: 移除肉鸽默认分队与默认职业组 2025-07-20 20:46:10 +08:00
Constrat
9a5b5fdc8d fix: missing OR-5 in main repository 2025-07-20 13:38:50 +02:00
status102
60630a8435 chore: 肉鸽加点注释 2025-07-20 10:25:11 +08:00
status102
ce088d8ee4 perf: MirrocCdk复制按钮接缝美化 2025-07-20 10:06:37 +08:00
status102
065bd3dde0 chore: 简中繁中截图耗时过长提示增加截图增强提醒 (#13309)
* chore: 简中繁中截图耗时过长提示增加截图增强提醒

* i18n: try

* i18n: JP translate

* i18n: EN

* i18n: missing EN translations

* i18n: KR

---------

Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-07-20 09:33:13 +08:00
uye
410c81c36c perf: 优化资源损坏弹窗描述,提供解决方案 2025-07-19 23:06:13 +08:00
Constrat
1bd416dcce docs: EN issue simplification 2025-07-19 12:30:12 +02:00
status102
517886234e chore: CN issue模板简化及Bot优化 (#13297)
* ci: 未阅读须知issue将添加low-quality-report并不再锁定

* chore: 简化CN issue模板
2025-07-19 15:54:31 +08:00
uye
7208f1b352 fix: 水月肉鸽卡商店刷新 2025-07-19 13:24:35 +08:00
uye
ab85561833 perf: 雷电注册表优先使用原版路径 2025-07-19 12:54:24 +08:00
uye
1c6ec1b47e chore: 添加请求耗时记录 2025-07-19 12:29:02 +08:00
uye
257d1c02b0 feat: cdk 边框圆角 2025-07-19 10:50:54 +08:00
uye
036be03459 feat: 新增是否启动客户端勾选框 2025-07-19 10:48:53 +08:00
status102
4974ab6535 refactor: 长草任务序列化重构已完成部分合并 (#13275)
* refactor: 长草任务序列化重构已完成部分打样

* perf: 计时

* perf: is int
2025-07-19 10:08:00 +08:00
uye
c3f1068edf fix: 更新日志与公告滚动条过于贴近窗口边缘
fix #13295
2025-07-19 09:52:48 +08:00
MistEO
6a4ade5093 Release v5.20.0 (#13290) 2025-07-19 00:26:34 +08:00
github-actions[bot]
0ef1501a53 docs: Auto Update Changelogs of v5.20.0 (#13291)
* docs: Auto Generate Changelog of Release v5.20.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* feat: changelog

* feat: 更新 CHANGELOG.md

* fix: 更新 CHANGELOG.md

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-07-19 00:26:21 +08:00
uye
ae744d05c8 feat: PreSelectThemeSwipeToTheRight 添加 reduceOtherTimes 2025-07-19 00:15:51 +08:00
github-actions[bot]
be8eaa57c7 chore: Auto Update Game Resources - 2025-07-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16375174287

[skip changelog]
2025-07-18 16:10:33 +00:00
uye
1f7d83e5c4 feat: PreSelectThemeSwipeToLeft #self 2025-07-19 00:08:06 +08:00
uye
7b7875fa24 feat: PreSelectThemeSwipeToLeft 2025-07-19 00:05:50 +08:00
Lemon-miaow
00fa73551c fix: 肉鸽导航 (#13293) 2025-07-18 23:51:21 +08:00
uye
144ab609c5 feat: 临时屏蔽界园中除投资外的策略选项 2025-07-18 23:20:31 +08:00
MistEO
55f6620e0f chore: 整理一下刚糊的ua 2025-07-18 23:11:49 +08:00
MistEO
f6de7f4298 feat: Wpf UserAgent with UiVersion 2025-07-18 23:03:09 +08:00
status102
6a706c6f8a fix: 烧水仅精二在萨米主题被短路启动 2025-07-18 19:59:22 +08:00
status102
4ffc987f07 fix: 切换肉鸽主题时, 烧水奖励选择丢失 2025-07-18 19:21:12 +08:00
Constrat
7abc4086b0 fix. YostarEN OR navigation fix 2025-07-18 12:23:32 +02:00
Constrat
fb241c5cb9 chore: yostaren prepare leizi for alter 2025-07-18 11:59:43 +02:00
uye
28d9cf2a52 Release v5.20.0-beta.3 (#13274) 2025-07-18 17:35:28 +08:00
uye
b4479a2e4f feat: 添加 idle 状态切换记录 2025-07-18 17:32:54 +08:00
uye
02e5c3c9b7 fix: RunningState 无法记录日志 2025-07-18 17:32:54 +08:00
github-actions[bot]
ce9e0cfd04 chore: Auto Update Game Resources - 2025-07-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16367222337

[skip changelog]
2025-07-18 09:32:17 +00:00
MistEO
b42d7d7d17 docs: Update CHANGELOG.md 2025-07-18 17:21:52 +08:00
uye
3273f7ec7a docs: 更新肉鸽文档 2025-07-18 17:03:54 +08:00
github-actions[bot]
991474debd docs: Auto Update Changelogs of v5.20.0-beta.3 (#13283)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-07-18 16:55:05 +08:00
github-actions[bot]
cde48162ea chore: Auto Update Game Resources - 2025-07-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16366041667

[skip changelog]
2025-07-18 08:33:00 +00:00
uye
a63e637b55 fix: 手动改时间或睡眠跨日后关卡列表与提示未更新 2025-07-18 16:21:23 +08:00
uye
95d2eb374d chore: 界园肉鸽没有二希望开(?)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 16:09:33 +08:00
Manicsteiner
d1cedf57ad chore: YostarJP ocr edits (#13276) 2025-07-18 15:38:23 +08:00
Loong
e0641d165d chore: bump maa-cli to 0.5.7 (#13278) 2025-07-18 15:32:26 +08:00
status102
2d88e43139 perf: 优化加载顺序, 简化StageManager变量 (#13277) 2025-07-18 13:53:07 +08:00
uye
265aca3724 fix: v5.20.0-beta.2.d037 重启后概率闪退 2025-07-18 12:21:13 +08:00
status102
864f824d7b refactor: 肉鸽烧水参数rename
漏了漏了.jpg
2025-07-18 10:49:16 +08:00
status102
ea247333d0 refactor: 肉鸽开局奖励选择 2025-07-18 10:22:41 +08:00
status102
6f29ca0d8f perf: 肉鸽任务参数初始化简化 2025-07-18 10:22:41 +08:00
status102
83dd7b5914 fix: 刷理智代理倍率移除1000适配 2025-07-18 10:22:19 +08:00
Constrat
3a763fb12b fix: YostarEN OR navigation 2025-07-17 19:48:32 +02:00
github-actions[bot]
d0eedc7faf chore: Auto Update Game Resources - 2025-07-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16351416825

[skip changelog]
2025-07-17 17:08:30 +00:00
status102
b01cfaf9c4 refactor: TaskSettingVisibilityInfo.Current -> Instance 2025-07-17 23:41:10 +08:00
uye
f4864c7e5e style: format
[skip changelog]
2025-07-17 22:01:42 +08:00
Constrat
05387bf915 fix: YostarEN Eye for an Eye Sarkaz Encounter 2025-07-17 15:56:40 +02:00
HX3N
b3a3d88b1d fix: YostarKR 以血还血 ocr tweak
prevent mixing 以血还血 and 魂灵见闻:以血还血
2025-07-17 22:43:48 +09:00
SherkeyXD
fec780e3d8 fix: 尝试修复点击过头导致选到月度小队 2025-07-17 20:35:03 +08:00
SherkeyXD
ab92d12108 chore: 不期而遇子事件可读性优化 2025-07-17 20:24:06 +08:00
Constrat
8cfe4fd626 fix: yostaren sarkaz encouter ocr tweaks 2025-07-17 14:05:54 +02:00
uye
fb188b51a2 feat: 肉鸽支持多级事件选择 2025-07-17 20:00:27 +08:00
HX3N
0ec9573bef chore: YostarKR OR ocr edits 2025-07-17 18:20:50 +09:00
uye
404d11aad4 perf: 先筛选未进驻再清空队列
fix #13263
2025-07-17 16:57:16 +08:00
uye
4c4b24e573 fix: 缺 dll 和 resource 的时候没弹喜报 2025-07-17 16:11:34 +08:00
uye
f8077d6084 chore: 优化日志输出 2025-07-17 16:11:33 +08:00
github-actions[bot]
9b9dc35580 chore: Auto Update Game Resources - 2025-07-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16338983667

[skip changelog]
2025-07-17 07:31:00 +00:00
uye
927def4ed3 fix: 勾选「反转主任务右键单击效果」时,半选主任务在重启后无法还原选中状态 2025-07-17 12:45:47 +08:00
uye
0d5d03d580 fix: 最小化会在桌角留下一个小窗口 2025-07-17 12:20:24 +08:00
萨拉托加
f0219dc7a6 perf: 调整干员罗比菈塔在肉鸽使用的技能 2025-07-17 12:13:48 +08:00
uye
a538ed2291 fix: 勾选启动后直接最小化后无法拖动窗口 2025-07-17 12:09:30 +08:00
DavidWang19
54cf5ae7d6 perf: 界园肉鸽中停止招募锡人 2025-07-17 04:12:44 +01:00
DavidWang19
2b7f5f5e60 fix: 更新关卡ocr替换 2025-07-17 03:32:29 +01:00
萨拉托加
913aad2d6b feat: 界园肉鸽部分关卡自动战斗逻辑 (#13219) 2025-07-17 03:19:41 +01:00
Lemon-miaow
7078f1b8a1 fix: 肉鸽导航无法选择傀影肉鸽 (#13255) 2025-07-17 03:13:23 +01:00
github-actions[bot]
f2b34b29a3 chore: Auto Templates Optimization
Triggered by 29d66dc202

[skip changelog]
2025-07-17 01:58:10 +00:00
DavidWang19
29d66dc202 fix: 修复在得偿所愿或其他位置选择投钱后卡住的问题 2025-07-17 02:47:27 +01:00
DavidWang19
c901ba43c8 fix: 修复检测不到next的问题 2025-07-17 01:51:23 +01:00
github-actions[bot]
0273f1a940 chore: Auto Templates Optimization
Triggered by c52d6d66ce

[skip changelog]
2025-07-17 00:31:48 +00:00
DavidWang19
c52d6d66ce perf: 优化界园不期而遇默认逻辑 2025-07-17 01:31:17 +01:00
DavidWang19
e35512bd9d perf: 优化指点迷津节点task的复用 2025-07-17 01:25:29 +01:00
status102
64bcc201ee chore: 长草任务当前选中index 2025-07-17 08:10:27 +08:00
status102
319e384239 feat: 新Config任务参数读写, 界面刷新, 任务添改base 2025-07-17 08:10:26 +08:00
status102
1a41b53a49 feat: 新的添加任务 2025-07-17 08:10:26 +08:00
status102
08997048e0 chore: 重构部分预载 2025-07-17 08:10:26 +08:00
status102
210fb23e57 fix: typo 2025-07-17 08:10:05 +08:00
DavidWang19
4e2afb23e2 fix: 调整指点迷津节点阈值 2025-07-17 00:26:59 +01:00
Hao Guan
9e9fa712ef feat(mac): 添加界园入口 2025-07-17 03:41:20 +08:00
github-actions[bot]
6819e05642 chore: Auto Update Game Resources - 2025-07-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16328097180

[skip changelog]
2025-07-16 19:07:51 +00:00
MistEO
9559659d15 Release v5.20.0-beta.2 (#13251)
本次发版只进界园肉鸽问题修复,保证刷钱可用
新功能下次再进
2025-07-17 01:24:35 +08:00
DavidWang19
a8704bb862 docs: 更新changelog 2025-07-16 18:21:56 +01:00
DavidWang19
e00b601f12 fix: 去掉界园没有的刷2希望开局 2025-07-16 18:18:37 +01:00
github-actions[bot]
c0516089db docs: Auto Update Changelogs of v5.20.0-beta.2 (#13253)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-07-17 00:23:49 +08:00
SherkeyXD
8a751e4a2e feat: 刷开局wpf仅显示当前主题可用选项 2025-07-17 00:02:31 +08:00
SherkeyXD
6821899c84 chore: 刷开局保证传给core的只有本主题可用内容 2025-07-17 00:02:31 +08:00
pre-commit-ci[bot]
dd08f96419 chore: Auto update by pre-commit hooks [skip changelog] 2025-07-17 00:02:31 +08:00
SherkeyXD
53a7deff9a feat: 界园肉鸽烧水支持票券 2025-07-17 00:02:31 +08:00
Rbqwow
74bb69b69d docs: 修复 readme logo
谁偷偷升依赖了?!
2025-07-16 23:02:29 +08:00
SherkeyXD
f5a747527e fix: 修复wpf主题检测错误 2025-07-16 22:53:49 +08:00
SherkeyXD
5aa369cdad chore: 刷开局精二仅为水月和萨米显示 2025-07-16 22:36:38 +08:00
SherkeyXD
5bc90917a6 chore: 移除未被使用的wpf文本 2025-07-16 22:21:24 +08:00
DavidWang19
232367afca chore: 删除界园多余的模板图和task 2025-07-16 14:59:16 +01:00
DavidWang19
87dd61b269 fix: 修复界园主题选择问题 2025-07-16 14:47:37 +01:00
Constrat
81e9bfa848 i18n: EN IS5 squads 2025-07-16 15:43:59 +02:00
uye
627ffed461 fix: 卡得偿所愿 2025-07-16 21:39:18 +08:00
github-actions[bot]
6721a575e7 chore: Auto Templates Optimization
Triggered by 13c7d43920

[skip changelog]
2025-07-16 13:16:27 +00:00
DavidWang19
13c7d43920 fix: 更新退出事件模板图 2025-07-16 14:14:32 +01:00
DavidWang19
dbd9f16627 docs: 还漏了两个 2025-07-16 13:55:46 +01:00
status102
7037991d56 chore: style
[skip changelog]
2025-07-16 20:11:37 +08:00
SherkeyXD
45465d8ad2 docs: 还漏了一个 2025-07-16 20:07:31 +08:00
SherkeyXD
aa07356b07 docs: 还有一只.png 2025-07-16 20:05:14 +08:00
SherkeyXD
e0b2b580b7 docs: 有猪.jpg 2025-07-16 19:52:13 +08:00
MistEO
35b060bb7a Release v5.20.0-beta.1 (#13217) 2025-07-16 19:49:03 +08:00
status102
d267bbc213 docs: changelog 2025-07-16 19:47:09 +08:00
SherkeyXD
bb7a03e1e9 docs: update changelog 2025-07-16 19:40:54 +08:00
github-actions[bot]
46c6392b82 docs: Auto Update Changelogs of v5.20.0-beta.1 (#13244)
* docs: Auto Generate Changelog of Release v5.20.0-beta.1

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-07-16 19:25:33 +08:00
HYY
3e374232f2 feat: 适配部分已知的不期而遇 (#13233)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-07-16 19:21:31 +08:00
status102
59b6a4050a fix: 刷理智界面设计器error 2025-07-16 18:20:19 +08:00
萨拉托加
116b953085 feat: 界园肉鸽二层作战逻辑 2025-07-16 17:30:36 +08:00
status102
3c85e0b745 refactor: 启动时成就打包 (#13221) 2025-07-16 17:27:43 +08:00
status102
008b194cee perf: 干员因模组不可选中时, 加个输出 (#13230)
* perf: 干员因模组不可选中时, 加个输出

临时措施,总感觉还要改

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-16 17:08:29 +08:00
uye
4e1d5982b1 chore: 调整肉鸽日志颜色 2025-07-16 16:18:36 +08:00
uye
d222a6df83 chore: 调整投资描述 2025-07-16 15:48:02 +08:00
SherkeyXD
7f3cac14bc rft: 移动所有主题的模板图 2025-07-16 15:34:35 +08:00
SherkeyXD
ef600c09c9 rft: 移动遗漏的肉鸽模板图 2025-07-16 15:34:35 +08:00
github-actions[bot]
688d036b34 chore: Auto Templates Optimization
Triggered by aa948748e9

[skip changelog]
2025-07-16 07:31:13 +00:00
uye
aa948748e9 fix: 新版肉鸽商店刷新 2025-07-16 15:30:20 +08:00
status102
40981a8063 refactor(wpf): 基建任务枚举引用路径统一, 修复设计器error 2025-07-16 15:18:32 +08:00
MistEO
f3c491c01b ci(fix): gh pages deploy condition 2025-07-16 15:13:45 +08:00
status102
b5753af639 fix: 移除ClientType未选择, 统一变更为官服 (#13220)
* fix: 移除ClientType未选择, 统一变更为官服

* chore: ver
2025-07-16 15:10:43 +08:00
SherkeyXD
4d780df455 chore(deps): bump dependencies (#13121) 2025-07-16 14:58:35 +08:00
HX3N
c71fd90868 i18n: KR JieGarden translation 2025-07-16 14:54:51 +09:00
github-actions[bot]
0db63172c6 chore: Auto Update Game Resources - 2025-07-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16309292348

[skip changelog]
2025-07-16 03:01:13 +00:00
DavidWang19
295782cfb8 feat: 初步适配界园肉鸽并初步实现存钱 (#13183)
* feat: 初步适配界园肉鸽并初步实现存钱

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: 不留 <weinibuliu@outlook.com>
Co-authored-by: HYY <95246895+HYY1116@users.noreply.github.com>
Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-07-16 03:20:33 +01:00
Huaxi Pan
ccc1dd65cc perf: 改进水月肉鸽干员部署逻辑 (#12671)
* feat: 更新水月肉鸽中维什戴尔的使用逻辑

* feat: 基本更新了维什戴尔在水月肉鸽中的使用逻辑

* fix: 修复recruitment 中蕾缪安划分错误

* feat: 优化了大君遗脉中开局漏怪的问题

* feat: 优化了精酿杀手关卡中开局漏怪的问题

* feat: 优化了瞻前顾后关卡中地面干员的位置

* feat: 优化了机械之灾中常态阻挡数不足的问题

* feat: 优化在铳与秩序关卡中维什戴尔容易被炮手炸死的问题

* feat: 删除了在"好梦在何方.json"中的对于蕾缪安的冗余逻辑, 将维什戴尔的放置时机后置避免开局漏怪

* perf: 修改高台C招募优先级

* feat: 后置"共生"中维什戴尔的放置时机, 避免开局漏怪

* feat: 补充了维什戴尔在"病症"中的使用逻辑

* feat: 优化了"机械之灾"中特殊情况下无常态阻挡的问题

* feat: 优化了"互助"关卡中部署在某些位置会导致MAA无法开启技能的问题

* feat: 前置在"瞻前顾后"中维什戴尔的部署时机, 避免盾前堆怪

* feat: 补充维什戴尔在"地下天途中的使用逻辑"

* feat: 补充维什戴尔在"回溯"中的使用逻辑

* fix: 修复了维什戴尔在"巢穴"中部署位置错误的问题

* feat: 优化了"海窟沙暴"中开局容易漏怪的问题

* feat: 删去海窟沙暴中的冗余语句, 再解决一下开局漏怪的问题

* feat: 优化了"分离与统一"中干员部署在某些位置导致无法开启技能的问题

* feat: 更新"大群所向"中的部署逻辑, 调整伊内丝的使用方式

* feat: 优化"大群所向"中输出时间不足的问题

---------

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-07-16 09:56:07 +08:00
MistEO
a541da064a ci: deploy website to GitHub Pages (#13207) 2025-07-15 17:39:03 +08:00
github-actions[bot]
a2de7ac376 chore: Auto Templates Optimization
Triggered by 8cff328e92

[skip changelog]
2025-07-15 09:34:47 +00:00
github-actions[bot]
8cff328e92 chore: Auto Update Game Resources - 2025-07-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16289549499

[skip changelog]
2025-07-15 09:34:17 +00:00
uye
7c2072ee1f style: 格式化
[skip changelog]
2025-07-15 17:14:42 +08:00
uye
8052b16ca1 fix: ComboBox 剪贴板异常 2025-07-15 16:56:48 +08:00
uye
10765dfddb chore: 调整肉鸽日志颜色 2025-07-15 11:56:31 +08:00
uye
13fc438a62 fix: 公告及更新日志背景颜色异常 2025-07-15 10:55:12 +08:00
github-actions[bot]
0b7f8186ed chore: Auto Update Game Resources - 2025-07-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16276743684

[skip changelog]
2025-07-14 20:08:40 +00:00
uye
e57df86a00 Release v5.19.0-beta.1 (#13204) 2025-07-15 01:45:34 +08:00
uye
878100ef1b docs: 更新 CHANGELOG.md 2025-07-15 01:37:13 +08:00
uye
64d92dc3b3 Release v5.18.0-beta.1 (#13200) 2025-07-15 01:07:48 +08:00
github-actions[bot]
ec5c0afa29 docs: Auto Update Changelogs of v5.18.0-beta.1 (#13201)
docs: Auto Generate Changelog of Release v5.18.0-beta.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-15 01:03:24 +08:00
Lemon-miaow
2b0109127f feat: 优化会客室线索处理逻辑 (#13160)
* feat: 优化会客室线索处理逻辑

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-15 00:57:05 +08:00
uye
462bf51dce feat: 官网添加非当前电脑构架提示 2025-07-14 22:20:58 +08:00
uye
bf0943066a chore: 抽离 ToolTip 创建方法,统一 ToolTip 格式 2025-07-14 18:41:24 +08:00
uye
0153486afb chore: 日志栏使用 TooltipBlock 2025-07-14 17:51:57 +08:00
uye
c8e8b3949e chore: TooltipBlock 支持显示 svg 2025-07-14 16:54:20 +08:00
uye
6eda663bcf fix: TooltipBlock 无法使用 binding 2025-07-14 16:32:49 +08:00
HX3N
ef0864c084 chore: YostarKR SS@Store@CheckUnlimited.png 2025-07-14 10:50:51 +09:00
Constrat
12b8f46bd8 fix: optimize templates run
[skip changelog]
2025-07-13 16:14:08 +02:00
Constrat
ab0c9eb5bd chore: manual resource updater 2025-07-13 16:09:08 +02:00
status102
d2ff015c1c fix: 肉鸽, 生息演算 calcBinding枚举修复 2025-07-13 21:53:55 +08:00
Constrat
5bb12ce6e8 ci: manual optimize templates 2025-07-13 12:59:55 +02:00
Constrat
5135028df4 chore: YostarEN SS@Store@CheckUnlimited.png 2025-07-13 12:59:17 +02:00
Manicsteiner
1728a2bd8f chore: YostarJP SS_Store_CheckUnlimited (#13192)
* chore: YostarJP SS_Store_CheckUnlimited

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-13 18:59:06 +08:00
Constrat
263f6edd05 fix: style in json
[skip changelog]
2025-07-13 12:48:40 +02:00
eneen
c4fd6449fc perf: 添加萨卡兹肉鸽 机动队 溃乱魔典 盲盒广场 关卡策略 (#12636) 2025-07-13 17:46:42 +08:00
uye
5fa5b97399 fix: 商店功能错误购买商品
fix #13191
2025-07-13 17:40:23 +08:00
uye
b6896898ec chore: 移除导航 filters 2025-07-13 16:53:44 +08:00
uye
6bde9b97af fix: 小工具-公招识别 手动触发时不会改变显示状态 2025-07-13 15:19:58 +08:00
uye
ecf0d4e732 chore: 添加缺失的翻译与文档更新 2025-07-13 15:03:18 +08:00
uye
b1fc706a6a chore: 统一颜色 2025-07-13 14:21:35 +08:00
uye
24718ec243 chore: 使用自定义悬浮窗样式 2025-07-13 14:21:22 +08:00
nekosu
c876874cf5 feat: 支持MaaPipelineSupport插件 (#13189) 2025-07-13 14:11:07 +08:00
status102
a3cdc98031 fix: 移除Roguelike@GetDrop2中重复的Roguelike@DropsFlag任务 (#13180)
link to 2ed2376763
2025-07-13 12:37:27 +08:00
uye
cc995da6af chore: 使用 svg 代替 >,避免字体影响 2025-07-13 10:57:18 +08:00
uye
a41d4f7885 chore: 添加设计时预览 2025-07-13 00:07:52 +08:00
uye
a6e90ac65e feat: 添加悬浮窗标识符 2025-07-13 00:00:16 +08:00
uye
59e31663c4 feat: 添加任务及基建设施日志翻译 2025-07-12 22:44:25 +08:00
uye
bf759da599 chore: 日志栏 InitialShowDelay 改为 200,避免误触 2025-07-12 21:55:23 +08:00
uye
49753de8b8 feat: 新增公招星级悬浮提示 2025-07-12 21:51:06 +08:00
uye
763e5605cf feat: 新增通过 string 直接构造 Tooltip 方法 2025-07-12 21:50:32 +08:00
uye
7555119b03 feat: cdk 添加复制按钮 2025-07-12 19:49:04 +08:00
uye
8b5a60d79e chore: 使用 UsedImplicitly 2025-07-12 19:49:03 +08:00
Constrat
bb329afea0 style: clang
[skip changelog]
2025-07-12 13:38:47 +02:00
uye
62984d1026 feat: 新增资源仓库超链接 2025-07-12 19:06:35 +08:00
uye
034ecff647 feat: 为截图测试日志添加 Tooltip 展示所有截图方式耗时 2025-07-12 18:56:08 +08:00
HX3N
58b8e167ca chore: YostarKR BattleQuickFormationModulePage 2025-07-12 19:47:02 +09:00
Constrat
653fed53bb chore: YostarEN BattleQuickFormationModulePage 2025-07-12 12:40:44 +02:00
Manicsteiner
8e05cdaecb chore: YostarJP tasks edits (#13187) 2025-07-12 18:32:22 +08:00
uye
1e8d8ce91a chore: 优化掉落显示 2025-07-12 17:37:28 +08:00
status102
3f310ecede fix: 肉鸽界面设计器error (#13185) 2025-07-12 13:38:09 +08:00
status102
f14bf295c7 fix: typo & const ref 2025-07-12 12:39:57 +08:00
status102
7a8586a6d7 chore: style 2025-07-12 12:36:20 +08:00
status102
8acf9ececb refactor: 生息演算任务参数枚举 2025-07-12 10:09:08 +08:00
uye
4ea3900941 fix: 修复 ExpiringStatus 无法用于日志输出的问题 2025-07-12 00:54:54 +08:00
uye
ca81ddc4d9 chore: tooltip 顶部居中 2025-07-12 00:31:30 +08:00
status102
5a55b4d4dc fix: 理智药使用量ocr错误
fix #13132
2025-07-12 00:10:31 +08:00
travellerse
4e3c75b17b feat: 支持编队添加干员时选择模组 (#12811)
* feat: 支持编队添加干员时选择模组

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 更新模组编号和本地化字符串以支持新模组

* fix: 统一使用激活时的模组字符图像,将识别阈值下降至0.8以识别未激活时的模组字符

* perf: 省略不必要的参数

* perf: 修改模组默认值为`-1: 不修改`

* fix: 修复不使用模组时的点击区域, 使用模板图替换

* fix: roi

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 优化部分文本

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 选择模组失败时反选干员

* fix: 选择模组失败时继续检查同组其他干员

* perf: 过个Rgb

Co-authored-by: status102<102887808+status102@users.noreply.github.com>

* chore: 不过灰度

* fix: 添加模板图片以匹配y模组字母的两种形式

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-07-11 23:56:37 +08:00
uye
0478306149 feat: 日志栏新增 ToolTip 提示 2025-07-11 23:31:05 +08:00
uye
3b40e07088 chore: 调整成就描述 2025-07-11 23:30:01 +08:00
uye
e38e8cf01a perf: 优化物品图显示缓存 2025-07-11 23:05:06 +08:00
uye
b0462076ea fix: 修复模板匹配遇到 inf 与 nan 时返回 0 的错误结果 2025-07-11 23:05:06 +08:00
github-actions[bot]
53e5c9b53d chore: Auto Update Game Resources - 2025-07-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16217034977

[skip changelog]
2025-07-11 09:46:55 +00:00
Constrat
f19d4631b0 chore: YostarEN OR Navigation 2025-07-11 11:43:20 +02:00
HX3N
96f8d25e47 chore: YostarKR OR navigation (#13179) 2025-07-11 11:43:03 +02:00
github-actions[bot]
e3f01f83da chore: Auto Update Game Resources - 2025-07-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16215141064

[skip changelog]
2025-07-11 08:10:18 +00:00
status102
ff18028781 chore: style 2025-07-11 15:44:19 +08:00
github-actions[bot]
9c0c4e6da0 chore: Auto Templates Optimization
Triggered by cfc7bfd02e

[skip changelog]
2025-07-11 07:42:34 +00:00
uye
cfc7bfd02e fix: 无法匹配活动商店部分商品 2025-07-11 15:42:05 +08:00
uye
ce96cef6ec fix: 外服训练室技能名可能被部分替换成干员名 2025-07-11 11:13:29 +08:00
status102
c3c69c7e1f rft: 肉鸽模式参数枚举 2025-07-11 10:33:16 +08:00
status102
7dd977f525 chore: file header 2025-07-11 10:20:09 +08:00
status102
7fb2d0686e fix: import 2025-07-11 10:17:06 +08:00
status102
8c8be278ea chore: 新Config长草任务存储已完成部分预载 2025-07-11 09:20:16 +08:00
status102
f4b71bd0be refactor: 新Config结构修改
部分迁移自 #12315
2025-07-11 09:09:51 +08:00
Lemon-miaow
d8515b15a2 fix: 更新肉鸽商店刷新按钮模板 (#13172)
* fix: 小家具

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-10 15:52:26 +01:00
uye
049f244a95 feat: 新增返回 bgr byte[] 数据接口,大幅降低 peep 性能占用 2025-07-10 21:35:43 +08:00
status102
0dc6af17a3 perf: 肉鸽参数显示简化, 开局干员空时不显示使用助战 2025-07-10 17:42:01 +08:00
uye
078ce0860d chore: 调整提示 2025-07-10 00:52:45 +08:00
晓丶梦丶仁
184bdd3dd1 fix: 一叶扁舟 choices
fix #13165
2025-07-10 00:28:23 +08:00
晓丶梦丶仁
5e165319e5 fix: JP 似是而非 OCR 2025-07-10 00:05:44 +08:00
SherkeyXD
47357b2baa chore: no overflow 2025-07-09 20:33:46 +08:00
晓丶梦丶仁
f5301faafb fix: 魂灵见闻:善恶同道 OCR
fix #13166
2025-07-09 18:55:18 +08:00
Constrat
f1d05cd70e fix: EN training room OCR 2025-07-09 11:47:20 +02:00
uye
edca2ea538 chore: 勾选手动填写实例号后查询一次实例 2025-07-09 17:35:37 +08:00
uye
6778ad4f6e fix: 获取雷电 pid 失败 2025-07-09 17:29:25 +08:00
uye
eb096e257c ci: ubuntu build 2025-07-09 16:49:56 +08:00
uye
6df743041f feat: 新增雷电专版注册表自动检测,新增雷电端口自动检测 2025-07-09 16:26:49 +08:00
uye
38cf01b66e chore: 避免使用 async void 2025-07-09 15:25:15 +08:00
uye
4cb6744e01 chore: 省略默认参数 2025-07-09 12:52:42 +08:00
uye
9ee3520634 chore: 优化窗口显示
fix #13161
2025-07-09 12:49:39 +08:00
uye
b16942cb2e chore: 调整成就描述 2025-07-09 09:20:52 +08:00
Constrat
72d1956643 fix: EN not enough space for SSS selection 2025-07-08 21:31:26 +02:00
uye
8293bcf978 chore: 调整 ocrReplace
[skip changelog]
2025-07-08 22:39:14 +08:00
uye
c6e1e039bb feat: fetch 请求增加 If-Modified-Since 2025-07-08 21:54:43 +08:00
uye
bc998e4902 chore: 调整 ocrReplace
[skip changelog]
2025-07-08 21:25:03 +08:00
github-actions[bot]
9bbde2199f chore: Auto Update Game Resources - 2025-07-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16142758372

[skip changelog]
2025-07-08 12:08:10 +00:00
Constrat
9c991631f0 fix: EN InfrastTrainingOperatorAndSkill adaptation 2025-07-08 13:53:36 +02:00
uye
52f534cf43 chore: 调整 ocrReplace
[skip changelog]
2025-07-08 18:02:10 +08:00
uye
270cfc19bc chore: 调整 ocrReplace 2025-07-08 17:55:03 +08:00
uye
9bed2f4bcc perf: 训练室继续专精使用特征匹配识别技能 2025-07-08 17:39:59 +08:00
uye
e3736bb4e4 chore: 添加 FeatureMatch schema 2025-07-08 17:39:59 +08:00
github-actions[bot]
4a8ace53cc chore: Auto Update Game Resources - 2025-07-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16138144763

[skip changelog]
2025-07-08 08:33:18 +00:00
github-actions[bot]
d0374037fa chore: Auto Update Game Resources - 2025-07-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16133813290

[skip changelog]
2025-07-08 04:16:27 +00:00
github-actions[bot]
4850da4acb chore: Auto Templates Optimization
Triggered by ba161b98eb

[skip changelog]
2025-07-08 03:00:12 +00:00
github-actions[bot]
ba161b98eb chore: Auto Update Game Resources - 2025-07-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16132825324

[skip changelog]
2025-07-08 02:59:47 +00:00
uye
d1ff5c2400 fix: 训练室技能名识别 2025-07-08 00:45:29 +08:00
uye
442d7d5b70 chore: 米奇妙妙 ocr 2025-07-08 00:41:01 +08:00
uye
29f93616ff chore: 调整描述 2025-07-07 19:41:33 +08:00
Loong
aa7b5aeb77 chore: bump maa-cli to 0.5.6 (#13150) 2025-07-07 11:41:08 +08:00
uye
ec4f3f98f5 chore: 添加日志记录 2025-07-07 09:44:34 +08:00
uye
38ca800031 chore: 设置剪切板前先清空 2025-07-06 22:45:52 +08:00
uye
650a48b8a5 fix: 高版本检测到低版本更新时错误提示无更新包 2025-07-06 12:46:03 +08:00
uye
b16231698b chore: response.Log 添加 etag 日志 2025-07-06 00:20:37 +08:00
uye
13bef6c4b6 fix: 无法继续专精 2025-07-05 21:05:16 +08:00
uye
f6b0ca7754 perf: 优化热更逻辑 2025-07-05 12:48:07 +08:00
uye
f4489f4afb chore: 添加模拟器路径与附加命令的提示 2025-07-05 10:30:30 +08:00
uye
209da3da03 Release v5.18.3 (#13130) 2025-07-05 09:50:47 +08:00
uye
773a26fb1b docs: Update CHANGELOG.md 2025-07-05 09:50:17 +08:00
uye
bf2d6dcb5f fix: 公招刷新 2025-07-05 09:47:13 +08:00
uye
b5adf5b949 Release v5.18.2 (#13107) 2025-07-04 23:47:31 +08:00
uye
cd4b28cc59 chore: 漏了个 _mainTaskTypes 2025-07-04 23:36:42 +08:00
github-actions[bot]
ff2fc2e888 docs: Auto Update Changelogs of v5.18.2 (#13113)
* docs: Auto Generate Changelog of Release v5.18.2

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-07-04 23:35:04 +08:00
uye
f7f9d709b5 fix: 当首选关卡为剿灭时,后续备选关卡和剩余理智出现问题时不会报错 2025-07-04 23:31:24 +08:00
uye
a63bd7ffbf chore: 调整单击托盘图标动作,符合常规软件行为 2025-07-04 22:17:27 +08:00
uye
401cd76c2d fix: 修复因重定向导致 ETag 缓存与原始地址不符的问题 2025-07-04 19:18:52 +08:00
uye
4cef1b1a24 fix: 未勾选自动确认 3 星且有对应倾向 3 星 tag 时不会刷新 2025-07-04 18:30:23 +08:00
github-actions[bot]
7775e3889d chore: Auto Update Game Resources - 2025-07-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16057199753

[skip changelog]
2025-07-03 17:46:49 +00:00
Constrat
1f132c7adc fix: YostarEN & YostarJP HS rerun navigation 2025-07-03 19:30:27 +02:00
vonnoq
af9eab239d fix: 繁中服無法識別荒蕪拉普蘭德 (#13125) 2025-07-03 19:15:13 +02:00
github-actions[bot]
43a5802652 chore: Auto Update Game Resources - 2025-07-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16056500208

[skip changelog]
2025-07-03 17:07:37 +00:00
uye
23743558ad fix: 存在更新时问题反馈提示显示不全
fix fafd1970be (commitcomment-161341748)
2025-07-03 23:29:55 +08:00
github-actions[bot]
cd6bd95445 chore: Auto Update Game Resources - 2025-07-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16053207061

[skip changelog]
2025-07-03 14:30:33 +00:00
HX3N
5ecec67bf2 fix: YostarKR HS rerun navigation (#13124)
* fix: YostarKR HS rerun navigation

* chore: add stages
2025-07-03 16:15:56 +02:00
SherkeyXD
e8bcf55546 chore: remove TaskTransitionVisualizer 2025-07-03 19:17:25 +08:00
uye
83bc2649a0 chore: 调整命名空间 2025-07-03 19:17:01 +08:00
github-actions[bot]
6102d7bf43 chore: Auto Update Game Resources - 2025-07-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/16043883983

[skip changelog]
2025-07-03 07:08:58 +00:00
uye
c1b9a158a0 fix: typo
[skip changelog]
2025-07-03 12:18:13 +08:00
uye
a79980daf2 fix: 规避 WPF 剪贴板卡顿,修复剪切不清除文本的问题。支持 (Rich)TextBox 复制/剪切/粘贴 和 DataGrid 复制 2025-07-03 12:03:02 +08:00
晓丶梦丶仁
b7d8577023 fix: Mumu5.0 MumuExtra
mumu5.0 正式版似乎在根目录中留了一个 shell\sdk\xxxx.dll,部分用户反应这个 dll 无法连接模拟器,删除后可用;于是检测路径时优先检测 Mumu5.0 的路径,若不存在再向下兼容
2025-07-03 00:22:21 +08:00
uye
874db89c8a fix: 不知道为啥有时候肉鸽难度识别最后会多个0,ui打个补丁 2025-07-02 21:59:13 +08:00
SherkeyXD
f41356f683 fix: no unsigned subtraction 2025-07-02 19:33:17 +08:00
SherkeyXD
c285d53404 chore: use SecureZeroMemory for safety 2025-07-02 19:24:09 +08:00
鬼影233
b82081769f fix: 调整 YoStarEN 大荒城公招、抽卡的截图以修复识别失败的问题 (#13117)
* fix: 调整 YoStarEN 大荒城公招、抽卡的截图以修复识别失败的问题
2025-07-02 13:05:37 +02:00
github-actions[bot]
89969d2101 chore: Auto Templates Optimization
Triggered by 73f53e1f9c

[skip changelog]
2025-07-01 15:07:20 +00:00
pre-commit-ci[bot]
73f53e1f9c chore: Auto update by pre-commit hooks [skip changelog] 2025-07-01 15:06:19 +00:00
HY
5aff0583f7 chore: 更新繁中服線索與部分截圖 (#13094)
* chore: 更新線索圖片

* chore: 更新其他圖片

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 用更高的 DPI 再用一次截圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-01 17:03:09 +02:00
github-actions[bot]
a4efe0aa3c chore: Auto Update Game Resources - 2025-07-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15997555493

[skip changelog]
2025-07-01 11:06:59 +00:00
github-actions[bot]
313e46153f chore: Auto Update Game Resources - 2025-07-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15992790429

[skip changelog]
2025-07-01 07:30:41 +00:00
github-actions[bot]
e76e21d986 chore: Auto Update Game Resources - 2025-06-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15981481318

[skip changelog]
2025-06-30 19:06:28 +00:00
github-actions[bot]
0d19298f4b chore: Auto Update Game Resources - 2025-06-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15976645788

[skip changelog]
2025-06-30 15:08:04 +00:00
晓丶梦丶仁
4bc67b33f5 feat: wpfgui 添加第三备选关卡 (stage4) (#13106) 2025-06-30 22:41:02 +08:00
晓丶梦丶仁
5ee2b96938 fix: KR SS@Store@Purchase OCR
[skip changelog]
2025-06-30 19:26:22 +08:00
晓丶梦丶仁
f6ee7f6ab4 fix: KR SS@Store@Purchase OCR 2025-06-30 19:25:16 +08:00
晓丶梦丶仁
4f3300fa17 fix: JP SS@Store@Purchase OCR 2025-06-30 19:15:55 +08:00
zhangweijian97
db9a402bd8 docs: 更新Linux开发环境配置教程 加入 Mac 开发建议 2025-06-30 14:02:59 +08:00
dantmnf
6ce5c5ca7d feat: warn about known problematic injected dlls 2025-06-30 11:50:31 +08:00
github-actions[bot]
8805d1a3f1 chore: Auto Update Game Resources - 2025-06-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15947736529

[skip changelog]
2025-06-28 20:07:41 +00:00
Constrat
d2bc88896c fix: wrong dossoles for global
[skip changelog]
2025-06-28 00:27:17 +02:00
Constrat
3e56b73283 chore: SSS#7 Dossoles global 2025-06-28 00:25:22 +02:00
HY
dc2754bf39 chore: 繁中服_周年月卡領取 &「揭幕者們」活動導航 (#13092)
* chore: 周年月卡領取

* chore: 「揭幕者們」活動導航
2025-06-27 23:13:52 +08:00
github-actions[bot]
9f9f0270a8 chore: Auto Update Game Resources - 2025-06-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15919471111

[skip changelog]
2025-06-27 06:11:07 +00:00
github-actions[bot]
a0dbca0816 chore: Auto Update Game Resources - 2025-06-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15918939109

[skip changelog]
2025-06-27 05:31:12 +00:00
status102
323d991308 fix: Toast遮挡右侧界面
fix #13088
2025-06-27 10:57:36 +08:00
Sherkey Asher
94f58586b7 ci: add codeql for security check 2025-06-27 09:26:25 +08:00
SherkeyXD
9c05d6e18b feat: 优化 CropRoi 使用体验 2025-06-26 17:38:39 +08:00
uye
fdeae7b28f chore: 资源日期使用本地时间显示 2025-06-25 22:57:37 +08:00
uye
399eb27360 chore: 删除错误提示
[skip changelog][skip ci]
2025-06-25 20:16:04 +08:00
status102
39a8e0c766 chore: 引航者试炼#5 TN-1 ~ TN-4地图view[1] & 干员部署修复 2025-06-25 20:05:41 +08:00
status102
e098c55223 ci: 禁止更新时重判 2025-06-25 20:03:31 +08:00
uye
bf80696a80 chore: 调整关卡选择中的剿灭显示 2025-06-25 19:55:32 +08:00
status102
bc560cf9af perf: SSReopen使用XX-OpenOpt代替SideStoryReopen导航 (#13078) 2025-06-25 19:16:09 +08:00
status102
e73635339d Revert "chore: 引航者试炼#5 TN-1 ~ TN-3地图views[1]修复"
This reverts commit ae38ad904b.
2025-06-25 12:02:46 +08:00
uye
d341d95372 chore: 显示错误 2025-06-25 00:43:04 +08:00
uye
e1ff78240e feat: 新增资源更新进度显示 2025-06-24 23:46:09 +08:00
status102
ae38ad904b chore: 引航者试炼#5 TN-1 ~ TN-3地图views[1]修复 2025-06-24 23:23:37 +08:00
status102
3f07bfc52d chore: meojson update to v4.4.1 & remove json5 (#13079) 2025-06-24 19:59:32 +08:00
status102
a1c11bdb32 chore: remove json5 2025-06-24 19:34:20 +08:00
status102
4a4b3fae3b chore: meojson update to v4.4.1 2025-06-24 19:33:30 +08:00
Constrat
5e435f2cd7 fix: txwy failed dataload 2025-06-24 13:11:43 +02:00
github-actions[bot]
eac28232a9 chore: Auto Update Game Resources - 2025-06-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15846236823

[skip changelog]
2025-06-24 09:10:39 +00:00
status102
6af04f4232 perf: 减少运行中Task修改 2025-06-24 16:55:43 +08:00
status102
96c007274d fix: 肉鸽结算Ocr 非数字替换 2025-06-24 16:55:42 +08:00
uye
fd4bdb6f4a fix: 写的什么jb导航 2025-06-24 16:29:43 +08:00
Constrat
be18f7304b style: fix clang 2025-06-23 23:45:21 +02:00
status102
eebcf78aaf fix: 肉鸽结算Ocr bin threshold 2025-06-23 23:03:53 +08:00
status102
1328545320 rft: 肉鸽callback中Int类型限定 2025-06-23 23:01:37 +08:00
Constrat
303c7bca17 feat: YostarEN Dahuang City theme 2025-06-23 14:54:10 +02:00
萨拉托加
56875aec85 feat: 肉鸽更新干员招募逻辑 (#13071)
* feat: 肉鸽更新干员招募逻辑

* feat: 肉鸽更新干员招募逻辑

* feat: 肉鸽更新干员招募逻辑
2025-06-23 19:02:43 +08:00
Lemon-miaow
1e3afd8c12 i18n: 用户文档基建换班添加队列轮换说明 (#13064)
* i18n: 用户文档基建换班添加队列轮换说明

* chore: Auto update by pre-commit hooks [skip changelog]

* i18n: 同步客户端文本

* i18n: JP texts edit

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-06-23 16:57:32 +08:00
uye
c1fcf95a49 fix: 难度识别出非数字时崩溃
#13069
2025-06-23 14:57:57 +08:00
Hao Guan
02964cd38e fix(mac): Mirror酱更新检测 2025-06-23 11:50:25 +08:00
Hao Guan
ff3a06cf71 feat(mac): 显示剩余理智 2025-06-23 11:49:48 +08:00
HY
17c98f18e4 chore: 繁中服「荒原安保派駐」定向導能元件 (#13057)
* chore: 繁中服「荒原安保派駐」定向導能元件

* chore: 搬移保全作業
2025-06-22 16:30:42 +02:00
status102
0f25adfd83 Release v5.18.1 (#13048) 2025-06-22 18:56:46 +08:00
Lemon-miaow
5dcfd8ce2a docs: 用户文档基建换班添加队列轮换说明 (#13058) 2025-06-22 16:34:37 +08:00
github-actions[bot]
cd3b0d9e08 docs: Auto Update Changelogs of v5.18.1 (#13050)
* docs: Auto Generate Changelog of Release v5.18.1

* docs: ahcneglog

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-22 16:14:48 +08:00
Manicsteiner
e0724ed92c chore: YostarJP infrast training room and IS4 squad (#13053) 2025-06-21 17:54:22 +02:00
status102
cf7c8e66bb fix: YoStarEN StageDrops-TimesRec roi 2025-06-21 23:29:06 +08:00
Constrat
cafb520b29 fix: YostarEN Sarkaz DLC2 2025-06-21 12:42:38 +02:00
github-actions[bot]
2e21799cc8 chore: Auto Templates Optimization
Triggered by 911f910990

[skip changelog]
2025-06-21 10:22:05 +00:00
MistEO
911f910990 chore: 更换 Mirrorc logo 2025-06-21 18:20:56 +08:00
uye
0b91daba21 perf: 自动替换连接地址中的中文冒号与空格 2025-06-21 12:32:19 +08:00
uye
eed13a6869 fix: 全选删除作业代码时底部连接不换回作业站链接
fix #13036
2025-06-21 10:30:06 +08:00
status102
b5798a8096 fix: 中断时刷理智, 基建任务参数无法修改 2025-06-21 10:15:44 +08:00
status102
b30f2eadc1 chore: 理智药加个输出 2025-06-21 10:15:44 +08:00
status102
14a3455ee8 fix: StageQueue战斗次数统计 2025-06-21 10:15:24 +08:00
HX3N
3e06cece23 chore: YostarKR IS4 dlc2 (#13047)
* chore: YostarKR IS4 dlc2 ocr

* i18n: is4 dlc squad

* chore: RoguelikeCustom-HijackSquad

* chore: 消失
2025-06-21 09:44:12 +08:00
HX3N
264a27e82b fix: skip blank stages in KR replacement on ResoureUpdater (#13045)
* fix: skip blank stages in KR replacement on ResoureUpdater

* docs: simple commenting

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-06-20 21:53:56 +02:00
Constrat
32a627d980 fix: YostarEN ocr for new IS 2025-06-20 21:40:13 +02:00
github-actions[bot]
17c93f91d4 chore: Auto Update Game Resources - 2025-06-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15784413397

[skip changelog]
2025-06-20 17:29:51 +00:00
Manicsteiner
70e6261a98 chore: YostarJP Dahuang city theme and ocr edits (#13044) 2025-06-20 17:46:18 +02:00
HX3N
bd8a2ee886 chore: YostarKR DahuangCity theme (#13043) 2025-06-20 17:46:05 +02:00
SherkeyXD
5af96ea1ce fix: 防止卡在傀影肉鸽剧作家手稿界面 2025-06-20 23:40:04 +08:00
github-actions[bot]
09432c2247 chore: Auto Update Game Resources - 2025-06-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15781231814

[skip changelog]
2025-06-20 14:30:31 +00:00
uye
d85c049ee3 fix: YoStarKR tasks ocrReplace 2025-06-20 22:07:26 +08:00
github-actions[bot]
40ae3a2866 chore: Auto Update Game Resources - 2025-06-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15773971592

[skip changelog]
2025-06-20 07:45:31 +00:00
Sherkey Asher
12fa8eba2c fix: 保证SSReopen不多刷 (#13029)
* fix: 保证SSReopen不多刷

* fix: 移除无用

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-20 15:08:28 +08:00
status102
8476d5bebe fix: StageQueue关闭理智药界面后delay 2025-06-20 15:00:32 +08:00
uye
4f9dcbbd42 chore: 调整 ssreopen 识别 2025-06-19 20:48:20 +08:00
uye
2db6c4a459 fix: 更新后第一次启动读取 SemVersion 失败
fix #13021
2025-06-19 20:40:53 +08:00
github-actions[bot]
7c3ac7066e chore: Auto Update Game Resources - 2025-06-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15756353451

[skip changelog]
2025-06-19 11:07:40 +00:00
github-actions[bot]
3355bf13b3 chore: Auto Update Game Resources - 2025-06-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15753670086

[skip changelog]
2025-06-19 08:49:36 +00:00
uye
f2fabb392e Release v5.18.0 (#13007) 2025-06-19 16:11:42 +08:00
status102
e209727448 fix: 成就view遮挡设置按钮 2025-06-19 16:08:06 +08:00
uye
27762ce24d docs: Update CHANGELOG.md 2025-06-19 16:06:43 +08:00
uye
335bf74e89 docs: Update CHANGELOG.md 2025-06-19 16:03:43 +08:00
uye
fece54bfb4 chore: 调整 margin 2025-06-19 15:52:11 +08:00
github-actions[bot]
7994bc2384 docs: Auto Update Changelogs of v5.18.0 (#13008)
* docs: Auto Generate Changelog of Release v5.18.0

* docs: chagnelog

* docs: ahcenglog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-19 15:01:10 +08:00
status102
a10e3be350 perf: 自动战斗作业点赞按钮禁用前置 2025-06-19 13:30:44 +08:00
github-actions[bot]
7af5574bf9 chore: Auto Update Game Resources - 2025-06-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15742563268

[skip changelog]
2025-06-18 20:09:25 +00:00
status102
9cf913dc3a perf: 不许成就遮挡设置 (#13012)
* perf: 不许成就遮挡设置

* perf: 套个scroll
2025-06-18 16:36:23 +08:00
dantmnf
14360ed869 fix: improper ifstream usage in adblite
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2974975943
2025-06-18 16:32:54 +08:00
github-actions[bot]
02156ebb0c chore: Auto Update Game Resources - 2025-06-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15701766376

[skip changelog]
2025-06-17 08:11:33 +00:00
status102
a16e399ae1 perf: 公告内容变动检查 2025-06-17 15:49:47 +08:00
status102
7a658d4712 fix: Log宏不检查log rotate 2025-06-17 15:48:43 +08:00
uye
0b6c1ef843 chore: 窗口允许最大化 2025-06-17 10:10:24 +08:00
Lucien Shaw
54ed65fb9d i18n: 补全本地化文本中一处设置的完整引导路径 (#12997)
* i18n: 补全中文文本中一处设置的完整引导路径

补全RetryOnDisconnectedEmulatorPathEmptyError对应文本中,模拟器路径设置的完整引导路径

* i18n: 补全英文文本中一处设置的完整引导路径

补全RetryOnDisconnectedEmulatorPathEmptyError对应文本中,模拟器路径设置的完整引导路径

* i18n: 补全繁体中文文本中一处设置的完整引导路径

补全RetryOnDisconnectedEmulatorPathEmptyError对应文本中,模拟器路径设置的完整引导路径

* i18n: 补全日文文本中一处设置的完整引导路径

补全RetryOnDisconnectedEmulatorPathEmptyError对应文本中,模拟器路径设置的完整引导路径

* i18n: 补全韩文文本中一处设置的完整引导路径

补全RetryOnDisconnectedEmulatorPathEmptyError对应文本中,模拟器路径设置的完整引导路径
2025-06-17 09:42:11 +08:00
Sherkey Asher
3289bbabb8 feat: 傀影肉鸽添加难度选择 (#12897)
* feat: 傀影肉鸽添加难度选择

* feat: 肉鸽难度选择不再显示不支持的选项
2025-06-17 09:28:34 +08:00
dependabot[bot]
219ec7278a ci: bump softprops/action-gh-release from 2.2.2 to 2.3.2 in /.github/workflows in the github-actions group (#13004) 2025-06-16 16:07:28 +00:00
Constrat
2b7b020b51 ci: fix my username? 2025-06-16 17:48:51 +02:00
晓丶梦丶仁
28a768a8f5 fix: IS1 投资策略 2025-06-16 16:14:18 +08:00
status102
66d2614d82 refactor(wpf): asst任务状态 (#12985)
* rft(wpf): asst任务状态监控

* rft: 迁移刷理智, 基建任务状态
2025-06-16 11:07:43 +08:00
status102
2b5857a955 i18n: 更正 指定材料 的提示 (#12977)
* i18n: 更正 指定材料 的提示

* i18n: KR tweak translation

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
2025-06-16 11:07:29 +08:00
uye
4de3bf3fef feat: 翻译引用
fix #12996
2025-06-15 18:54:11 +08:00
uye
852a7da8eb feat: 更新繁中翻译 2025-06-15 18:04:50 +08:00
uye
7bc25bc952 chore: Load 时替换翻译引用 2025-06-15 18:01:45 +08:00
uye
268ee6ba0f feat: LocalizationHelper 支持 GetFormattedString 2025-06-15 15:49:53 +08:00
uye
117cbb4561 fix: Miss.Christine 识别错误 2025-06-15 13:16:16 +08:00
uye
7b550516cc fix: 恢复进度失败
fix #12992
2025-06-15 13:16:16 +08:00
Lucien Shaw
eec8880bd5 fix: 基建高级设置中部分元素未正确隐藏 (#12988)
当基建模式设置为“队列轮换”时,高级设置中的“不将已进驻的干员放入宿舍”项旁的提示图标未正确隐藏
2025-06-15 13:05:24 +08:00
uye
69ae0eaa1b fix: 不计算理智回复成就 2025-06-14 23:12:44 +08:00
status102
4c4b2e8510 refactor: 迁移理智, 战斗次数, 代理倍率, 关卡理智缓存 (#12986)
rft: 迁移理智, 战斗次数, 代理倍率, 关卡理智缓存
2025-06-14 16:26:21 +08:00
Lucien Shaw
649ca6452e i18n: 更正英文本地化文本中的两处错误 (#12987)
* i18n: 更正英文本地化文本中训练室提示文本的标点问题

在逗号后添加了缺失的空格;
将逗号连接的两个独立分句改为分号。
原句:"...Training Room,this will..." 改为 "...Training Room; this will..."

* i18n: 更正英文本地化文本中有关特别标记干员的语法问题

「Favourite」 operators maybe cannot be recognized中,maybe cannot be ... 并非常见语法,改为may not be.
2025-06-14 12:22:25 +08:00
status102
fe13df4806 fix: 仅主刷理智任务激活指定次数未消耗殆尽警告 2025-06-14 11:31:08 +08:00
status102
46f7ee6e33 perf: OF-1德克萨斯使用2技能
fix #12971
2025-06-14 09:45:09 +08:00
Constrat
948f38b2ac perf: remove duplicate templates from JP 2025-06-13 18:42:12 +02:00
晓丶梦丶仁
ac9a339d47 ci: issue-checkbox-checker 跳过已经折叠的 issue 2025-06-14 00:24:35 +08:00
晓丶梦丶仁
371f4e814a ci: issue-checkbox-checker.yml 2025-06-14 00:18:34 +08:00
晓丶梦丶仁
e8e9d7a38a fix: KR EP navigation 2025-06-13 23:55:40 +08:00
uye
907947a02e chore: 读取mumu新版注册表路径 2025-06-13 22:19:00 +08:00
Constrat
b40a18f591 feat: YostarEN gaming theme + JP optimization 2025-06-13 15:46:03 +02:00
Constrat
007b04eaf0 chore(tools): update ignore templates 2025-06-13 15:44:00 +02:00
status102
09a4931ba1 chore: 刷理智任务手动填写关卡名增加空关卡名对应关卡提示 2025-06-13 21:27:43 +08:00
uye
0da24487c9 feat: mumu 5.0 路径自动检测 2025-06-13 21:04:49 +08:00
Constrat
7ff2bbdbbf style: fix clang 2025-06-13 14:20:26 +02:00
status102
13ef0ca3fe perf: 自动编队跳过空干员职业组 2025-06-13 15:54:56 +08:00
status102
801afef4e5 fix: 自动战斗干员编队时, 若连续错误Ocr贴边干员名为_会导致跳过该职业 2025-06-13 15:54:47 +08:00
github-actions[bot]
124df0612c chore: Auto Update Game Resources - 2025-06-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15616777606

[skip changelog]
2025-06-12 17:07:38 +00:00
Manicsteiner
f2eb22be4c chore: YostarJP Gaming theme (#12970) 2025-06-13 00:48:00 +08:00
HX3N
256feb33c7 chore: YostarKR Poly Vision Museum Theme
EnterInfrastGaming, OperBoxEnterGaming and  TaskGaming work well even without adding templates
2025-06-13 00:58:40 +09:00
status102
5b39e69317 perf: 减少预期外的error日志 2025-06-12 20:21:49 +08:00
github-actions[bot]
87ed43301c chore: Auto Update Game Resources - 2025-06-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15606390837

[skip changelog]
2025-06-12 09:09:08 +00:00
HY
3c628e95dd fix: 繁中服 肉鴿助戰可能招募失敗 (#12966) 2025-06-12 10:57:32 +02:00
github-actions[bot]
21a40cc685 chore: Auto Update Game Resources - 2025-06-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15603966383

[skip changelog]
2025-06-12 07:08:36 +00:00
uye
cbe1c991cc fix: 成就 id 错误 2025-06-12 02:57:15 +08:00
github-actions[bot]
f68d1dd308 chore: Auto Templates Optimization
Triggered by bbe22ea5a2

[skip changelog]
2025-06-11 14:46:27 +00:00
HX3N
bbe22ea5a2 chore: YostarKR ocr fix and update Infrast templates
Changed the Training template because the mastery symbol prevented recognition when training finished.
ocr fix for EP update.
2025-06-11 23:28:10 +09:00
dependabot[bot]
8d29464ed3 ci: bump actions/github-script from 6 to 7 in /.github/workflows in the github-actions group (#12946)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-11 21:29:35 +08:00
HX3N
c97c525d74 fix: UseReaminingSanityStageTip (#12959) 2025-06-11 08:21:24 +08:00
uye
c6536af73d fix: 午夜 0 点没算 0 点 2025-06-11 01:03:44 +08:00
uye
a903486c71 fix: 使用 Mirror 源的时候也显示了强制使用 Github 的TooltipBlock 2025-06-11 01:02:45 +08:00
uye
725a178708 Release v5.18.0-beta.1 (#12956)
sb gh 炸了()
2025-06-11 00:34:11 +08:00
uye
12cbc7d47b ci: Update ci.yml 2025-06-11 00:31:31 +08:00
uye
620c63c6b0 Release v5.18.0-beta.1 (#12954) 2025-06-11 00:11:29 +08:00
github-actions[bot]
bcd61de277 docs: Auto Update Changelogs of v5.18.0-beta.1 (#12955)
* docs: Auto Generate Changelog of Release v5.18.0-beta.1

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-06-11 00:07:08 +08:00
uye
53cb5cc3e8 chore: 多余文件描述 2025-06-10 23:59:07 +08:00
soundofautmn
839835fcba chore: 统一更新copyright 2025-06-10 23:56:27 +08:00
soundofautmn
466cd719d7 chore: 统一copyright 2025-06-10 23:56:23 +08:00
soundofautmn
ee9a44b957 chore: 修正注释warning
warning SA1512: Single-line comments should not be followed by blank line
2025-06-10 23:56:21 +08:00
uye
1b2df5ff5d feat: 成就系统 (#12823)
* feat: 成就系统

* chore: 调整时间

* feat: 追溯同类成就

* chore: 调整弹窗显示

* feat: 增加解锁条件

* feat: 使用静态类替代硬编码 id

* feat: 刷理智类成就实现

* chore: 抽离 CheckProgressUnlock

* chore: 加个保底

* feat: 手动停止

* chore: 修改描述

* feat: 成就列表(待翻译)

* i18n: english

* chore: 调整排序

* chore: 使用 DynamicResource 替代硬编码颜色,取消选中高亮

* feat: 可露希尔代理程序正常运转中(1000次刷理智)

* feat: 第一次启动软件

* feat: 使用理智药

* chore: 右键图标的停止也改成ManualStop

* feat: Growl 延迟到窗口显示时弹出

* chore: 默认 WindowState 为 null

* perf: 弹窗居中,虚拟化StackPanel

* chore: 定时执行

* chore: 解锁时间显示改为本地时间

* chore: 已完成的成就不显示进度条

* chore: 统一格式

* feat: 临期理智药

* chore: 你进行了一次能将大道磨灭的代理任务

* debug: 忘了删

* feat: 使用 MirrorChyan 更新 / 输入错误 cdk

* chore: 调整设置顺序

* chore: 截图测试显示在应用中心

* chore: 调整 AchievementListWindow 绑定

* chore: summary

* fix: 卡启动

* feat: 恢复进度后保存文件

* feat(#12823): 新增成就 (#12840)

* feat: 真正的抽卡

* feat: 窥屏

* feat: 喜报

* feat: 不速之客

* feat: 自定义达人

* feat: 火星人

* feat: 严重错讠

* feat: 这也能点?

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>

* chore: 火星人

* feat: 勋章颜色

* feat: 成就图标

* feat: 问题反馈

* feat: 成就等级

* feat: 急急国王

* feat: 自动战斗

* i18n: 打个框先

* i18n: KR translation

* feat: 公招

* i18n: 翻译

* chore: 隐藏吉吉国王

* feat: 借助战

* chore: 测试版

* feat: 作弊

* chore: 优化显示效果

* chore: 忽略返回值

* feat: 或许我应该换一份作业?

* feat: 平均截图速度

* feat: 验证成就合法性,新增 CustomData 字段

* chore: 调整延迟时间过长为隐藏成就

* feat: 今日宜抽卡

* feat: 分组

* feat: 彩色!

* chore: 忘加[JsonIgnore]了

* feat: 彩色!

* chore: 这玩意啥时候混进来了

* feat: 网络折磨人

* chore: 调整描述

* chore: httpService unused

* chore: debug 模式点一次触发

* feat: 新增成就 new 提示,仅本次关闭前生效

* chore: 隐藏未解锁的隐藏成就

* feat: 挂机

* feat: 一天启动 3 次任务

* chore: lock 时重置进度

* feat: 肉鸽相关成就

* chore: 调整放弃次数

* feat: 作业点赞

* feat: 立刻停止任务

* fix: RoguelikeRetreat

* chore: 不存非法成就

* feat: 代理指挥出现错误

* fix: 次数填错了

* feat: 新增 CustomData 类辅助函数,添加时长类成就

* chore: 调整 rare 逻辑

* chore: 注释

* chore: 调整成就分类

* chore: 调整描述

* i18n: 打个框

* fix: wpf binding error

* feat: 肉鸽通关难度

* perf: 解锁和锁定全成就时禁止保存

* chore: 调整成就显示

* chore: 调整 LinearGradientBrush

* feat: 新增肉鸽 n4

* i18n: fully Claude Sonnet 4 EN translation

* i18n: 繁中翻译

* i18n: KR translation

* i18n: JP translation

* feat: JsonDataHelper 支持自定义文件夹

* feat: 自定义备份路径

* chore: 哦这该死的 xaml designer

* fix: 避免设计时生成不必要的data文件夹

* feat: 触发牛牛时按钮位置移动

* Revert "fix: 避免设计时生成不必要的data文件夹"

This reverts commit 2ac878dbbd.

* fix: 不许save, 给你抽出来

* Reapply "fix: 避免设计时生成不必要的data文件夹"

This reverts commit 76985896cb.

* chore: 调整显示顺序

* feat: 添加搜索

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: Lemon-miaow <61692393+Lemon-miaow@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-06-10 23:40:25 +08:00
status102
3db8613a43 chore: wpf各种提示 (#12930)
* chore: 给喜欢指定参数不看说明的加个提示

* chore: 给代理倍率加个?

* fix: 减重繁中

* chore: KR tweak translation

* i18n: EN dot symbol

* feat: 带提示控件使用 TooltipBlock

* chore: 调整无序列表显示

* chore: 调整显示效果

* perf: 简化自定干员提示

* fix: TooltipText 内容错误

* chore: 调整 TooltipBlock 默认 Margin

* chore: 重置 TextBox InitialShowDelay 默认行为

* chore: 修改描述

* chore: 修改自动战斗描述

* perf: 优化控件布局

* feat: 新增强制Github下载描述

* chore: 调整绑定

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-06-10 23:33:35 +08:00
status102
499564694c perf: 刷理智增加未耗尽战斗次数提示输出 2025-06-10 22:04:47 +08:00
HY
88eb57d63d fix: 繁中服 傀影肉鴿 卡在通關劇情 (#12952)
* fix: 繁中服 傀影肉鴿 卡在通關劇情

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-10 19:56:06 +08:00
HY
4aeeac2e65 chore: update txwy for update infrast training room (#12953) 2025-06-10 19:52:59 +08:00
uye
ce2031704f perf: 移除解决方案名
Signed-off-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-10 15:02:38 +08:00
uye
f2558002f0 perf: 移除解决方案名
Signed-off-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-10 15:01:06 +08:00
status102
99958533ef fix: rect width & height = 0 2025-06-10 14:54:22 +08:00
status102
b6e6080f36 fix: StageDrops-Item warning 2025-06-10 14:52:52 +08:00
status102
96df05800c fix: 未进入战斗期间检测技能使用 2025-06-10 09:10:29 +08:00
HX3N
625db77e00 chore: update KR for update infrast training room
ref 673b1b082f
2025-06-10 09:46:59 +09:00
github-actions[bot]
96d9cad344 chore: Auto Templates Optimization
Triggered by 12f165e08d

[skip changelog]
2025-06-10 00:28:00 +00:00
HX3N
12f165e08d fix: YostarKR changed EnterInfrastSami due to low recognition score 2025-06-10 09:27:02 +09:00
Constrat
d96143eab2 style: fix clang 2025-06-09 23:17:48 +02:00
Constrat
673b1b082f chore: update EN for update infrast training room 2025-06-09 21:42:29 +02:00
status102
3a15195178 fix: 还原外服的StageDrops-TimesRec 2025-06-09 22:57:23 +08:00
uye
59c632f628 fix: 代理次数 2025-06-09 22:53:51 +08:00
ABA2396
1d54b13f6d Merge tag 'v5.17.2' into dev
v5.17.2
2025-06-09 11:02:25 +00:00
uye
2e9408efa9 Release v5.17.2 (#12943) 2025-06-09 19:01:50 +08:00
status102
02ec0426f0 Release v5.17.2 (#12941)
fix: non ota package remove old resource
2025-06-09 17:47:54 +08:00
status102
5bc4a68a71 fix: non ota package remove old resource 2025-06-09 17:31:13 +08:00
Hao Guan
3682278967 fix(mac): 编译兼容Swift 6.0 2025-06-09 17:07:19 +08:00
Hao Guan
ff40ff6e91 fix(mac): 资源更新改进 2025-06-09 16:48:14 +08:00
uye
f329411768 docs: 高分辨率滑动修复文档 2025-06-09 16:15:13 +08:00
uye
7988229cba fix: 高分辨率下无法进入特定关卡(虽然修了但还是不建议用 2k 4k 2025-06-09 15:44:42 +08:00
uye
67eb0aa7ca style: 多余的空格
[skip changelog][skip ci]
2025-06-09 14:25:17 +08:00
uye
cd25bb9fa9 perf: 优化导航逻辑
link to #10691
2025-06-09 14:23:11 +08:00
status102
503029581a rft: 基建技能专精状态分析 2025-06-09 09:21:50 +08:00
Constrat
5b3d638048 fix: EPChapterToEP for EN 2025-06-08 19:26:07 +02:00
Constrat
edf4905733 perf: remove unneccesary InfrastTrainingTime from EN 2025-06-08 17:37:34 +02:00
Constrat
09de23dd26 style: clang format 2025-06-08 17:07:07 +02:00
status102
b96bcc2e2b perf: 合并Tooltip 2025-06-08 21:53:53 +08:00
status102
14d740afe3 fix: 使用传入的httpService代替全局引用 2025-06-08 21:50:28 +08:00
status102
7ac4fc6ccc feat: wpf TooltipBlock文本为空时, 不显示Tooltip文本框 2025-06-08 21:42:54 +08:00
status102
af3e4b144f fix: 刷理智掉落识别-代理倍率roi 2025-06-08 15:33:07 +08:00
uye
5aed8be27e chore: 调整依赖库安装脚本输出 2025-06-08 14:16:25 +08:00
status102
27516baf54 fix: 基建训练室技能专精剩余时间Ocr错误 2025-06-08 14:04:58 +08:00
status102
2609f159ab fix: 基建专精干员名及技能Ocr使用原图以提高ocr成功率 2025-06-08 13:59:43 +08:00
status102
d06535bf92 perf: 肉鸽战斗使用费用、击杀数缓存, 优化性能占用 2025-06-08 09:45:02 +08:00
github-actions[bot]
bb930cd341 chore: Auto Templates Optimization
Triggered by c27a03623b

[skip changelog]
2025-06-07 20:38:13 +00:00
Constrat
c27a03623b perf: use text ocr instead of template for battlequick 2025-06-07 22:37:45 +02:00
uye
33f850b0f7 chore: 怎么真有人看到 [Y] 确认 是用鼠标去点而不是输入 Y 回车 2025-06-08 00:06:29 +08:00
uye
8a2a93c543 fix: Roguelike@RecruitWithoutButton 2025-06-07 22:48:41 +08:00
uye
235f83acfb fix: 在招募干员的过程中闪退导致死循环 2025-06-07 22:46:09 +08:00
uye
ab36ae88d6 docs: 调整描述 2025-06-07 21:20:28 +08:00
status102
56c95f6891 fix: 刷理智战斗后掉落识别代理倍率次数中文关键词使用原图, 以避免阈值过滤造成的边缘细节丢失
fix #12910
2025-06-07 17:26:53 +08:00
uye
21435c8850 fix: microseconds -> milliseconds 2025-06-07 16:28:03 +08:00
uye
93a5392028 docs: 调整镜像下载失败描述 2025-06-07 16:13:39 +08:00
status102
7464b5fce3 perf: wpf属性监听简化 (#12725)
* perf: 绑定合并

* perf: 循环依赖检查

* perf: 循环依赖检查
2025-06-07 10:43:17 +08:00
github-actions[bot]
521ec62b4d chore: Auto Templates Optimization
Triggered by 4fa9639802

[skip changelog]
2025-06-06 20:36:33 +00:00
HX3N
4fa9639802 fix: YostarKR add ReceptionMessageBoard and update templates
Reception is not recognized by the existing templates. Probably Office and Training as well.
2025-06-07 05:35:25 +09:00
uye
eef39ba079 Release v5.17.1 (#12902)
@HX3N for ref
- #12901 
- #12895

---- 
- [x] JP new base
- [x] EN new base
- [x] KR new base
- [x] SSS#7 json
- [x] SSS#7 JP
- [x] SSS#7 EN
- [x] SSS#7 KR
2025-06-07 00:34:57 +08:00
uye
dcf816118f docs: Update CHANGELOG.md 2025-06-07 00:20:36 +08:00
github-actions[bot]
1056ad043c docs: Auto Update Changelogs of v5.17.1 (#12920)
* docs: Auto Generate Changelog of Release v5.17.1

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-06-07 00:07:35 +08:00
Manicsteiner
3864b54b0f fix: YostarJP Infrast mini (#12919) 2025-06-06 23:39:10 +08:00
Lemon-miaow
dd21ff29db chore: feature-request增加陷阱选项 改进en-bug-report标题 (#12917)
* chore: cn-feature-request

* chore: en-feature-request

* chore: 呃呃怎么写description里了

* ci: issue-checkbox-checker

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-06-06 23:11:12 +08:00
ksharperd
daaf9dc02e docs: update connection doc to reflect latest change. (#12689)
* docs: update connection doc to reflect latest change.

* doc: address pr feedback.
2025-06-06 19:14:07 +08:00
HX3N
89d16721df fix: YostarKR infrast mini (#12915) 2025-06-06 18:37:55 +09:00
github-actions[bot]
90b752fb81 chore: Auto Templates Optimization
Triggered by 8d6b16b200

[skip changelog]
2025-06-06 09:00:56 +00:00
Constrat
8d6b16b200 fix: revert ROI from e71e817577 2025-06-06 11:00:20 +02:00
Constrat
fd0dafcbd2 fix: update mini templates after base update (#12912)
* fix: update mini templates after base update

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-06 16:19:12 +08:00
HX3N
8141c9f197 chore: YostarKR SSS#7 and Infrast update (#12913)
* chore: YostarKR SSS#7 Buffchoose

* chore: YostartKR Infrast ui update
2025-06-06 16:18:20 +08:00
github-actions[bot]
58450ea856 chore: Auto Update Game Resources - 2025-06-06
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15484600517

[skip changelog]
2025-06-06 06:50:34 +00:00
uye
4a22870377 feat: 远程控制协议增加“轮询间隔”参数
fix #12904
2025-06-06 13:44:58 +08:00
status102
75f4c8d01e perf: 自动战斗编队固定优先编入所有干员, 且按照作业顺序 2025-06-06 13:24:55 +08:00
status102
5a235f92d0 revert 532acde4c3 2025-06-06 13:13:45 +08:00
status102
dfa722d6a9 Revert "fix: 漏了.jpg"
This reverts commit 532acde4c3.

Revert "fix: wpf更新完不重启"

This reverts commit 12c70a0fda.
2025-06-06 13:09:03 +08:00
status102
532acde4c3 fix: 漏了.jpg
[skip changelog]
2025-06-06 13:02:20 +08:00
uye
b4cdd15901 fix: 更新后不重启 2025-06-06 12:59:58 +08:00
status102
12c70a0fda fix: wpf更新完不重启 2025-06-06 12:55:57 +08:00
Constrat
916ad56431 fix: remove unneccesary EnterInfrastSiege for EN
(use default CN)
2025-06-06 03:23:24 +02:00
Constrat
bea6f015a4 feat: Global SSS#7 + EN buffchoose 2025-06-05 22:07:12 +02:00
github-actions[bot]
f616d89f5c chore: Auto Templates Optimization
Triggered by 63502600aa

[skip changelog]
2025-06-05 19:08:22 +00:00
Constrat
63502600aa feat: EN base no beta (#12901) 2025-06-05 20:17:06 +02:00
Manicsteiner
b56ed10424 chore: YostarJP Infrast edits (#12895) 2025-06-05 19:05:21 +02:00
AnnAngela
6b0ba2afed doc: Update CHANGELOG.md 2025-06-05 23:29:49 +08:00
AnnAngela
bd779697b7 doc: 这合的也太快了 2025-06-05 23:28:25 +08:00
uye
094f76f5e5 Release v5.17.0 (#12878) 2025-06-05 23:20:22 +08:00
github-actions[bot]
e7601b1fb7 docs: Auto Update Changelogs of v5.17.0 (#12893)
* docs: Auto Generate Changelog of Release v5.17.0

* docs: Update CHANGELOG.md

* docs: changelog

* docs: changelog

* docs: changelog

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-06-05 23:18:12 +08:00
uye
9b2c051758 chore: 调整 tasks 移动逻辑 2025-06-05 21:59:36 +08:00
status102
59ec169a9d fix: WebStages加载临时补救 2025-06-05 21:36:28 +08:00
status102
59dd27f209 fix: 补回遗漏的WebStages移动的path 2025-06-05 21:10:39 +08:00
status102
505823afbb fix: 补回遗漏的WebStages移动 2025-06-05 20:29:49 +08:00
uye
6f98f3600d feat: 日志压缩包打包 cache/resource 2025-06-05 20:17:38 +08:00
github-actions[bot]
950532604e chore: Auto Update Game Resources - 2025-06-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15466687154

[skip changelog]
2025-06-05 12:13:09 +00:00
status102
2d20c4e465 chore: 红丝绒 地图 2025-06-05 20:11:04 +08:00
status102
2e63cbfb56 chore: blank 2025-06-05 20:09:51 +08:00
status102
a78d875434 perf: 使用系统回收站替代强制删除 2025-06-05 20:02:08 +08:00
pre-commit-ci[bot]
3acbf33046 chore: Auto update by pre-commit hooks [skip changelog] 2025-06-05 11:35:15 +00:00
SherkeyXD
cd560f1ae1 feat: SideStory「红丝绒」 2025-06-05 19:32:56 +08:00
github-actions[bot]
baf25450ed chore: Auto Update Game Resources - 2025-06-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15465822477

[skip changelog]
2025-06-05 11:27:49 +00:00
status102
6965c7190a chore: MirrorChyan更新支持判断完整包 2025-06-05 19:08:33 +08:00
uye
ff3d416664 fix: 基建又双叒叕改了 2025-06-05 17:50:52 +08:00
status102
2bb47a5c55 chore: MirrorChyan更新支持判断完整包 2025-06-05 17:40:50 +08:00
status102
943f2bdea3 perf: 允许无OTA包更新 2025-06-05 17:40:10 +08:00
uye
b91bc9dfe8 chore: MirrorChyan更新支持判断完整包 2025-06-05 17:28:41 +08:00
status102
8f096c4aa6 fix: 自动更新无ota包时, 残留旧版本文件 2025-06-05 17:15:32 +08:00
uye
8e5709fa90 debug: IsDebugVersion 2025-06-05 17:11:22 +08:00
uye
6e68b488d0 feat: 跨10版本的情况下不提供自动更新 2025-06-05 17:05:51 +08:00
github-actions[bot]
34a1e8266b chore: Auto Update Game Resources - 2025-06-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15462342471

[skip changelog]
2025-06-05 08:32:47 +00:00
status102
b814961559 fix: Toast死锁 2025-06-05 16:02:07 +08:00
github-actions[bot]
87642f513d docs: Auto Update Changelogs of v5.17.0-beta.2 (#12886)
* docs: Auto Generate Changelog of Release v5.17.0-beta.2

* docs: changelog

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-06-05 14:09:21 +08:00
uye
586c87233f style: 格式化 2025-06-05 14:03:54 +08:00
pre-commit-ci[bot]
1d7832c152 chore: Auto update by pre-commit hooks [skip changelog] 2025-06-05 05:02:19 +00:00
uye
78a81f34c3 feat: 清理 map 中的 png 类型截图 2025-06-05 13:00:06 +08:00
github-actions[bot]
0a8f78858f chore: Auto Update Game Resources - 2025-06-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15458489390

[skip changelog]
2025-06-05 04:32:51 +00:00
github-actions[bot]
2c3d0fd8ec chore: Auto Templates Optimization
Triggered by 79174381b3

[skip changelog]
2025-06-05 03:05:33 +00:00
github-actions[bot]
79174381b3 chore: Auto Update Game Resources - 2025-06-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15457330597

[skip changelog]
2025-06-05 02:57:20 +00:00
晓丶梦丶仁
bb8a890194 ci: 折叠 checkboxes 改为正则匹配 2025-06-05 01:57:33 +08:00
晓丶梦丶仁
c609433c8f docs: issue-checkbox-checker 文档 2025-06-05 01:12:50 +08:00
晓丶梦丶仁
b1c9102a8f ci: 优化未读检查、增加 checkboxes 折叠 2025-06-05 01:06:42 +08:00
晓丶梦丶仁
ee66844d9c fix: RA2 Swipe Save 2025-06-05 00:10:33 +08:00
status102
eca2e41c99 feat: 自动战斗费用击杀数缓存, 减少性能消耗 (#12879)
测试条件:待部署1,无技能检测,单个部署等击杀数,不开GPU加速

一场`1-7`的score情况:
- 击杀数未变化
  - 1.0 (1128: 30.87%)
  - 0.99 (2519: 68.94%)
  - 0.98 (5: 0.14%)
  - 0.97 (2: 0.055%)
  - 0.95~0.96 未出现
- 击杀变化
  - 0.94 (1)
  - 0.93 (2)
  - 0.92 (1)
  - 0.86 (1)
  - ...
[asst.log](https://github.com/user-attachments/files/20582872/asst.log)

有缓存:CPU 15~17%

![image](https://github.com/user-attachments/assets/0aa62313-4418-4837-ba0d-c3768aeab04a)


无缓存:CPU 48~52%

![image](https://github.com/user-attachments/assets/b71b838d-089d-4aa0-9e78-23c7d65c52cf)
2025-06-04 22:05:30 +08:00
status102
70fc130f4a refactor: 干员识别存储 (#12881) 2025-06-04 22:04:38 +08:00
status102
68d7f4ab41 fix: 外服使用 AUTO模式 代理倍率等待战斗结束时间过长 2025-06-04 19:05:22 +08:00
status102
45765a3932 perf: 旧config移除简化 2025-06-04 18:37:28 +08:00
status102
4de88035be chore: 提高可读性 2025-06-04 18:37:28 +08:00
status102
e1fea2032a chore: mumu内测路径注释 2025-06-04 18:37:23 +08:00
晓丶梦丶仁
a0ef939648 fix: RA2 swipe save 2025-06-04 16:30:31 +08:00
uye
9ea2c8c8e5 fix: 放弃与驮兽同行,等谁想加识别了再改回来) 2025-06-04 15:15:39 +08:00
status102
4285132852 perf: 击杀数识别RegionOcr使用原图优化 2025-06-04 09:58:50 +08:00
status102
9c79a8d09c feat: 自动战斗费用击杀数缓存, 减少性能消耗 2025-06-04 09:56:49 +08:00
晓丶梦丶仁
fcf026104c chore: MuMuExtras 5.0+ (#12876) 2025-06-04 00:09:15 +08:00
Lemon-miaow
7baad81b84 chore: 移除因勾选"我未仔细阅读"的自动回复 增加文档描述 (#12875)
* chore: 移除自动回复

* docs: 添加issue-not-reading-checker的描述
2025-06-03 22:10:31 +08:00
status102
f72b834d12 fix: 绿票商店跳过赤金及家具灵茧
fix #12872
2025-06-03 20:23:17 +08:00
status102
2c8efbbcb9 fix: 修复feature match sence内无特征点时的死循环问题
c8516a7264
2025-06-03 20:23:17 +08:00
status102
d20b539f06 chore: 特征匹配调试绘制 2025-06-03 20:23:16 +08:00
uye
66d7659e9a fix: 界面窗口标题滚动失效
fix #12854
2025-06-03 20:11:15 +08:00
MistEO
8995b04a22 chore: add mirrorchyan url source (#12869)
* chore: add mirrorchyan url source

* perf: wpf link

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: link

* fix: 吐司通知转义

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-06-03 19:52:36 +08:00
HY
4d74da147a fix: 繁中服 薩卡茲肉鴿 月度小隊無法開始探索 (#12871)
* fix: 繁中服 薩卡茲肉鴿 月度小隊無法開始探索

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-03 12:29:35 +02:00
HY
4a6f357b73 chore: 繁中服「泰拉飯」活動導航 +「滋味」主題 (#12870)
* chore: 繁中服「泰拉飯」活動導航

* chore: 「滋味」主題截圖

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-03 12:29:11 +02:00
晓丶梦丶仁
e2a9ed7bb0 fix: EN IS4 Squad Name 2025-06-03 18:25:07 +08:00
status102
ecd1153238 chore: warning 2025-06-03 17:56:03 +08:00
status102
2f5d5774be refactor: 持有费用缓存判定拆分 2025-06-03 17:56:03 +08:00
github-actions[bot]
8752da1c06 chore: Auto Update Game Resources - 2025-06-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15412469181

[skip changelog]
2025-06-03 08:33:07 +00:00
status102
a6de3f83ba perf: 特征匹配ASST_DEBUG增加匹配点位绘制 2025-06-03 14:07:21 +08:00
Lemon-miaow
4f2e9c6409 chore: 增加“我未仔细阅读”陷阱选项 (#12864)
* chore: 增加“我未仔细阅读”陷阱选项

* chore: 改进文本

* chore: typo

* chore: 拆分选项

* chore: 改进文本

* chore: ci

* chore: 改进文本

* ci: lock_reason

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-06-03 12:18:20 +08:00
status102
09bbf1a2ed refactor: LogDebug, LogTrace, LogInfo, LogWarn, LogError补上scope输出 (#12855) 2025-06-02 21:23:53 +08:00
github-actions[bot]
25ecadf0d5 chore: Auto Update Game Resources - 2025-06-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15376777571

[skip changelog]
2025-06-01 15:44:50 +00:00
Constrat
ca2dfda207 chore: YostarEN EP navigation 2025-06-01 17:33:24 +02:00
status102
6e3f402dec style: Logger可读性优化 2025-06-01 22:50:33 +08:00
status102
7944608267 perf: Log.debug是否写入判断优化 2025-06-01 21:59:36 +08:00
HX3N
1663df1263 chore: YostarKR EP navigation (#12852) 2025-06-01 20:16:21 +08:00
github-actions[bot]
3fbc8655de chore: Auto Update Game Resources - 2025-06-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15374283831

[skip changelog]
2025-06-01 11:06:31 +00:00
Manicsteiner
81bc7a3a39 chore: YostarJP EP navigation and i18n changes (#12849) 2025-06-01 11:36:07 +02:00
uye
1d530522b0 chore: using ToastNotification 2025-06-01 16:16:02 +08:00
status102
a33535e073 fix: 7e9806e697 2025-06-01 14:43:57 +08:00
MistEO
7e9806e697 fix: findHomography should have at least 4 points, 优化性能
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-06-01 14:38:28 +08:00
status102
b814c76135 feat: FeatureMatcher muplti results
link to MaaXYZ/MaaFramework#645

Co-authored-by: MistEO <mistereo@hotmail.com>
2025-06-01 14:32:37 +08:00
status102
4b9098769e Revert "feat: 不允许通过吐司通知启动应用"
This reverts commit ad54d797d1.
2025-06-01 14:04:57 +08:00
status102
f8725f5cd2 perf: 阻止WinRT下Toast主体点击时的启动行为 2025-06-01 14:04:14 +08:00
uye
ad54d797d1 feat: 不允许通过吐司通知启动应用 2025-06-01 13:51:16 +08:00
uye
8fe23adba0 fix: WMI 无效类报错
fix #12844
2025-06-01 11:27:38 +08:00
status102
21fa83b749 docs: 连战次数 -> 代理倍率; 指定次数 描述优化 (#12835)
* docs: `指定次数` & `代理倍率` 描述优化

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: format

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-01 08:52:14 +08:00
status102
5458ae642a perf: 刷理智任务每次开始行动时的文本优化 2025-05-31 23:56:38 +08:00
status102
df7cdf6608 perf: 自动战斗使用战斗列表执行单作业时, 增加一条警告; 追加部分提示的i18n (#12832) 2025-05-31 23:04:46 +08:00
晓丶梦丶仁
d25ac0990f feat: RA store (#12833)
* feat: RA store

* feat: 生息演算商店接入刷点数

* fix: 停止方式
2025-05-31 18:13:14 +08:00
status102
498736ec22 fix: Telegram外部通知请求日志uri调整
fix#11983

咋uri给明文token, 怪哎
2025-05-30 19:42:07 +08:00
status102
d42944e3b5 refactor(wpf): HttpService日志中uri统一使用UriPartial限制 2025-05-30 19:42:07 +08:00
HY
1ab6f93358 fix: 繁中服薩卡茲肉鴿 ocr (#12829) 2025-05-30 12:26:32 +02:00
status102
3f3262a82b i18n: wpf CN 修改描述连战次数 -> 代理倍率 (#12827)
i18n: wpf 修改描述`连战次数` -> `代理倍率`
2025-05-30 17:22:34 +08:00
status102
75464abd73 chore: 生成时清理template, tasks, global缓存 2025-05-30 15:15:51 +08:00
status102
a017fe9a9f fix: wpf任务状态并发修改 2025-05-30 10:59:46 +08:00
status102
3cfc853d10 fix: 非部署动作时, 动作前等待结束后不必要的部署区更新可能触发暂停识别, 导致动作滞后 2025-05-29 22:15:23 +08:00
status102
b516bbf7fd perf: 肉鸽投资达限时, 增加输出提示 (#12818) 2025-05-29 22:04:46 +08:00
uye
2b7ea316d1 feat: 新增 JsonDataHelper,抽离 gui.json 中巨大的 data 类型数据到 data 文件夹中 (#12795) 2025-05-29 21:40:27 +08:00
status102
a59219ea66 refactor: 迁移肉鸽任务部分回调 2025-05-29 10:36:29 +08:00
status102
4fec94f580 chore: else if替换独立if
[skip changelog]
2025-05-29 10:26:10 +08:00
status102
d50c4a4f82 feat: template重复检查 2025-05-28 23:41:51 +08:00
uye
ca65482ca8 Release v5.17.0-beta.1 (#12812)
This reverts commit 38b0742a4a.
2025-05-28 23:41:02 +08:00
uye
4bac9f6c71 Revert "chore: 还原 RA/Fire.json"
This reverts commit 38b0742a4a.
2025-05-28 23:39:07 +08:00
uye
332f890b11 Release v5.17.0-beta.1 (#12785) 2025-05-28 22:43:31 +08:00
uye
38a7f78dd7 docs: Update CHANGELOG.md 2025-05-28 22:43:10 +08:00
uye
38b0742a4a chore: 还原 RA/Fire.json 2025-05-28 22:35:50 +08:00
github-actions[bot]
03a966d66d docs: Auto Update Changelogs of v5.17.0-beta.1 (#12809)
* docs: Auto Generate Changelog of Release v5.17.0-beta.1

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-05-28 19:27:15 +08:00
HY
e1d81e40cb feat: 繁中服 薩卡茲肉鴿 (#12800)
* feat: 更新薩卡茲肉鴿的相關內容

* chore: 補充截圖

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 小修一點目前有遇到的 OCR 錯誤

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 繼續補充截圖 + 調整未開放分隊的名稱

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 最後一張圖片了

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 再修一點 ocr 問題

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-27 17:50:18 +02:00
github-actions[bot]
ef1da986b5 chore: Auto Update Game Resources - 2025-05-27
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15275374794

[skip changelog]
2025-05-27 12:34:37 +00:00
AnnAngela
8b144fe4de fix: 我面前站不下这许多人
```
     %~fI        - 将 %I 扩展到一个完全合格的路径名
     %~dI        - 仅将 %I 扩展到一个驱动器号
     %~pI        - 仅将 %I 扩展到一个路径
     %~nI        - 仅将 %I 扩展到一个文件名
     %~xI        - 仅将 %I 扩展到一个文件扩展名
```
2025-05-27 17:03:57 +08:00
晓丶梦丶仁
db18965bff fix: KR 驮兽旅行家 OCR 2025-05-27 15:08:38 +08:00
status102
59ba947489 Merge tag 'v5.16.10' into dev
v5.16.10
2025-05-26 10:50:30 +00:00
status102
d0abdde209 Release v5.16.10 (#12793) 2025-05-26 18:49:55 +08:00
status102
81c27e1a0a docs: changelog 2025-05-26 18:49:39 +08:00
status102
d7d438e067 fix: BattleQuickFormationOCR in EN 2025-05-26 17:13:13 +08:00
Manicsteiner
bc9afbd20c chore: YostarJP FormationOCR params (#12783) 2025-05-26 17:13:13 +08:00
status102
b9032ccf2e perf: Sync OperBoxNameOCR roi to EN 2025-05-26 17:13:12 +08:00
status102
5bab8053b2 fix: OperBox Roi for EN 2025-05-26 17:13:12 +08:00
status102
b1e064a5db Revert "fix: OperBox Roi for EN"
This reverts commit 4abecee9c7.
2025-05-26 17:13:12 +08:00
Constrat
8eb09c9992 fix: clang
[skip changelog]
2025-05-26 17:13:11 +08:00
status102
1f583c3cbe fix: OperBox Roi for EN 2025-05-26 17:13:11 +08:00
status102
99ea5dc070 fix: 自动编队添加自定义干员时, 点击位置错误 2025-05-26 17:13:11 +08:00
status102
07d2decb11 fix: OperBox ROI 更正
fix #12770
2025-05-26 17:13:10 +08:00
status102
e23c362cf3 refactor: 干员名识别封装 2025-05-26 17:13:10 +08:00
Constrat
4c9a19b81a i18n: EN tweak 2025-05-26 17:13:10 +08:00
github-actions[bot]
17fe445d50 chore: Auto Update Game Resources - 2025-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15192605330

[skip changelog]
2025-05-26 17:13:09 +08:00
uye
87bbd07ecf feat: 更新识别工具逻辑与显示效果 (#12791)
* feat: 仓库识别持久化储存

* feat: 干员识别数据支持启动时显示

* fix: 小工具初始化

* perf: 干员识别使用 VirtualizingWrapPanel,加快加载速度

* perf: 掉落识别使用 VirtualizingWrapPanel,加快加载速度

* feat: 逐项滚动
2025-05-26 16:48:24 +08:00
uye
1803f77325 chore: 重启函数添加 CallerMemberName,UntilIdleAsync 添加消抖 2025-05-26 14:38:38 +08:00
Manicsteiner
4b6c7319bd chore: YostarJP roguelike ocr edit (#12789) 2025-05-25 16:55:25 +02:00
HX3N
1c49ccaf23 fix: global templates are not loaded (#12787) 2025-05-25 15:49:31 +08:00
Loong
15d921e21d chore: bump maa-cli to 0.5.5 (#12664) 2025-05-25 10:13:25 +08:00
Sherkey Asher
515f8b2c5f feat: 模板图允许从子文件夹加载 (#12717)
* rft: 重构模板图位置

* rft: remove all Fire@Reclamation files

* feat: 支持从子文件夹加载模板

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 更新模板加载逻辑文档

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-24 23:00:18 +08:00
status102
295a6f8753 chore(WpfGui): 防止缓存的任务文件被意外覆盖 2025-05-24 15:46:54 +08:00
status102
3799d6cfd0 fix: BattleQuickFormationOCR in EN 2025-05-24 10:43:22 +08:00
Manicsteiner
13e69e09e9 chore: YostarJP FormationOCR params (#12783) 2025-05-23 20:47:19 +02:00
uye
c58f525155 chore: 调整技能识别保存截图的阈值 2025-05-23 21:52:36 +08:00
uye
f96e41da1d feat: 截图测试可以在自动检测的情况下使用 2025-05-23 20:11:50 +08:00
status102
6a697a7142 perf: Sync OperBoxNameOCR roi to EN 2025-05-23 18:18:11 +08:00
status102
023499b2ba fix: OperBox Roi for EN 2025-05-23 18:18:11 +08:00
status102
c921eafe48 Revert "fix: OperBox Roi for EN"
This reverts commit 4abecee9c7.
2025-05-23 18:18:10 +08:00
Constrat
3c547ebc7a fix: clang
[skip changelog]
2025-05-23 10:32:13 +02:00
status102
4abecee9c7 fix: OperBox Roi for EN 2025-05-23 16:15:08 +08:00
status102
c9d4a1bbac fix: 自动编队添加自定义干员时, 点击位置错误 2025-05-23 15:26:24 +08:00
status102
efe817d45a fix: OperBox ROI 更正
fix #12770
2025-05-23 15:26:15 +08:00
status102
1679cea5c5 refactor: 干员名识别封装 2025-05-23 15:17:55 +08:00
status102
75012b2252 feat: 自动战斗费用识别缓存, 减少性能消耗 (#12765)
* feat: 自动战斗费用识别缓存

* refactor: 返回值格式

* chore: 改个名字

* chore: rename

* fix: 改名改着改着改错了

* fix: var init

* perf: 简化返回值

* fix: template

* fix: platform
2025-05-23 09:02:00 +08:00
Constrat
bc6059b33c i18n: EN tweak 2025-05-22 21:01:27 +02:00
github-actions[bot]
a7f78b5650 chore: Auto Update Game Resources - 2025-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15192605330

[skip changelog]
2025-05-22 17:07:02 +00:00
status102
1d7efcd07b rft: TooltipBlock封装 (#12773)
* rft: TooltipBlock封装

* fix: TooltipText 绑定失败

* rft: 自动战斗提示替换

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-22 17:53:22 +08:00
status102
ec6c219673 Release v5.16.9 (#12771) 2025-05-22 17:23:24 +08:00
github-actions[bot]
7a86355a96 chore: Auto Update Game Resources - 2025-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15182548981

[skip changelog]
2025-05-22 09:08:30 +00:00
github-actions[bot]
ac4a1c6b4b chore: Auto Update Game Resources - 2025-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15181422645

[skip changelog]
2025-05-22 08:10:08 +00:00
github-actions[bot]
025c7fa72b chore: Auto Update Game Resources - 2025-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15180975779

[skip changelog]
2025-05-22 07:44:49 +00:00
github-actions[bot]
937ce54362 docs: Auto Update Changelogs of v5.16.9 (#12772)
docs: Auto Generate Changelog of Release v5.16.9

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-22 14:23:10 +08:00
status102
7a86697006 perf: 账号切换查找账号最大滑动次数增加到20 2025-05-22 11:01:18 +08:00
status102
4bf790ab3e fix: 理智药使用计数超过实际用量 2025-05-22 11:00:36 +08:00
Lemon-miaow
63fc00a077 feat: 为Copilot添加土司通知 (#12764)
feat: Copilot土司通知
2025-05-22 09:40:52 +08:00
Constrat
549e244605 ci:: remove stale update_resources logic from version script 2025-05-21 22:52:17 +02:00
github-actions[bot]
99d5cf63f8 chore: Auto Update Game Resources - 2025-05-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15171563568

[skip changelog]
2025-05-21 20:08:23 +00:00
status102
604ab8f603 docs: 特征匹配detector遗漏 2025-05-21 11:44:47 +08:00
uye
6840318470 Release v5.16.8 (#12756) 2025-05-21 11:32:27 +08:00
uye
b6a9c5e671 docs: Update CHANGELOG.md 2025-05-21 11:31:38 +08:00
uye
27f471fa07 feat: 别再把 maa 放在 Program Files 里了 2025-05-21 11:28:10 +08:00
github-actions[bot]
f3686ebbd3 docs: Auto Update Changelogs of v5.16.8 (#12757)
* docs: Auto Generate Changelog of Release v5.16.8

* docs: cahgnelgo

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-05-21 11:22:52 +08:00
status102
aa0eaea4dd fix: 自动编队干员Ocr左侧内缩过度 2025-05-21 11:08:49 +08:00
status102
566ff62cb0 fix: RegionOcr阈值过滤膨胀后超出原roi 2025-05-21 11:06:37 +08:00
status102
739110255b fix: 自动编队roi溢出闪退 2025-05-21 09:57:47 +08:00
status102
f6c6fca5ca chore: 修复roi超限
@Lemon-miaow
2025-05-21 09:42:32 +08:00
uye
cb9eae7bed chore: 更新 version.json
[skip changelog]
2025-05-21 01:31:15 +08:00
uye
913c4b1f8a chore: 更新 version.json
[skip changelog]
2025-05-21 01:29:52 +08:00
uye
4fe35cbb81 Release v5.16.7 (#12753) 2025-05-21 01:11:44 +08:00
github-actions[bot]
b9eea18342 docs: Auto Update Changelogs of v5.16.7 (#12754)
* docs: Auto Generate Changelog of Release v5.16.7

* docs: ahcneglog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-05-21 01:10:33 +08:00
uye
0552f8690b chore: 同一格式 2025-05-21 01:10:07 +08:00
pre-commit-ci[bot]
f06657867a chore: Auto update by pre-commit hooks [skip changelog] 2025-05-20 16:48:00 +00:00
status102
0ab8bf1b7a fix: 使用理智药后状态未能更新 2025-05-21 00:44:32 +08:00
status102
b259f13202 fix: 使用理智药超限后减少后无法确认使用理智药 2025-05-21 00:30:01 +08:00
status102
4d554f413e fix: 使用理智药后状态未能更新 2025-05-21 00:30:00 +08:00
uye
01d187a943 chore: 自动战斗循环 BattleStartPre retry 3次 2025-05-21 00:24:09 +08:00
SherkeyXD
e898eee450 chore: task schema update 2025-05-21 00:03:05 +08:00
status102
aeed5b4fa0 chore: 调整战斗列表说明 2025-05-20 20:17:51 +08:00
status102
162908dfdf perf: wpf版本不一致仅允许DebugVersion 2025-05-20 20:17:34 +08:00
uye
ee97a4528f perf: 地图截图改用 jpeg 2025-05-20 20:06:05 +08:00
uye
0228156cde perf: 地图截图使用 360p 保存坐标点,节省储存空间 2025-05-20 19:37:54 +08:00
uye
04a95fb27b chore: 怎么又忘了把 isDebug 还原
[skip changelog]
2025-05-20 18:44:44 +08:00
uye
b5d372ab52 chore: 调整界面提示 2025-05-20 18:44:01 +08:00
uye
32986f40c8 chore: 选择 Mirror酱 更新渠道更新软件版本但未填写 cdk 时 Fallback 至海外源 2025-05-20 17:30:38 +08:00
uye
e4aa0b7a11 perf: 优化 Placeholder 提示 2025-05-20 16:55:19 +08:00
uye
c7cd335a2e chore: 移除 debug
[skip changelog]
2025-05-20 16:24:57 +08:00
uye
81a98638b0 perf: 优化检查更新逻辑 2025-05-20 16:24:15 +08:00
Hao Guan
c92502aed1 fix(mac): 修复Mirror酱资源更新问题 2025-05-20 15:30:25 +08:00
status102
49d4dc78b1 perf: 自动战斗编队优化干员识别, 修复roi未包含完整干员名 (#12740)
* perf: 自动战斗编队优化干员识别

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: task

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-20 14:31:35 +08:00
晓丶梦丶仁
9d85c3c3b4 Release v5.16.6 (#12745) 2025-05-20 13:23:57 +08:00
github-actions[bot]
d96c26471b docs: Auto Update Changelogs of v5.16.6 (#12746)
* docs: Auto Generate Changelog of Release v5.16.6

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-05-20 10:12:06 +08:00
uye
bdc3630b7a feat: 显示资源关卡全开放剩余时间 2025-05-19 01:01:14 +08:00
status102
f76db36364 fix: mac platform 2025-05-18 23:36:54 +08:00
status102
7f4a95280c fix: 自动战斗编队时重复选中同一干员 2025-05-18 20:57:34 +08:00
status102
711041f190 perf: 自动战斗编队时增加干员组名输出 2025-05-18 19:56:25 +08:00
status102
21086dcf68 fix: 部分情况下刷理智连战使用AUTO模式时, 吃理智药溢出理智 2025-05-18 19:56:03 +08:00
uye
2c3b6ac50a feat: 更新解决方案 2025-05-18 19:54:40 +08:00
晓丶梦丶仁
743c51a4b5 fix: 开始行动 点击过快 2025-05-18 18:58:14 +08:00
github-actions[bot]
61ce039b12 chore: Auto Update Game Resources - 2025-05-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15095131924

[skip changelog]
2025-05-18 10:45:40 +00:00
晓丶梦丶仁
f6788e6029 fix: 开始行动 ocr replace 2025-05-18 18:42:09 +08:00
uye
a7ed964cb0 fix: 延迟停止按钮叠加显示 2025-05-18 17:40:28 +08:00
Constrat
a91fc84942 fix: formatting ci prettier and clang
[skip changelog]
2025-05-18 11:21:02 +02:00
萨拉托加
66ef1f0836 fix: ocr fix (#12736)
* fix: ocr fix

* fix: 还原
2025-05-18 15:24:21 +08:00
uye
f0a3bbf16a chore: 修改 not in deploy plan 提示 2025-05-18 15:05:39 +08:00
uye
529fedd95e chore: point_states 改用 unordered_map 2025-05-18 14:06:20 +08:00
uye
434932d39a fix: ci format 2025-05-18 13:35:33 +08:00
uye
6601c6621c chore: 调整截图保存逻辑 2025-05-18 12:23:26 +08:00
筱竹聽雨
7a65be5fa5 chore: 尚蜀夜市招募黑名单添加新约能天使 (#12734)
chore:优化黑名单

将新约能天使加入黑名单
2025-05-18 08:37:21 +08:00
github-actions[bot]
0ca0de9663 chore: Auto Update Game Resources - 2025-05-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15085694756

[skip changelog]
2025-05-17 13:31:06 +00:00
status102
c69ce8ca7a perf: 黄票绿票商店使用特征匹配 2025-05-17 21:21:40 +08:00
status102
9bccb24654 chore: 黄绿票商店任务整理 2025-05-17 21:11:25 +08:00
status102
0d4ffca813 fix: 指定战斗次数后剩余次数小于连战次数时,可能修改到非指定连战次数 2025-05-17 20:03:22 +08:00
晓丶梦丶仁
b13e4d022b Revert "perf: 黄票绿票商店使用特征匹配 (#12718)"
This reverts commit 57888f783e.
2025-05-17 18:54:29 +08:00
晓丶梦丶仁
110847e005 fix: IS4 竣工仪式 2025-05-17 15:13:46 +08:00
Manicsteiner
772424e920 chore: YostarJP ocr fix (#12729) 2025-05-17 11:34:49 +08:00
status102
57888f783e perf: 黄票绿票商店使用特征匹配 (#12718)
* perf: 黄票绿票商店使用特征匹配

* fix: task
2025-05-16 23:52:45 +08:00
Constrat
f4ee5356d1 fix: SSSBuffChoose for YostarEN 2025-05-16 11:42:54 +02:00
Loong
035fdaa6ca chore: find OpenCV features2d and xfeatures2d components (#12714) 2025-05-16 10:17:45 +01:00
status102
2d4c556bc6 perf: 简化基建任务自定义配置路径Readonly 2025-05-16 16:13:46 +08:00
status102
58a3157bb3 fix: FeatureMatch任务无法读取roi 2025-05-16 13:37:40 +08:00
status102
848ebeb747 feat: ProcessTask支持特征匹配 (#12701)
* feat: ProcessTask支持特征匹配

* chore: test

* fix: test

* docs: task文档
2025-05-16 13:13:48 +08:00
uye
989ba7ee52 chore: 矢量突破开始行动 2025-05-16 01:45:09 +08:00
vonnoq
53e3ec8273 fix: 繁中服悖論模擬 (#12711)
* fix: 繁中服悖論模擬

繁中服悖論模擬UI更新

* fix: 繁中服悖論模擬

繁中服悖論模擬UI更新
2025-05-16 00:39:26 +08:00
MistEO
dbc1f1f6da chore: ota.maa.plus -> api.maa.plus 2025-05-15 23:19:13 +08:00
github-actions[bot]
0d57e73bb4 chore: Auto Update Game Resources - 2025-05-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15043371741

[skip changelog]
2025-05-15 11:07:01 +00:00
github-actions[bot]
cf4553fa0a chore: Auto Templates Optimization
Triggered by 0af71a9f32

[skip changelog]
2025-05-15 10:08:39 +00:00
Constrat
0af71a9f32 fix: remove cachie from optimize templates
what's the issue?
2025-05-15 12:07:08 +02:00
pre-commit-ci[bot]
6ab3b6cc56 chore: Auto update by pre-commit hooks [skip changelog] 2025-05-15 18:04:31 +08:00
Constrat
ec1de48e42 fix: update-resources.yml removal from res-update-game 2025-05-15 12:01:30 +02:00
github-actions[bot]
87e43d91f0 chore: Auto Update Game Resources - 2025-05-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15041077348

[skip changelog]
2025-05-15 09:09:57 +00:00
uye
6104d0602b refactor: 重构干员识别
fix #12703
2025-05-15 14:17:53 +08:00
github-actions[bot]
f04b9a6409 chore: Auto Update Game Resources - 2025-05-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15037893648

[skip changelog]
2025-05-15 06:10:32 +00:00
github-actions[bot]
4fbb831c44 chore: Auto Update Game Resources - 2025-05-15
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/15037365361

[skip changelog]
2025-05-15 05:30:34 +00:00
uye
9301ea44b1 chore: 调整 prts 颜色 2025-05-15 00:24:05 +08:00
uye
7e7beabb35 chore: 添加几个专精 ocrReplace 2025-05-14 23:39:13 +08:00
uye
eb5803fef7 Release v5.16.5 (#12688) 2025-05-14 23:22:28 +08:00
github-actions[bot]
24f2cb5cbf docs: Auto Update Changelogs of v5.16.5 (#12698)
* docs: Auto Generate Changelog of Release v5.16.5

* docs: changelog

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-05-14 23:21:53 +08:00
uye
fb8f3b78ad fix: 凹开局干员直升精二选项显示时机错误 2025-05-14 22:25:27 +08:00
status102
abcaf2ee06 perf: 肉鸽不期而遇退出检测加个重试 2025-05-14 20:37:46 +08:00
萨拉托加
03188824f7 Revert "feat: 在肉鸽招募中增加m3作为群奶 (#12353)"
This reverts commit 76a007501a.
2025-05-14 16:54:48 +08:00
status102
340e2798a0 docs: 任务流color_scales注释优化 2025-05-14 16:18:02 +08:00
status102
f9d468f557 perf: 指定类型 2025-05-14 16:15:09 +08:00
status102
e71eb3985d fix: 连战次数乘号匹配失败 2025-05-14 15:55:33 +08:00
uye
5adb76e377 feat: 调整连战输出 2025-05-14 15:06:18 +08:00
Hao Guan
be0ff90b8a feat(mac): 新增基建配置 2025-05-14 13:57:25 +08:00
晓丶梦丶仁
cd723f2210 perf: store loading 2025-05-14 11:29:21 +08:00
晓丶梦丶仁
93ab1cc811 fix: yellow ticket items 2025-05-14 10:25:51 +08:00
uye
92421d464c chore: 简化代码 2025-05-14 10:18:02 +08:00
Loong
260ab6e839 ci: don't check github link (#12667)
* ci: don't check github link

* ci: remove cache

* chore: readd cache

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-05-13 16:39:44 +02:00
status102
7e3e43e81a fix: ocrTask text 2025-05-13 21:43:07 +08:00
status102
3b3056a65f chore: 提示补全 2025-05-13 19:56:45 +08:00
status102
5aa1d74b96 chore: NumberReplace 2025-05-13 19:56:44 +08:00
status102
b9f196c3a1 feat: 特征匹配 (#10966)
* feat: 特征匹配

* chore: 测试内容

* refactor: 根据最新版本重新迁移, 移除多模板

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 测试移除

* fix: platform

* chore: docs

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-13 18:24:16 +08:00
MistEO
c7a8191e03 chore: 再次调整官网细节 2025-05-13 14:27:32 +08:00
MistEO
3a87307bda chore: 调整官网标题 2025-05-13 14:21:05 +08:00
晓丶梦丶仁
f0ff035546 Revert "fix: github change string to int (#12574)"
This reverts commit 539e2b48b2.
2025-05-13 13:23:05 +08:00
晓丶梦丶仁
81504417c7 fix: Store@UnderfundedOCR 2025-05-13 11:37:09 +08:00
晓丶梦丶仁
771c3e53b7 i18n: 绿票、黄票、活动商店 (#12674)
* i18n: en

* i18n: temp

* i18n: jp

* chore: YostarJP buy items

* fix: template task

* fix: en

* i18n: kr

* i18n: tw

---------

Co-authored-by: Manicsteiner <Manicsteiner@outlook.com>
2025-05-13 11:35:54 +08:00
晓丶梦丶仁
5cc7861d5c fix: store underfunded ocr full match 2025-05-13 00:46:51 +08:00
status102
61f25c94e5 fix: 再铲一屎 2025-05-13 00:03:02 +08:00
github-actions[bot]
8da46bf991 chore: Auto Update Game Resources - 2025-05-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14973978510

[skip changelog]
2025-05-12 13:49:04 +00:00
晓丶梦丶仁
26f421418e feat: 绿票、黄票、活动商店 (#12586)
* feat: 绿票、黄票商店

* i18n: EN fix

* feat: 活动商店

* perf: baseTask

* perf: 非代币关联性模板

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: baseTask

* chore: sub

* chore: 修改截图

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 第一页买完之后无法进行活动商店购买

* fix: 买完皮肤、干员之后的 swipe

* chore: 修改描述

* perf: 购买商品确认next优化

* perf: 模板图复用

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 合并部分task

* fix: 代币不足

* fix: 代币不足 ocr

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-12 21:45:19 +08:00
uye
82dbe28b5e fix: cache 移动逻辑 2025-05-12 19:42:53 +08:00
status102
cc7c740921 fix: 这回应该铲完了
[skip changelog]
2025-05-12 19:09:00 +08:00
status102
4396c71802 fix: ubuntu unused 2025-05-12 18:59:23 +08:00
status102
351529d4cf fix: 铲屎包了个try
[skip changelog]
2025-05-12 18:49:24 +08:00
status102
eeeca5aa0f fix: 铲屎 2025-05-12 18:44:47 +08:00
uye
37c712637c fix: 修复了屎遇上手动覆盖文件的大聪明爆炸的问题 2025-05-12 18:40:51 +08:00
status102
3c995514a6 chore: mark 2025-05-12 17:37:09 +08:00
uye
5038576b75 chore: 调整 UI 与 Core 版本不一致的解决方案提示 2025-05-12 17:17:15 +08:00
uye
43952444bb chore: 点击任意职业回正列表 2025-05-12 15:49:14 +08:00
uye
1848caf82a refactor: 基建先进行技能识别并返回列表首位,再清空选择
fix #12659
2025-05-12 13:36:01 +08:00
status102
baff16c024 fix: 修复MaaCore asst.log文件句柄泄露 (#12639)
* fix: 尝试修复日志文件句柄泄露

* fix: platform

* fix: platform

* fix: platform

* fix: platform

* fix: cr-lf

* chore: useless
2025-05-11 19:34:01 +08:00
uye
894d540649 Release v5.16.4 (#12655) 2025-05-11 18:11:37 +08:00
uye
aef60f179c docs: Update CHANGELOG.md 2025-05-11 18:10:47 +08:00
status102
25903aba2d fix: 修复外服基建干员选择列表无法重置 (#12652)
fix #12649
2025-05-11 18:06:32 +08:00
status102
42f57797d7 style: format
[skip changelog]
2025-05-11 13:21:18 +08:00
MistEO
30ade6e2a6 ci: add mirrorchyan link to changelog 2025-05-11 01:53:53 +08:00
uye
017147f3f6 Release v5.16.3 (#12619) 2025-05-11 00:46:57 +08:00
github-actions[bot]
4c5afa12c7 docs: Auto Update Changelogs of v5.16.3 (#12640)
* docs: Auto Generate Changelog of Release v5.16.3

* docs: changelog

* docs: changelog

* docs: changelog

* docs: Update CHANGELOG.md

* docs: remove unnecessary bot

* docs: changelog

* docs: changelog

* docs: cahgenlog

* docs: Update CHANGELOG.md

* docs: 翻译

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-05-11 00:44:27 +08:00
Rbqwow
2fa5c743cc docs: 用户协议 (#11666)
* docs: 初版用户协议

* docs: 贴合AGPL-3.0修改协议(1/2)

* docs: 贴合AGPL-3.0修改协议(2/3)

* docs: 贴合AGPL-3.0修改协议(3/3)

* docs: 用户协议添加tldr

* docs: review (2/3)

Co-authored-by: AnnAngela <naganjue@vip.qq.com>

* docs: 学姐:把森空岛拆出来

* docs: tldr增加免责说明

* docs: 改个词

* docs: 赦免Mirror酱

* docs: 来点加粗

* docs: 强调一下官方账号

* docs: 成年

* docs: 企鹅物流不一定匿名

* docs: 玛

a3d81c6029

* docs: 添加超链接引用

* docs: review

玛

* docs: Update terms-of-service.md

* docs: review

玛玛

* docs: 玛说要有镜,于是丽便有了光

* docs: 写多了 但我的 git rebase -i 坏掉了 只能再推个commit

* docs: 修改文档

* docs: 客户端反作弊

* docs: no deepseek anymore

---------

Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: No-Deepseek <do-not-use-deepseek-to-suck-my-ass@rbqwow.icu>
2025-05-10 23:33:43 +08:00
uye
1702372f0f chore: 统一引号 2025-05-10 23:17:51 +08:00
status102
3dc32c1368 Revert "fix: 指定连战次数允许降低"
This reverts commit d6415c301b.
2025-05-10 23:13:16 +08:00
status102
d6415c301b fix: 指定连战次数允许降低 2025-05-10 23:11:02 +08:00
eneen
9bd75e6692 perf: 添加萨卡兹肉鸽劳作的清晨关卡策略 (#12626)
* perf: 添加萨卡兹肉鸽劳作的清晨关卡策略

* fix: typo

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: ew摆放

* perf: replacement_home

* perf: 调整部署位置

* perf: 遗漏

* perf: 修改站位

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-05-10 22:39:36 +08:00
神楽坂アイリス
9dc8c05a73 feat: 添加 自定义 webhook 功能 (#12602)
* feat: 添加自定义Webhook通知功能

* chore: 删除无用文件

* chore: 调整格式,修改日志输出

* chore: 调整翻译位置

* chore: 使用 EnsureSuccessStatusCode 判断状态

* chore: 动态调整输入框高度

* fix: 修改 CustomWebhookBody 时报错

* feat: body 转义

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-10 20:05:52 +08:00
萨拉托加
00d1f93472 feat: 肉鸽适配新干员 (#12599)
* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* feat: 肉鸽适配新干员

* fix: 卫士不语功站位
2025-05-10 20:00:56 +08:00
uye
639c6d711b perf: 基建使用切换职业栏返回列表最左侧 (#12594)
肉鸽用不了,没有对应职业的话是灰的,除非全部匹配一遍,反正不长,还是慢慢划吧

fix #11782
2025-05-10 19:58:38 +08:00
uye
bd6176b25f fix: 开始战斗前闪退无限循环识别,关卡名检查放宽至一分钟 (#12580) 2025-05-10 19:58:07 +08:00
晓丶梦丶仁
e60a065ba4 fix: 肉鸽招募 练度不够干员的 priority 可能为正 2025-05-10 17:08:47 +08:00
uye
41c9643b38 feat: 调整提示颜色 2025-05-10 14:31:43 +08:00
status102
1e9d9ba5a0 perf: 连战减少不必要的次数调整 2025-05-10 14:00:04 +08:00
status102
678f0bd60e docs: 连战次数文档更新
`AUTO模式`相关说明
2025-05-10 13:52:06 +08:00
status102
9bffc02d7f chore: static 2025-05-10 12:33:47 +08:00
status102
9c020dd5f9 perf: 战斗次数识别错误处理 2025-05-10 12:33:30 +08:00
BxFS
e159598dc8 chore: 日志压缩包压缩等级提升 (#12622)
chore: support payload compression level optimal -> smallest
2025-05-09 19:40:03 +08:00
uye
022b39c25a chore: 修改连接失败提示描述 2025-05-09 16:22:57 +08:00
pre-commit-ci[bot]
e94e3888bb chore: Auto update by pre-commit hooks [skip changelog] 2025-05-09 07:45:41 +00:00
晓丶梦丶仁
ed2c55e81c fix: 切换账号失败 2025-05-09 15:43:22 +08:00
pre-commit-ci[bot]
b861c544a6 chore: Auto update by pre-commit hooks [skip changelog] 2025-05-09 06:01:16 +00:00
uye
c72d99a030 fix: 模拟器路径选择功能弹窗异常
fix #12612
2025-05-09 13:52:05 +08:00
status102
4a836290b9 perf: 关卡理智识别流程通用化 2025-05-09 10:45:41 +08:00
status102
34a5bfdd3d fix: 战斗次数识别错误缓解 2025-05-09 10:08:21 +08:00
github-actions[bot]
1a072e302e chore: Auto Update Game Resources - 2025-05-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14914121819

[skip changelog]
2025-05-08 19:06:31 +00:00
HX3N
e2e496122a chore: YostarKR BattleStartPre add ocrReplace pattern 2025-05-08 19:22:37 +09:00
uye
6ac61f2274 fix: 截图增强显示错误 2025-05-08 18:01:32 +08:00
Manicsteiner
a68ee788e1 chore: YostarJP ocr edits (#12607) 2025-05-08 17:42:55 +08:00
E022-23093
7022a6d298 feat: 更新 333 搓玉一天三换排班表 (#12604)
* feat: 更新 333 搓玉一天三换排班表

* fix:改了id

改了id
2025-05-08 17:38:58 +08:00
uye
5cda61f8a6 style: typo
[skip changelog]
2025-05-08 17:29:06 +08:00
uye
b37afbaec1 fix: 无法进入活动 2025-05-08 17:28:39 +08:00
uye
be075ab749 style: 统一引号格式 2025-05-08 17:27:20 +08:00
github-actions[bot]
6461d6a7e2 chore: Auto Update Game Resources - 2025-05-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14902851289

[skip changelog]
2025-05-08 09:08:14 +00:00
status102
68130ede6d refactor: HttpService调整, Post函数追加 (#12605)
* refactor: WpfGui拆解GetAsync, 暴露Exception, 增加PostAsync

* perf: 优化自动战斗获取作业时网络问题的输出
2025-05-08 16:44:27 +08:00
status102
2f7d4a6c91 perf: 优化自动战斗获取作业时网络问题的输出 2025-05-08 16:12:40 +08:00
status102
8a6982a144 refactor: WpfGui拆解GetAsync, 暴露Exception, 增加PostAsync 2025-05-08 15:50:16 +08:00
github-actions[bot]
5a2e2f2d6a chore: Auto Update Game Resources - 2025-05-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14901360586

[skip changelog]
2025-05-08 07:45:07 +00:00
uye
754b4135cc style: 统一引号格式 2025-05-08 15:05:07 +08:00
status102
966ded3836 fix: 关闭连战列表点击 2025-05-08 10:07:01 +08:00
status102
b9e69dde73 perf: 减少一次不必要的连战次数变更 2025-05-08 10:02:46 +08:00
status102
f184093732 fix: 关闭连战列表 2025-05-08 09:52:25 +08:00
uye
ef844da918 fix: 刷理智结束后卡在“理智药选择”界面
fix #12601
2025-05-08 09:40:20 +08:00
uye
a3ac79d999 chore: 好像提示了也没人看 2025-05-08 00:05:25 +08:00
status102
29b25079b8 feat(breaking change): 指定次数联动连战, 修复连战导致指定次数失效 (#12592)
* feat: 指定次数联动连战

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 适配指定次数

* fix: 移除不再使用的插件

* perf: 优化回调, 解耦

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 剩余理智使用 auto 连战

* fix: 最后一轮

* perf: 移除多余的理智识别

* chore(tools): ignore template

* perf: reduceTimes

* fix: 无药可用时, 升级恢复理智后不选择最高

* perf: 移除不再使用的task

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-05-07 23:43:02 +08:00
status102
7059375a2f chore: sort [skip changelog] 2025-05-07 19:10:28 +08:00
bodayw
062397669f feat: 更新 243 极限效率一天四换排班表(20250507 修订) (#12598)
让见行者和信仰搅拌机到会客室上班 / Let Enforcer and Sankta Miksaparato work in the reception room

顺便补上了之前忘记备份到 old 子目录下的旧排班表(取 custom_infrast 目录内自 commit 3f858de 之后所有 feat 类改动的前一个版本,fix/chore 就不要了)

PS. 这次是我自己做的调整,公孙长乐的排班表并没有变化(他的视频不排会客室),不过还是把视频链接也更新了一下,另外考虑到用到了最新实装的干员,所以本 commit 也还是标记为 feat 吧
2025-05-07 19:09:03 +08:00
status102
c7d1718d97 chore: 加点常用的进来 2025-05-07 18:19:09 +08:00
status102
9d875538bf fix: 移除肉鸽难度hard code (#12587)
Revert "fix: mac下选择难度 999 导致卡死 (#12235)"

This reverts commit 0dbd5ee80b.
2025-05-07 14:06:25 +08:00
Hao Guan
6a05dfa694 feat(mac): AUTO连续作战
feat(mac): 优化下载作业UI
2025-05-07 13:14:53 +08:00
uye
109d20d3fd chore: 调整超时提醒输出 2025-05-07 13:09:27 +08:00
status102
e579d2c683 rft: 理智识别 2025-05-06 23:55:37 +08:00
status102
c3a7ae0c22 perf: 移除过旧的任务参数
涉及:
自动战斗: is_raid, is_adverse, add_user_additional
肉鸽任务: investment_enter_second_floor, investment_with_more_score
2025-05-06 18:21:55 +08:00
status102
558746add6 docs: 连战次数auto 文档 2025-05-06 18:11:32 +08:00
status102
d51895af57 fix: 连战次数修复, 减少hard code 2025-05-06 18:11:31 +08:00
Constrat
512ffa55bb ci: revert all markdown checker changes
nothing worked anyway

[skip changelog]
2025-05-06 11:21:38 +02:00
Constrat
56f2b35ea7 ci: try with action token:
[skip changelog]
2025-05-06 11:20:27 +02:00
Constrat
3086cee0cc ci: duplicate env keyword github_token
[skip changelog]
2025-05-06 11:12:12 +02:00
Constrat
66577b193c ci: reimplement contents: read
[skip changelog]
2025-05-06 11:08:18 +02:00
Constrat
35f28a7c29 ci: change to force --github-token
[skip changelog]
2025-05-06 11:07:22 +02:00
Constrat
245279711d ci: lychee dead links
[skip changelog]
2025-05-06 11:04:19 +02:00
Yoake
979f6699cc Reapply "feat:实现自适应调整连战次数 (#12555)"
This reverts commit 7359653317.

移除不相关的文件修改

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-06 16:57:04 +08:00
status102
7359653317 Revert "feat:实现自适应调整连战次数 (#12555)"
This reverts commit 254db83bf6.

Revert "chore: 新增 AUTO 选项"

This reverts commit 722302bc28.

Revert "chore: Auto update by pre-commit hooks [skip changelog]"

This reverts commit 22f88ef718.

Revert "chore: 连战新增 -1 表示禁用切换"

This reverts commit 4debf210bd.
2025-05-06 16:55:26 +08:00
uye
f311f8525e docs: 补上之前漏改的 tasks 路径修改 2025-05-06 16:03:22 +08:00
uye
4debf210bd chore: 连战新增 -1 表示禁用切换 2025-05-06 14:27:06 +08:00
uye
1eeae5326f chore: 优化提示 2025-05-06 11:05:21 +08:00
Lucien Shaw
ce3624cfbb docs: 更正保全派驻协议文档中的拼写错误 (#12578) 2025-05-06 10:51:19 +08:00
Lucien Shaw
632447e8d3 docs: 更正主文档和中文文档中的两处错别字 (#12577)
* docs: 更正中文文档中的一处拼写错误

将docs/zh-cn/readme.md中的“高姿”改为“高资”

* docs: 更正主文档中的一处拼写错误

在README.md中,将一处“高姿”修改为“高资”
2025-05-06 09:22:51 +08:00
uye
a5917adc1c Release v5.16.2 (#12568) 2025-05-06 01:38:43 +08:00
Constrat
c86ea9fa12 docs: changelog EN tweak 2025-05-05 19:26:32 +02:00
Constrat
539e2b48b2 fix: github change string to int (#12574) 2025-05-05 19:18:29 +02:00
uye
58c2c6eccd docs: update changelog 2025-05-06 00:17:23 +08:00
uye
8eb49dc463 Revert "feat: 更新 CHANGELOG.md"
This reverts commit a47b1d427b.
2025-05-06 00:12:57 +08:00
uye
cd44b22b8c Revert "feat: 更新 CHANGELOG.md"
This reverts commit e89e3d3f35.
2025-05-06 00:12:51 +08:00
uye
1f7b675d04 fix: 无法进入中枢 2025-05-06 00:03:35 +08:00
AnnAngela
e89e3d3f35 feat: 更新 CHANGELOG.md 2025-05-05 22:31:53 +08:00
AnnAngela
a47b1d427b feat: 更新 CHANGELOG.md 2025-05-05 22:24:48 +08:00
uye
774cc6d6fe docs: Update CHANGELOG.md 2025-05-05 22:23:50 +08:00
uye
c740e71900 docs: Update CHANGELOG.md 2025-05-05 22:18:21 +08:00
uye
a73eb5d52d docs: Update CHANGELOG.md 2025-05-05 22:01:38 +08:00
uye
7dfae900f1 chore: 简化定时器判断 2025-05-05 21:20:09 +08:00
Constrat
edb5e0f7fc docs: english changelog fixes
[skip changelog]
2025-05-05 14:56:58 +02:00
AnnAngela
e9f0353d01 ci: 使用 GITHUB_TOKEN 2025-05-05 20:33:52 +08:00
AnnAngela
bc734f288b ci: 使用缓存避免429 2025-05-05 20:24:49 +08:00
AnnAngela
89f4d927a4 feat: Update CHANGELOG.md [skip changelog] 2025-05-05 19:56:27 +08:00
AnnAngela
54c434c547 feat: Update CHANGELOG.md [skip changelog] 2025-05-05 19:55:36 +08:00
AnnAngela
bb0d148fae feat: Update CHANGELOG.md [skip changelog] 2025-05-05 19:55:20 +08:00
AnnAngela
cd42686824 feat: Update CHANGELOG.md [skip changelog] 2025-05-05 19:54:20 +08:00
github-actions[bot]
7c9b12113f docs: Auto Update Changelogs of v5.16.2 (#12571)
* docs: Auto Generate Changelog of Release v5.16.2

* feat: Update CHANGELOG.md

* i18n: EN Changelog

* feat: 更新 CHANGELOG.md

* feat: 更新 CHANGELOG.md

* i18n: EN Changelog sanity update

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-05 19:24:51 +08:00
pre-commit-ci[bot]
22f88ef718 chore: Auto update by pre-commit hooks [skip changelog] 2025-05-05 09:05:58 +00:00
uye
722302bc28 chore: 新增 AUTO 选项 2025-05-05 17:03:35 +08:00
Constrat
188e55450a i18n: english clarification for operbox) 2025-05-05 10:22:34 +02:00
Constrat
df2edc4bd4 chore(tools): update ignore templates
[skip changelog]
2025-05-05 10:12:03 +02:00
uye
c9672599a0 perf: 优化干员识别 (#12562)
* perf: 优化干员识别

* fix: typo
2025-05-05 16:02:34 +08:00
uye
6c80f26542 chore: 修改错误提示 2025-05-05 15:54:22 +08:00
KirinBaka
7cd6873085 fix: correct variable name typo in cur_score (#12552)
Fixed typo in variable name 'cur_score' (misspelled 'cur_socre')
2025-05-05 15:45:58 +08:00
Yoake
254db83bf6 feat:实现自适应调整连战次数 (#12555)
* feat:实现自适应调整连战次数

* fix: redundant operation

* fix: 掉落物回报、理智回报失效

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: typo

* feat: 添加无理智药时的识别

* chore: 删除无用 include

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 异常时返回 -1

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-05 15:07:38 +08:00
HX3N
6b6bed6c4d chore: YostarKR Infrast and texts (#12561)
* chore: InfrastCloseQuickFormationExpandRole

* i18n: tweak some translation and add mini game tip
2025-05-04 16:17:21 +02:00
github-actions[bot]
c11543f5a4 chore: Auto Templates Optimization
Triggered by 31cc95fb7f

[skip changelog]
2025-05-04 11:49:52 +00:00
uye
31cc95fb7f fix: 无法进入中枢 2025-05-04 19:49:28 +08:00
github-actions[bot]
457ffe67de chore: Auto Templates Optimization
Triggered by d53509ff06

[skip changelog]
2025-05-04 08:55:09 +00:00
Constrat
d53509ff06 chore: add templates for #12556 and i18n for minigame 2025-05-04 10:45:36 +02:00
Manicsteiner
6d8a4c7a5b chore: YostarJP infrast and texts (#12559) 2025-05-04 10:41:09 +02:00
uye
e2c19995c2 fix: 基建选人前收起职业栏 (#12556)
* fix: 基建选人前收起职业栏

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 赠送线索给不需要的好友

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-04 14:14:54 +08:00
Constrat
3f10c972cd chore: update ignore templates 2025-05-03 20:57:25 +02:00
Constrat
d3730cc0da chore: remove typos from ignore templates
[skip changelog]
2025-05-03 20:55:24 +02:00
uye
b5b357938e docs: Update CHANGELOG.md 2025-05-04 01:05:11 +08:00
uye
805b76f113 Release v5.16.1 (#12547) 2025-05-04 01:01:37 +08:00
github-actions[bot]
4c5ae67063 docs: Auto Update Changelogs of v5.16.1 (#12550)
* docs: Auto Generate Changelog of Release v5.16.1

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-05-04 01:01:07 +08:00
uye
8a97330be3 fix: 修正描述 2025-05-04 00:59:13 +08:00
Lemon-miaow
623e542f45 fix: 修复GetImageFromROI小工具以适配多文件tasks结构 2025-05-04 00:16:54 +08:00
APeng215
7350401ddd fix: 修复开发者帮助文档内的 Typo (#12549)
* 修复开发者帮助文档内的 Typo(简体中文)

* 修复开发者帮助文档内的 Typo(繁体中文)
2025-05-03 23:49:20 +08:00
Constrat
c4db21dd2b chore(tools): ignore list templates for global 2025-05-03 17:22:38 +02:00
status102
d713ca59e3 chore: 调整简中繁中一键轮换说明 2025-05-03 22:02:32 +08:00
status102
b3203ad848 perf: VC++执行安装脚本暴露错误 2025-05-03 21:52:18 +08:00
github-actions[bot]
89a42be269 chore: Auto Templates Optimization
Triggered by 218e9ec31a

[skip changelog]
2025-05-03 05:48:49 +00:00
uye
218e9ec31a fix: 无法切换连战次数 2025-05-03 13:48:31 +08:00
github-actions[bot]
ba26b64b22 chore: Auto Update Game Resources - 2025-05-03
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14808017611

[skip changelog]
2025-05-03 05:45:04 +00:00
uye
33b54e81b0 fix 不能正确选择干员CONFESS-47
fix #12543
2025-05-03 13:41:45 +08:00
uye
cb64ca4b13 fix: 修复一键轮换模式未勾选设施导致功能异常问题
fix #12542
2025-05-03 13:38:23 +08:00
uye
e6549f0bf6 chore: 添加渐变附加属性 2025-05-03 12:54:14 +08:00
uye
5466678785 chore: 移除干员识别测试说明 2025-05-03 11:56:36 +08:00
uye
8f279dc1b4 chore: 移除 depot 测试提示 2025-05-03 11:53:43 +08:00
uye
60c83e78e1 chore: depot 图片只在 debug 模式下保存 2025-05-03 11:52:19 +08:00
github-actions[bot]
e63de8df32 chore: Auto Templates Optimization
Triggered by 053e11c9ba

[skip changelog]
2025-05-02 16:29:11 +00:00
uye
053e11c9ba fix: 未展开职业分组时编队错误
fix #12529
2025-05-03 00:28:47 +08:00
Constrat
fbf48ebefd feat(resourceupdater): double int and string map lookup for infrast_data 2025-05-02 10:33:09 +02:00
uye
7ef4343f16 chore: 优化赠送单抽逻辑 2025-05-02 09:41:38 +08:00
uye
3e75ec507f chore: All mirrors are not available 时日志栏显示更新失败 2025-05-02 00:58:49 +08:00
uye
94a0a4d916 fix: 更新未切换基建模式会导致变回常规模式 2025-05-01 22:43:22 +08:00
github-actions[bot]
ca605edffd docs: Auto Update Changelogs of v5.16.0 (#12503)
* docs: Auto Generate Changelog of Release v5.16.0

* docs: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>

* feat: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-05-01 21:52:27 +08:00
uye
7177e48d5c Release v5.16.0 (#12501) 2025-05-01 21:51:08 +08:00
Constrat
14c809a9ac fix: map classifyType bypass for global (until gamedata change as well) 2025-05-01 15:43:07 +02:00
uye
ad4f4a93c0 chore: classifyType 映射 2025-05-01 21:18:00 +08:00
Constrat
5add3a5d8a fix(resourceupdater): change roomType to int for infraststructure gamedata 2025-05-01 14:49:25 +02:00
Constrat
f3f8264b53 chore: arknights tile pos resources + battle data 2025-05-01 14:17:04 +02:00
github-actions[bot]
3e30750da7 chore: Auto Templates Optimization
Triggered by 715c2c13b5

[skip changelog]
2025-05-01 11:19:42 +00:00
uye
715c2c13b5 fix: 神秘的鹰小姐修改了他的干员职业图标亮度 2025-05-01 19:19:15 +08:00
Constrat
8d02395657 chore: MT stages for Official 2025-05-01 13:14:36 +02:00
Hao Guan
824d3bfebe feat(mac): 争锋频道:青草城 2025-05-01 19:07:46 +08:00
Constrat
88a0b97224 chore: manually update version.json 2025-05-01 12:23:53 +02:00
github-actions[bot]
d6f73bc753 chore: Auto Templates Optimization
Triggered by d1c09cc01a

[skip changelog]
2025-05-01 10:20:08 +00:00
Constrat
d1c09cc01a chore: Manual update resources 2025-05-01 12:19:43 +02:00
uye
d65cde7574 fix: 适配新基建 (#12500)
* fix: 适配新基建

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 卡在会客室

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-01 18:08:34 +08:00
uye
afaeb011cf chore: 不启用外部通知时隐藏可选项 2025-05-01 18:05:08 +08:00
SherkeyXD
fa42a0880e fix: 修正送抽任务 2025-05-01 16:35:10 +08:00
SherkeyXD
2a32052ab0 feat: 特殊月卡扩大识别范围 2025-05-01 16:30:22 +08:00
SherkeyXD
1dba23a93e feat: 幸运墙适配六周年 2025-05-01 16:24:14 +08:00
SherkeyXD
9592b1fd40 feat: SideStory「众生行记」导航 2025-05-01 16:22:23 +08:00
uye
6deea622bd chore: 优化训练室和加工站进站逻辑 2025-05-01 15:13:43 +08:00
BxFS
503d653330 fix: CheckLevelMax too fast without delay (#12498) 2025-05-01 08:35:44 +02:00
uye
fe5744f328 fix: 构建日期显示错误 2025-05-01 14:00:47 +08:00
github-actions[bot]
abcc3ba100 chore: Auto Update Game Resources - 2025-04-30
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14763354859

[skip changelog]
2025-04-30 20:06:50 +00:00
uye
0b058bb0d9 fix: 下载源选择 MirrorChyan 时如果关闭自动下载,手动点击软件更新无提示 2025-05-01 01:16:03 +08:00
Plumess
c62d2ac4f8 feat: 更新技能识别模型,采用更全面的数据集训练 (#12490)
使用更全面的数据集对模型进行了重训练,包括了有计划的主线、SideStory、肉鸽等场景。
2025-04-30 23:12:24 +08:00
uye
9a81315b7f docs: 移除过期描述 2025-04-30 15:55:43 +08:00
BxFS
42f9b80be3 fix: EN RoutingRefreshNodeConfirm roi too small (#12491) 2025-04-30 13:45:14 +08:00
uye
57cde24e99 Release v5.16.0-beta.1 (#12488) 2025-04-29 22:27:55 +08:00
github-actions[bot]
f775b2a551 docs: Auto Update Changelogs of v5.16.0-beta.1 (#12489)
docs: Auto Generate Changelog of Release v5.16.0-beta.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-29 22:26:31 +08:00
uye
756f352c02 fix(BREAKING CHANGE): RecruitSupportOperator 拼写错误 2025-04-29 19:49:54 +08:00
uye
f574b14ed4 fix: vc++ 检测移动至文件检测后 2025-04-29 19:49:54 +08:00
Lemon-miaow
ef99f63311 feat: 适配基建队列轮换与干员休整 (#11252)
* feat: 创建使用游戏内基建配置换班功能 (WPF)

* feat: 基于上游更新适配游戏内基建配置换班功能 (WPF)

* feat: 适配队列轮换与干员休整(Core)

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 优化基建选项UI

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: enum

* feat: 新增mode值合并infrast_rotation

* docs: 新增一键轮换字段

* rft: 同步 tasks.json 未拆分部分的修改

* perf: 合并界面

* rft: test

* fix: enum binding

搞不懂calcBinding了

* docs: update mode descriptions

* perf: 移除CustomInfrastEnabled

* perf: 简化参数设置

* chore: 添加提示

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-29 19:12:27 +08:00
github-actions[bot]
62b72b0faa chore: Auto Templates Optimization
Triggered by c988b7463d

[skip changelog]
2025-04-29 08:35:43 +00:00
BxFS
c988b7463d fix: EN RoutingRefreshNode dimension too large (#12484) 2025-04-29 10:28:54 +02:00
HX3N
ee281863ff fix: KR RoutingRefreshNode dimension too large (#12487)
* fix: KR RoutingRefreshNode dimension too large

* chore: height changed to 16px

* chore: changed template to improve recognition score
2025-04-29 10:28:49 +02:00
Constrat
08f78a3151 chore: ignore templates for global 2025-04-29 10:21:15 +02:00
Plumess
af34bb6a6f feat: 优化技能识别模型 (#11984)
* chore: 更新技能识别测试例 test_skill_ready()

1. 由于更新了技能识别为三分类模型,新增”可取消“类别,增加相关类别的测试;
2. 扩充了输出信息,便于Debug;

* feat: 调整技能识别推理函数,支持新的三分类模型

1. 新的三分类模型基于MobileNetv4训练并导出onnx,详情参考MaaAI仓库中的技能识别训练代码;
2. 新增”可取消“分类,标签为c,但暂不启用区分,与”未就绪“同样归于not ready;
3. 新增了部分前处理操作,以匹配模型的输入;

* perf: 使用 MobileNetv4 Small 重新训练了技能识别模型,改为三分类

新增”可取消“状态,即技能可能处于”可取消“,”未就绪“,”已就绪“三种状态;
新的三分类模型基于MobileNetv4 Conv Small 训练并导出,详情参考MaaAI仓库中的技能识别训练代码;

* feat: 调整技能识别自动截图,支持三分类

新增在debug模式下对”可取消“新类别的截图保存功能;

* chore: 存储截图时打印分数

* chore: 使用 ranges

* perf: 使用新训练集,基于官方mobilenetv4_conv_small的权重进行微调

16000张左右的训练集,在3000张测试集中准确率99.7%

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-29 14:30:24 +08:00
Daydreamer114
0e5ed3be50 perf: 修改小游戏描述 2025-04-29 11:48:00 +08:00
Constrat
6f3bc269d6 i18n: EN tweak
[skip ci] [skip changelog]
2025-04-28 15:24:37 +02:00
Constrat
68d7ac593b i18n: EN tweak
[skip ci] [skip changelog]
2025-04-28 14:39:58 +02:00
萨拉托加
ab664d74fb Release v5.15.6 (#12478) 2025-04-28 20:10:51 +08:00
github-actions[bot]
aba41f09c0 docs: Auto Update Changelogs of v5.15.6 (#12479)
* docs: Auto Generate Changelog of Release v5.15.6

* feat: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-04-28 19:10:22 +08:00
github-actions[bot]
2dc6745fdb chore: Auto Update Game Resources - 2025-04-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14705082471

[skip changelog]
2025-04-28 09:59:59 +00:00
晓丶梦丶仁
5820fb202d feat: 争锋频道:青草城 (#12470)
* feat: 争锋频道:青草城

* fix: end

* fix: 鸭宝不在

* perf: 公开 wpfgui 的自定义任务

* Revert "perf: 公开 wpfgui 的自定义任务"

This reverts commit 536864caa2.

* feat: 加一个丑爆了的界面

* chore: 修改描述

* chore: 修改描述

* chore: 统一按钮大小

* chore: 添加停止功能

* chore: 添加停止按钮

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-28 17:34:06 +08:00
uye
cba20d7835 fix: 连战次数无法保存 2025-04-28 17:19:52 +08:00
status102
81f8ad902d fix: 漏了一个 2025-04-28 15:33:45 +08:00
status102
426d76ee50 rft: Wpf长草任务添加部分解耦 2025-04-28 14:49:44 +08:00
status102
dd82fa0075 chore: meoJson update to v4.3.4 (#12460)
* chore: meoJson update to v4.3.2

* chore: meoJson update to v4.3.4
2025-04-28 14:31:12 +08:00
github-actions[bot]
91b53a4b73 chore: Auto Update Game Resources - 2025-04-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14699190648

[skip changelog]
2025-04-28 02:54:50 +00:00
status102
12fc5bbde3 perf: move
[skip changelog]
2025-04-27 23:42:47 +08:00
status102
6cfab2c1f0 perf: Task加载检查前重复任务 2025-04-27 23:36:55 +08:00
Constrat
730b9b2ad9 fix: move operator Flint in front of item Flint (点火石) for EN 2025-04-27 16:10:22 +02:00
Constrat
ddbf647524 feat: Sarkaz IS EN squads DLC 1 2025-04-27 15:37:26 +02:00
status102
6e9ef3c66e chore: ConfigurationHelper.GetValue增加enum, DeleteValue额外返回旧值 2025-04-27 19:43:58 +08:00
Constrat
1ad6f70b55 fix: Fang Alter EN OCR 2025-04-27 10:21:34 +02:00
Constrat
9e990c337a fix: Alter operators for EN 2025-04-27 10:15:03 +02:00
uye
8733055e83 Release v5.15.5 (#12466) 2025-04-27 03:23:17 +08:00
github-actions[bot]
e8885dc095 docs: Auto Update Changelogs of v5.15.5 (#12467)
* docs: Auto Generate Changelog of Release v5.15.5

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-27 03:21:19 +08:00
uye
0d140c1b46 fix: 无法热更 2025-04-27 03:17:01 +08:00
uye
1f29f9dc16 fix: MaaCore.vcxproj 2025-04-27 01:37:33 +08:00
uye
505ba76fea fix: DEBUG 加载错误 2025-04-27 01:37:33 +08:00
SherkeyXD
e76e95c0a4 rft: rename base stage 2025-04-27 00:11:50 +08:00
github-actions[bot]
aff4ef43fa chore: Auto Update Game Resources - 2025-04-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14682880925

[skip changelog]
2025-04-26 16:05:59 +00:00
SherkeyXD
e4aa506cb4 fix: BB task fix 2025-04-26 23:57:41 +08:00
Sherkey Asher
7c5fe215ac Release v5.15.4 (#12463) 2025-04-26 23:36:49 +08:00
github-actions[bot]
ced3843c4b docs: Auto Update Changelogs of v5.15.4 (#12464)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sherkey Asher <57581480+SherkeyXD@users.noreply.github.com>
2025-04-26 23:26:26 +08:00
github-actions[bot]
5f30226d99 chore: Auto Update Game Resources - 2025-04-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14681959054

[skip changelog]
2025-04-26 14:05:34 +00:00
github-actions[bot]
2e30ef6169 chore: Auto Templates Optimization
Triggered by 3b0093c13c

[skip changelog]
2025-04-26 13:54:30 +00:00
SherkeyXD
3b0093c13c feat: 六周年月卡 2025-04-26 21:53:34 +08:00
HX3N
3416a47b26 fix: YostarKR OrundumActivitiesConfirm add ocrReplace 2025-04-26 17:53:19 +09:00
status102
d646af45ca chore: meojson调试增强 2025-04-26 15:27:27 +08:00
Constrat
c69fd51bc9 docs: add ADB connection tip for bluestacks and ldplayer 2025-04-25 18:12:05 +02:00
Constrat
4fb83a9bca fix: missing roguelike sami writer to json for resource updater 2025-04-25 17:26:27 +02:00
BxFS
abf69a9c63 fix: 定时执行tooltip修正 (#12453)
fix: TimerSettings CheckBox ToolTip CheckBoxesNotSaved->CheckBoxesNotSavedAsNull
2025-04-25 22:43:42 +08:00
HX3N
436643db9c chore: YostarKR IS5 squads and ocr update (#12455) 2025-04-25 16:42:38 +02:00
Constrat
1311a40126 style: resource updater 2025-04-25 16:40:17 +02:00
github-actions[bot]
dc49df6c0d chore: Auto Update Game Resources - 2025-04-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14666981411

[skip changelog]
2025-04-25 14:32:16 +00:00
Constrat
209902466a Revert "chore: Auto Update Game Resources - 2025-04-25"
This reverts commit 317a0d5224.
2025-04-25 16:29:23 +02:00
Constrat
6f0426b285 chore: use sami json for gain and user ocr in resource updater 2025-04-25 16:29:09 +02:00
github-actions[bot]
317a0d5224 chore: Auto Update Game Resources - 2025-04-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14666833323

[skip changelog]
2025-04-25 14:25:29 +00:00
Constrat
193525cacb chore: YostarKR ocr fix
------

Co-Authored-by: HX3N <scarlet7518@gmail.com>
2025-04-25 16:20:56 +02:00
Constrat
e32b526e81 fix: main.cpp post refactor merge 2025-04-25 16:13:48 +02:00
Constrat
96751335d3 chore: add big tasks refactoring to blame ignore 2025-04-25 15:42:19 +02:00
Constrat
2e6df0af8e chore: remove duplicate tasks from main json of KR and JP 2025-04-25 15:38:58 +02:00
Constrat
43d13f5aaf chore: remove debug task from IS EN
[skip ci]
2025-04-25 15:12:46 +02:00
Constrat
6c405da322 chore: YostarJP IS5 squads update
---------

Co-authored-by: Manicsteiner <63437036+Manicsteiner@users.noreply.github.com>
2025-04-25 15:00:38 +02:00
Constrat
dce6e317c8 rft: tasks (#12448)
* rft: tasks

* chore: remove older tasks.json

* rft: move some stages

* chore: Auto update by pre-commit hooks [skip changelog]

* rft: rename

---------

Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-25 18:31:37 +08:00
status102
fdc76bc5b5 feat: VC++可用性检查 (#12445)
* feat: VC++可用性检查

* i18n: too low

terrain
2025-04-25 15:59:51 +08:00
uye
2f8840feac chore: to utc time 2025-04-25 15:36:07 +08:00
HX3N
f98a595620 i18n: KR translation tweak
[skip changelog]
2025-04-25 13:24:55 +09:00
Constrat
2a7729074a chore: remove dupes from resource updater I.S. stages 2025-04-24 20:31:33 +02:00
github-actions[bot]
40e607c98f chore: Auto Update Game Resources - 2025-04-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14648860019

[skip changelog]
2025-04-24 18:25:57 +00:00
Constrat
351395f5b9 fix: txwy resource updater recruitment 2025-04-24 20:22:55 +02:00
Constrat
3e38b59f0c chore: add more text for OrundumActivities EN 2025-04-24 19:26:15 +02:00
uye
079932e34c Release v5.15.3 (#12420) 2025-04-25 00:09:06 +08:00
uye
9666b4a42b docs: Update CHANGELOG.md 2025-04-25 00:07:51 +08:00
Manicsteiner
8779c867bf chore: YostarJP ocr fix (#12447) 2025-04-25 00:03:38 +08:00
uye
d10c90bc79 feat: 使用 mumu 网络桥接时通过填写的实例号关闭模拟器 2025-04-24 23:24:29 +08:00
萨拉托加
ac83069b99 chore: issue模板添加使用生成日志压缩包按钮提示 (#12386)
* chore: issue模板添加使用生成日志压缩包按钮提示

* chore: Update cn-ld-report.yaml

* chore: Update cn-mumu-report.yaml

* chore: Update en-bug-report.yaml
2025-04-24 22:31:32 +08:00
status102
8077d73a9b docs: changelog 2025-04-24 18:02:15 +08:00
Rbqwow
e5357e7dd7 feat: 优化官网动画效果 (#12432)
优化友链列表出现消失动画
为底部许可证文本添加动画
修复点击查看全部后按钮乱跳
整理注释
2025-04-24 17:31:59 +08:00
github-actions[bot]
f87be175e1 docs: Auto Update Changelogs of v5.15.3 (#12441)
* docs: Auto Generate Changelog of Release v5.15.3

* feat: changelog

* docs: Update CHANGELOG.md

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-24 17:26:32 +08:00
HY
316dd9a005 chore: 繁中服「太陽甩在身後」活動導航 (#12444)
* chore: 繁中服「太陽甩在身後」活動導航

* chore: 補充許願牆的 text
2025-04-24 17:11:46 +08:00
github-actions[bot]
6f07b16388 chore: Auto Update Game Resources - 2025-04-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14636183461

[skip changelog]
2025-04-24 07:43:55 +00:00
github-actions[bot]
b59b42345a chore: Auto Update Game Resources - 2025-04-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14635512901

[skip changelog]
2025-04-24 07:06:30 +00:00
uye
f80ec0b232 style: 丢失的空格
[skip changelog]
2025-04-24 14:38:23 +08:00
uye
0cab88a1fb feat: 添加任务超时提示 (#12430)
* test: 添加 block 任务

* feat: 添加任务超时提醒

* feat: 外部通知添加超时提醒

* chore: 提示时间改为四舍五入

* chore: 外部通知额外输入最后五条日志

* chore: 调整日志输出日期
2025-04-24 09:54:40 +08:00
Hao Guan
f5b8fe18e1 fix(mac): 仅公招识别配置(#12161)
feat(mac): 商店列表界面改进
2025-04-23 14:03:50 +08:00
uye
8fb76030b2 chore: 优化运行库下载脚本 2025-04-22 19:59:45 +08:00
github-actions[bot]
0234f2d274 chore: Auto Update Game Resources - 2025-04-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14593234281

[skip changelog]
2025-04-22 11:05:38 +00:00
github-actions[bot]
018955d010 chore: Auto Update Game Resources - 2025-04-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14591436939

[skip changelog]
2025-04-22 09:29:17 +00:00
Constrat
ed361efcd3 chore: YostarEN PV preload 2025-04-22 11:21:17 +02:00
uye
08665869ea chore: 员工守则 2025-04-22 17:18:46 +08:00
HX3N
2b0ad53830 chore: YostarKR PV preload (#12431) 2025-04-22 11:17:38 +02:00
Manicsteiner
f5010a3681 chore: YostarJP PV preload (#12429) 2025-04-22 14:32:07 +08:00
status102
072592c49a perf: 任务列表查副本
fix #12426
2025-04-22 11:19:08 +08:00
uye
45e55c0eaf chore: 拆分任务完成后通知 2025-04-22 10:15:17 +08:00
萨拉托加
d32ed24879 chore: 添加保全派驻作业 (#12423)
* chore: Rename

* chore: 添加保全派驻作业

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-21 22:42:49 +08:00
github-actions[bot]
8c83b5e2d2 chore: Auto Templates Optimization
Triggered by 8a33102408

[skip changelog]
2025-04-21 14:01:50 +00:00
uye
8a33102408 chore: 新增 15 章导航 2025-04-21 22:01:24 +08:00
MistEO
432a51a238 fix: 修正官网域名 2025-04-21 18:44:42 +08:00
MistEO
39dce2a0e1 docs: 移除 MaaX 相关说明 2025-04-21 18:12:05 +08:00
github-actions[bot]
c58e0a0e92 chore: Auto Update Game Resources - 2025-04-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14570494553

[skip changelog]
2025-04-21 08:47:29 +00:00
MistEO
5e30ffc714 ci: Delete trigger that are no longer needed 2025-04-21 13:57:57 +08:00
github-actions[bot]
68a5ef3f85 chore: Auto Update Game Resources - 2025-04-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14563291382

[skip changelog]
2025-04-20 21:04:59 +00:00
github-actions[bot]
d1bb221096 chore: Auto Update Game Resources - 2025-04-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14562878694

[skip changelog]
2025-04-20 20:05:36 +00:00
SherkeyXD
0743e1773b style: 优化部分文件排版 2025-04-20 21:27:47 +08:00
uye
fafd1970be chore: 修改存在更新时的问题反馈界面描述 2025-04-20 20:50:49 +08:00
Constrat
446ec8b8f6 style: precommit clang? 2025-04-20 11:26:52 +02:00
status102
07e561fae8 perf: wpf反馈压缩包分离日志和配置 2025-04-20 16:46:22 +08:00
status102
d42a8ba42e chore: MaaCore日志文件占用缓解, 取消大小限制 2025-04-20 16:46:15 +08:00
uye
86a861f1c1 fix: fix debug
[skip changelog]
2025-04-20 16:33:08 +08:00
uye
73801e5eae chore: 提取 helper 方法 2025-04-20 16:31:29 +08:00
uye
085444f25f chore: 修改版本更新提示逻辑 2025-04-20 15:48:04 +08:00
uye
81f6540170 chore: 添加模拟器路径为空的提示 2025-04-20 15:28:44 +08:00
Constrat
66d49a7e81 ci: bump oxi, clang, prettier, markdownlint (#12388)
* ci: bump oxi, clang, prettier, markdownlint

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 移除不再使用clang-format的JSON文件

* chore: clang-format disable

* chore: clang版本更新

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: ver注释

* docs: Modify the clang-format version restriction in the documentation to match the current changes

@zzyyyl

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-04-20 09:42:41 +08:00
MistEO
9982545c99 chore: 调整友链弹窗最大高度 2025-04-20 03:03:06 +08:00
github-actions[bot]
eaf3b93c8e chore: Auto Templates Optimization
Triggered by e29d506cf2

[skip changelog]
2025-04-19 17:47:45 +00:00
MistEO
e29d506cf2 perf: image size 2025-04-20 01:47:10 +08:00
github-actions[bot]
e4e9c8264c chore: Auto Templates Optimization
Triggered by 7204d0f62a

[skip changelog]
2025-04-19 16:34:48 +00:00
MistEO
7204d0f62a feat: 整理官网友链列表,添加Mirror酱友链 2025-04-20 00:33:48 +08:00
Rbqwow
60308846f3 feat: 官网友链改为按钮 (#12400)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-20 00:11:34 +08:00
status102
e8717c0936 perf: enumerable 2025-04-19 23:58:14 +08:00
status102
786518917c fix: 刷理智参数更新崩溃 2025-04-19 23:56:58 +08:00
MistEO
91195d3c02 chore: 官网使用Mirror酱新链接 2025-04-19 23:19:30 +08:00
Aliothmoon
09608430a9 fix: 移除官网的PerformanceMonitor (#12411)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-04-19 23:15:22 +08:00
Aliothmoon
f09e4de87e fix: 下载状态文本适配浅色模式 (#12410)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-19 23:15:11 +08:00
uye
d306941c4f fix: 从其他界面进入仓库识别任务时可能卡在主界面 2025-04-19 21:09:44 +08:00
Rbqwow
288fa379d3 fix: 修复某些情况下官网本地开发服务器拒绝连接的问题 (#12401)
https://github.com/vercel/turborepo/issues/7279

[skip changelog]
2025-04-19 20:37:29 +08:00
github-actions[bot]
66c9e3c65c chore: Auto Templates Optimization
Triggered by f2586ec7fe

[skip changelog]
2025-04-19 10:28:45 +00:00
uye
f2586ec7fe fix: SelectClue 任务 roi 与模板图片不匹配
fix #12404
2025-04-19 18:24:29 +08:00
Constrat
63a30d96f6 fix: discord logo on website 2025-04-19 11:40:16 +02:00
HX3N
99db411ea6 chore: KR remove ocrReplace in RoguelikeChooseSupportBtnOcr
RoguelikeChooseSupportBtnOcr does not use ocrReplace
2025-04-19 17:57:53 +09:00
HX3N
b330cb465b fix: KR Recruit Support Unit regex 2025-04-19 15:53:25 +09:00
MistEO
3c76830ad5 feat: 调整官网首页按钮 2025-04-19 13:45:43 +08:00
uye
2b87578d53 chore: lastUpdateTime -> stageAndTasksUpdateTime (#12393) 2025-04-19 13:26:05 +08:00
MistEO
a4420961ce feat: web cache (#12403) 2025-04-19 13:08:56 +08:00
uye
4d76fabd77 feat: LoadResourceAndCheckRet 额外读取对应文件名_custom.json (#12382)
* feat: LoadResourceAndCheckRet 额外读取对应文件名_custom.json

* chore: 添加日志,问题反馈打包带上custom文件
2025-04-19 12:16:05 +08:00
Aliothmoon
457023106c feat: 调整按钮阴影 (#12398)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-19 00:14:23 +08:00
MistEO
e1b000631a feat: 更小杯的友情链接 2025-04-19 00:13:58 +08:00
MistEO
04531f33c7 chore: 官网友情链接更小一点 2025-04-18 23:42:20 +08:00
MistEO
d3d8e1a5cf feat: 超小杯友情链接 2025-04-18 23:37:41 +08:00
MistEO
deb5fa3044 feat: 官网按钮调整 2025-04-18 23:37:41 +08:00
status102
18a4a3fc31 docs: 自动战斗-自动编队 特别关注标记影响提示 中英文提示调整 2025-04-18 22:31:38 +08:00
Aliothmoon
3f5a7322e5 feat: 官网亮色模式 (#12396)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-18 21:29:15 +08:00
status102
fc4437183d docs: 自动战斗-自动编队 特别关注标记影响提示 中文提示特化修改 2025-04-18 19:13:53 +08:00
uye
1d8068daf0 fix: 在关闭系统通知后无法收到通知信息 2025-04-18 15:15:44 +08:00
uye
b0d14b4820 feat: MaaApiService 添加 etag 支持 2025-04-18 11:01:59 +08:00
uye
26caabb8d0 chore: 添加资源更新提示 2025-04-18 10:29:05 +08:00
uye
9443c835fa chore: 添加更新提示 2025-04-18 00:01:24 +08:00
Constrat
b981160487 chore: glt blame ignore for 9ed30c5658
[skip changelog]
2025-04-17 09:33:43 +02:00
Constrat
9ed30c5658 style: clang mass formatting 2025-04-17 09:32:58 +02:00
uye
cc7891c11d chore: 调整 include 顺序
[skip changelog]
2025-04-17 15:26:51 +08:00
uye
21f9864140 fix: 二次点击部署栏取消选中时,点击 y 坐标较小的 rect 2025-04-17 15:25:56 +08:00
status102
de2c50ec7e Revert "perf: 自动战斗待部署识别减少一次预识别"
This reverts commit 0839de2c94.
2025-04-17 12:40:47 +08:00
github-actions[bot]
c447ee3568 chore: Auto Templates Optimization
Triggered by 5727be3b3a

[skip changelog]
2025-04-17 03:25:30 +00:00
status102
5727be3b3a fix: 主线菜单导致刷理智无法吃药
fix #12364
2025-04-17 11:24:21 +08:00
status102
debcf92010 chore: 自动战斗待部署区识别未知干员已知问题标记
待部署区相同干员 (如 超重绝缘水泥) 会在关闭第一个时候, 可能错误展开第二个, 导致识别第二个时提前关闭第二个, 无法识别名字
2025-04-17 11:03:18 +08:00
status102
0839de2c94 perf: 自动战斗待部署识别减少一次预识别 2025-04-17 10:58:44 +08:00
status102
c9374383c1 rft: rename 2025-04-17 10:54:18 +08:00
status102
1c321bb313 rft: rename 2025-04-17 10:16:48 +08:00
status102
4d975a1633 fix: 自动战斗 保全水泥替换 2025-04-17 10:14:05 +08:00
uye
6137cc701b Release v5.15.2 (#12376) 2025-04-17 01:34:21 +08:00
github-actions[bot]
e15b95c084 docs: Auto Update Changelogs of v5.15.2 (#12380)
* docs: Auto Generate Changelog of Release v5.15.2

* docs: changelog

* chore: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-17 01:32:30 +08:00
uye
660bb141aa chore: 地图修完了
[skip changelog]
2025-04-17 01:11:09 +08:00
uye
d3981265bb fix: 新保全第六关地图错误 (#12381)
* chore: delete wrong file

* chore: Auto Update Game Resources - 2025-04-16

https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14497921439

[skip changelog]

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-17 00:41:43 +08:00
萨拉托加
d801be3fc1 chore: 新增 阿卡胡拉丛林 保全派驻作业 (#12375)
* chore: 新增 阿卡胡拉丛林 保全派驻作业

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 更新黑名单

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-16 23:45:19 +08:00
uye
8abff51da2 chore: 修改保全文件描述
[skip changelog]
2025-04-16 23:31:21 +08:00
Sherkey Asher
28ad1f2816 docs: 优化文档 (#12361)
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-04-16 22:22:29 +08:00
DL_君逸寒
6bbc15040a feat: 新增 尚蜀夜市 保全派驻作业 (#12374)
* feat: 新增 尚蜀夜市 保全派驻作业

feat: 新增 尚蜀夜市 保全派驻作业

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-16 22:22:05 +08:00
Constrat
86cbff2cab fix: EN SSS buffs regex 2025-04-16 15:26:28 +02:00
Weiyou Wang
c3dc7d3711 fix: 先取消暂停再取消选择 (#12369)
* fix: 先取消暂停再取消选择

* fix: 换个思路

* fix: 重新识别头像位置

* fix: 删除多余的判断

* fix: 保险起见加回来点东西

* fix: 第二遍点击后更新 name_image
2025-04-16 20:51:55 +08:00
status102
4e3b10ded7 perf: 基建干员选择滑动优化 2025-04-16 17:18:44 +08:00
BxFS
1a8e1bc989 feat: Background stretch modes (#12365)
* feat: Background stretch modes

* i18n: all language translations with ja-jp and ko-kr AI translated

* i18n: make thy name thy name

* chore: 优化显示效果

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-16 15:44:56 +08:00
晓丶梦丶仁
814d9a651f perf: old SSS copilot
[skip changelog]
2025-04-16 15:42:36 +08:00
DL_君逸寒
5c9a01be2a feat: 新增 尚蜀夜市、多索雷斯在建地块、荒地群兽音乐厅 保全派驻作业 (#12370)
* feat: 新增 尚蜀夜市 保全派驻作业

feat: 新增 尚蜀夜市 保全派驻作业

* feat: 新增 多索雷斯在建地块 保全派驻作业

feat: 新增 多索雷斯在建地块 保全派驻作业

* feat: 新增 荒地群兽音乐厅 保全派驻作业

feat: 新增 荒地群兽音乐厅 保全派驻作业

* feat: 新增 荒地群兽音乐厅 保全派驻作业

feat: 新增 荒地群兽音乐厅 保全派驻作业

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-16 15:36:23 +08:00
uye
13fa90a214 perf: 加快无基建技能干员选择速度,加快选择列表回正速度 (#12363)
* perf: 加快无基建技能干员选择速度,加快选择列表回正速度

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-16 15:34:07 +08:00
MistEO
ae9a1f1cf0 fix: tile resource (#12372)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-16 15:23:21 +08:00
uye
21bc191a96 fix: 导能元件界面更改 2025-04-16 14:48:55 +08:00
HX3N
aa754996f0 i18n: KR translation tweaks (#12366)
* i18n: KR translation tweaks

* chore: fix typo
2025-04-16 00:46:11 +08:00
ChingCdesu
631466cfff feat: 更新Mirror酱下载为按钮,保持动画一致 2025-04-15 23:51:37 +08:00
status102
3d64624ad4 chore: 自动战斗加点输出 2025-04-15 16:21:02 +08:00
Cerulime
76a007501a feat: 在肉鸽招募中增加m3作为群奶 (#12353)
* feat: 在肉鸽招募中增加m3作为群奶

* fix: 凯尔希和Mon3tr不同时招募(MAA无法区分召唤物)
2025-04-15 14:58:07 +08:00
hepari
cfad7fc743 docs: add glossary missing operator name (#12360) 2025-04-15 15:51:28 +09:00
github-actions[bot]
e99dcb3e10 chore: Auto Update Game Resources - 2025-04-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14444762975

[skip changelog]
2025-04-14 11:43:55 +00:00
github-actions[bot]
0b16a4fb26 chore: Auto Templates Optimization
Triggered by 8586c21312

[skip changelog]
2025-04-14 11:12:05 +00:00
uye
8586c21312 chore: 优化 OF-1 截图
fix #12351
2025-04-14 19:11:45 +08:00
github-actions[bot]
80aa7c3bee chore: Auto Update Game Resources - 2025-04-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14441778932

[skip changelog]
2025-04-14 09:06:48 +00:00
uye
3cb0a8ac08 chore: 删除多余逻辑
[skip changelog]
2025-04-14 13:48:56 +08:00
status102
40a614df0d fix: 刷理智掉落物指定参数异常检查 2025-04-14 13:42:48 +08:00
uye
30276f9c2d fix: 无法关闭线索窗口 2025-04-14 13:14:14 +08:00
uye
6c62cc373b chore: 优化界面显示 2025-04-14 12:32:57 +08:00
status102
31bf864f78 chore: blank line
[skip changelog]
2025-04-14 08:32:18 +08:00
status102
6196676eb3 fix: 移除battleHelper中的BestMatcher复用 (#12136)
* fix: 移除battleHelper中的BestMatcher复用

* fix: type

* fix: require
2025-04-14 08:29:35 +08:00
uye
856e2a140f Release v5.15.1 (#12348) 2025-04-14 00:56:42 +08:00
github-actions[bot]
d32f0c202f docs: Auto Update Changelogs of v5.15.1 (#12350)
* docs: Auto Generate Changelog of Release v5.15.1

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-14 00:56:24 +08:00
uye
cf496728a3 chore: 修改描述 2025-04-13 23:46:17 +08:00
uye
2f9c187916 chore: 新增更新源 tooltip 2025-04-13 23:38:09 +08:00
github-actions[bot]
a265d0c06b chore: Auto Templates Optimization
Triggered by 4a5c808e21

[skip changelog]
2025-04-13 11:40:50 +00:00
pre-commit-ci[bot]
4a5c808e21 chore: Auto update by pre-commit hooks [skip changelog] 2025-04-13 11:40:34 +00:00
uye
fab8731f50 chore: 优化自定义任务显示 2025-04-13 19:38:02 +08:00
uye
9eda7095e7 feat: CustomTasks 支持逗号、分号切割任务列表 (#12342)
* feat: CustomTasks 支持逗号、分号切割任务列表

* chore: Remove trailing comma

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>

* chore: 修改描述

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-04-13 19:26:32 +08:00
uye
ee29f65a8e fix: Connection lost 提前返回 false 2025-04-13 19:20:36 +08:00
github-actions[bot]
d2298e0105 chore: Auto Templates Optimization
Triggered by f0b318fed3

[skip changelog]
2025-04-13 11:15:23 +00:00
uye
f0b318fed3 chore: 优化线索选择逻辑 2025-04-13 19:14:58 +08:00
uye
68641758ab fix: 无法选中线索
fix #12346
2025-04-13 18:28:31 +08:00
uye
4302611bf7 chore: 支持实体机检测 2025-04-13 15:39:38 +08:00
uye
9310f2e204 chore: miss brackets 2025-04-13 14:26:24 +08:00
uye
3685dae146 fix: 雷电模拟器重新连接时误认为断开连接
fix #12345
2025-04-13 14:21:46 +08:00
github-actions[bot]
7ed3da2bee chore: Auto Templates Optimization
Triggered by edfb4ce73a

[skip changelog]
2025-04-13 05:35:09 +00:00
github-actions[bot]
edfb4ce73a chore: Auto Update Game Resources - 2025-04-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14426517162

[skip changelog]
2025-04-13 05:34:37 +00:00
status102
f679256612 feat: 配置增加全局键移除 & bool自动转换 2025-04-13 11:19:26 +08:00
uye
383c38831a chore: FightSeries use the same ROI for all clients 2025-04-12 23:43:50 +08:00
status102
c3dc844b9a fix: 自动战斗网络请求返回失败时,错误提示异常 2025-04-12 23:40:54 +08:00
status102
a7f909cad0 perf: wpf自动战斗增加启动失败时的log 2025-04-12 23:40:54 +08:00
bodayw
2df97627fe feat: 更新 243/153 极限效率一天四换排班表(20250412 修订) (#12337)
* feat: 更新 243 极限效率一天四换排班表(20250412 修订)

根据[公孙长乐 2025-04-12 新视频](https://www.bilibili.com/video/BV14XdXYCEqh/?t=127)制作。

Replacing Kal'tsit with Mon3tr...

* feat: 更新 153 极限效率一天四换排班表(20250412 修订)

Replacing Kal'tsit with Mon3tr
Use Thorns the Lodestar for the 2nd rotation in the Gold Factory
2025-04-12 23:07:02 +08:00
Manicsteiner
5d5492b018 fix: FightSeries for global (#12332) 2025-04-12 23:05:55 +08:00
Szzrain
741eaafee1 feat: 支持新 UI 的 OF-1 导航 (#12335)
* feat: 支持新 UI 的 OF-1 导航

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: breaking for global server etc. (Hopefully)

* fix: reset roi for non-CN server

* chore: as reviewed

* chore: fix as review

* fix: adjust roi of ClickChapterNewOverview

* fix: fix roi

* chore: adjust swipe time

* chore: 简化任务逻辑,修改任务模板,同步适配 OF-F3

* chore: 模板图不带文字

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-12 23:03:26 +08:00
status102
f0d7840b51 perf: 移除无效调用 2025-04-12 22:35:48 +08:00
status102
3d62daed59 fix: 非自定义关卡名情况下,未能移除不显示的关卡
fix #12331
2025-04-12 22:35:47 +08:00
status102
d85b69632f Revert "chore: 给剩余理智加个兜底"
This reverts commit 6db893a23d.
2025-04-12 22:35:41 +08:00
uye
c64c80b7fc fix: 点击开始行动三秒未进入备战界面导致二次点击
fix #12324
2025-04-12 20:36:35 +08:00
status102
875a8dbe65 ci: issue-checker顺带加一下新的反馈包名 2025-04-12 19:47:00 +08:00
status102
c3bf90dd44 ci: issue-checker 日志上传失败提示 2025-04-12 19:43:26 +08:00
uye
6db893a23d chore: 给剩余理智加个兜底 2025-04-12 17:43:13 +08:00
Constrat
db03ab5976 fix: trade post rewards post base update
fix #12333
2025-04-12 09:02:03 +02:00
Constrat
55721e9e35 feat: Guide enable ADB (#12329)
* feat: add xaml gui

* i18n: add resources

* i18n: KR

* i18n: zh-tw

* i18n: zh-cn

* chore: 既然繁体那边用中文了那这里也用中文好了

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: momomochi987 <as99us301@gmail.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-04-12 11:03:20 +08:00
Constrat
3d7b7d5e58 chore: manual stages resources 2025-04-11 18:07:43 +02:00
Constrat
8971893e81 docs: fix punctuation for en-us 2025-04-11 17:35:39 +02:00
status102
af68ac46cf chore: file header & warning 2025-04-11 15:22:23 +08:00
HX3N
951ed330a8 chore: YostarKR InfrastReward ocr replace operator to trust
Replaced due to overlap between operator trust and operator morale
2025-04-11 12:34:35 +09:00
dependabot[bot]
3babe9d76e ci: bump apple-actions/download-provisioning-profiles from 3 to 4 in /.github/workflows in the github-actions group (#12225)
ci: bump apple-actions/download-provisioning-profiles

Bumps the github-actions group in /.github/workflows with 1 update: [apple-actions/download-provisioning-profiles](https://github.com/apple-actions/download-provisioning-profiles).


Updates `apple-actions/download-provisioning-profiles` from 3 to 4
- [Release notes](https://github.com/apple-actions/download-provisioning-profiles/releases)
- [Commits](https://github.com/apple-actions/download-provisioning-profiles/compare/v3...v4)

---
updated-dependencies:
- dependency-name: apple-actions/download-provisioning-profiles
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-11 05:35:14 +08:00
HX3N
adf6f1f80c fix: YostarKR InfrastReward ocr fix (#12317) 2025-04-10 22:34:53 +02:00
uye
ebaf3f9307 chore: 使用 MirrorChyan 进行软件更新时未处理 errorCode 显示 2025-04-11 01:57:02 +08:00
uye
60f0d56ddf chore: 顺序检查 2025-04-10 23:39:25 +08:00
uye
f94ddabeef chore: 弹窗加个文件名 2025-04-10 18:29:19 +08:00
pre-commit-ci[bot]
74f85680e8 chore: Auto update by pre-commit hooks [skip changelog] 2025-04-10 16:51:35 +08:00
status102
60f6b910cd feat: 自动战斗15章突袭难度适配 2025-04-10 16:51:35 +08:00
status102
e9bf062b55 chore: 自动战斗 战斗列表 关卡导航名允许覆盖 2025-04-10 16:51:35 +08:00
status102
4142896c82 perf: 背景图默认值修改为相对路径 2025-04-10 15:34:32 +08:00
status102
70398dda8b fix: Wpf一键长草任务栏设置按钮绑定报错 2025-04-10 15:34:31 +08:00
ChingCdesu
63bedace6e feat: mirror酱链接按照操作系统自动生成 2025-04-09 23:37:37 +08:00
Constrat
bc677b69ca fix: new Support GUI for EN
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/12285#issuecomment-2788133440
2025-04-09 16:24:59 +02:00
Rbqwow
3bb0833704 build: 更新文档主题库 (#11627)
* build: 更新网站依赖

* build:更新vphope版本

* build: 怎么忘记加这个了

* fix: 修复构建错误

* chore: fix Vite CJS Node API deprecated warning

* chore: log

* perf: turbo 添加文档 cache

* perf: 注释掉新版不读取的切换语言公告内容

但公告这个属性得留着 不留着就没有切换语言的弹窗了

* fix: 修复字体问题

* build: update package version

* docs: remove root locale

* docs: add author

* ci: update node version

* build: turbo一直叫我更新,于是我更新了

* docs: update package

* docs: 再见吧牛牛今晚我就要远航

* docs: fix root locale problem

* docs: remove unused command

* feat: 牛兮归来!

* build: update turbo

* chore: 语言提醒怎么又没了 加回来

---------

Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-04-09 21:09:31 +08:00
uye
29dad9ac7f fix: 修复手动关闭模拟器导致的连接状态不一致问题
fix #12309
2025-04-09 19:10:57 +08:00
uye
ea29cc2c20 fix: 连战次数 2025-04-09 17:50:59 +08:00
Weiyou Wang
934f752820 fix: update deployment (#11959)
* fix: update deployment

* fix: 把 check_in_battle 加回来

* fix: misc

* fix: 逻辑取反了

* fix: typo

* refactor: 去掉不需要的 init 参数与重复的 check_in_battle 检查

* refactor: 注释

* fix: misc

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-09 17:46:01 +08:00
status102
bd28098db9 feat: 日志包一并打包gui配置文件 (#12310)
* feat: 日志包一并打包gui配置文件 (#12310)

* perf: 复制调整

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: BxFS <15606086+BxFS@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-09 17:30:56 +08:00
status102
a1ff2a522d fix: Wpf刷理智连战次数UI为空 2025-04-09 17:29:28 +08:00
status102
7a329c8647 fix: task name
[skip changelog]
2025-04-09 17:12:46 +08:00
uye
f74a04155f perf: 热更新资源改为异步加载避免启动阻塞 2025-04-09 16:58:52 +08:00
status102
e95f5f5ad7 fix: 刷理智碎石时网络卡顿造成重复点击
fix #12290
2025-04-09 16:51:28 +08:00
status102
8ffc1a253d Revert "fix: 吃药/碎石 时网络波动延迟导致二次确认时点到取消代理"
This reverts commit 4c4b56c1a8.
2025-04-09 16:38:50 +08:00
status102
b22805843b fix: task type 2025-04-09 16:27:54 +08:00
status102
0045bbcd8b fix: 修复刷理智错误识别突袭关3星结算 2025-04-09 16:27:41 +08:00
uye
90ed19b192 fix: typo
[skip changelog]
2025-04-09 16:25:11 +08:00
uye
402ececdde fix: 主线关卡未选择默认进度时无法导航 2025-04-09 16:21:04 +08:00
uye
4c4b56c1a8 fix: 吃药/碎石 时网络波动延迟导致二次确认时点到取消代理 2025-04-09 15:57:58 +08:00
uye
7277b7e8ec chore: 调整热更提示 2025-04-09 13:49:58 +08:00
uye
7f1466eeb0 fix: 15 章战斗列表 2025-04-09 13:43:13 +08:00
status102
fb8ba366ca rft: Wpf刷理智任务、基建任务序列化 (#12281) 2025-04-09 13:13:42 +08:00
uye
fd5b5cab4e Release v5.15.0 (#12285)
Release beta for overseas infrastructure changes.
- [x] JP
- [x] KR
- [x] Wait for new EN gamedata that will release in 4 hours.
- [ ] CN gamedata fix (yuanyuan repo same time as EN?)
2025-04-09 12:37:10 +08:00
github-actions[bot]
62abaf51d7 docs: Auto Update Changelogs of v5.15.0 (#12289)
* docs: Auto Generate Changelog of Release v5.15.0

* docs: Update CHANGELOG.md

* docs: Update CHANGELOG.md

* docs: changelog

* feat: changelog

* feat: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-04-09 12:35:36 +08:00
github-actions[bot]
51926cd41c chore: Auto Templates Optimization
Triggered by fef3fd4817

[skip changelog]
2025-04-09 04:29:56 +00:00
uye
fef3fd4817 chore: 手动更新新材料 2025-04-09 12:29:32 +08:00
MistEO
11a120b056 ci: MirrorChyan for macos (#12296)
* Update mirrorchyan_release_note.yml

* Update mirrorchyan.yml

* Update mirrorchyan.yml

* Update mirrorchyan_release_note.yml

* Update mirrorchyan.yml

* Update mirrorchyan.yml

* Update mirrorchyan_release_note.yml

* Update mirrorchyan.yml

* Update mirrorchyan.yml
2025-04-09 12:23:02 +08:00
Manicsteiner
86f76f71ea chore: YostarJP ocr fix (#12292) 2025-04-09 11:18:08 +08:00
BxFS
ee41f9c322 feat: 生成问题反馈压缩包&打开debug文件夹按钮 (#12282)
* feat: generate support payload and open debug folder option

* feat: zh-tw and en-us i18n, along with ai-translated ja-jp and ko-kr

* i18n: EN tweak

* fix: 移除重复的常见问题

* chore: UI 调整

* fix: 修复绑定,调整顺序

* chore: 移除不再使用的i18n内容

* perf: 调整关于界面

* fix: 文件过滤

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-04-09 10:17:24 +08:00
Constrat
5ad0f1e1fc feat: EN new clue templates + optimizations 2025-04-08 20:09:21 +02:00
Constrat
e432deee2c fix: readd CN gamedata: stages + chars 2025-04-08 19:40:26 +02:00
Constrat
2b64f974ec feat: EN Siege Alter gamedata 2025-04-08 19:18:17 +02:00
status102
46d3e91483 fix: 自动战斗-战斗列表 突袭难度切换失效
fix #12286
2025-04-08 23:14:24 +08:00
uye
105bf5b865 feat: 支持新 UI 主线导航 (#12278)
* feat: 支持新 UI 主线导航

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-08 22:46:27 +08:00
uye
73be332b4d chore: 调整主任务勾选框显示 (#12283) 2025-04-08 21:33:24 +08:00
HX3N
eb69190f18 chore: YostarKR ocr and UI updates (#12284) 2025-04-08 15:12:32 +02:00
status102
3096f8e311 rft: Wpf刷理智任务序列化 2025-04-08 19:33:20 +08:00
status102
419b3ae82d rft: Wpf基建任务参数更新迁移 2025-04-08 19:28:03 +08:00
status102
563c9507d5 rft: Wpf迁移工具箱-公招识别任务 2025-04-08 19:23:26 +08:00
github-actions[bot]
13ccf1b851 chore: Auto Templates Optimization
Triggered by e312d425b8

[skip changelog]
2025-04-08 09:40:29 +00:00
Manicsteiner
e312d425b8 chore: YostarJP clue and GUI updates (#12276) 2025-04-08 11:36:03 +02:00
Constrat
517141a5f4 feat: overseas (JP & KR) data (#12274) 2025-04-08 11:30:17 +02:00
AnnAngela
433eb0aa0b fix: 友链字体 [skip changelog] 2025-04-08 16:15:08 +08:00
AnnAngela
5680895daa feat: 调整友链样式 [skip changelog] 2025-04-08 16:11:14 +08:00
github-actions[bot]
3f426ffd35 chore: Auto Templates Optimization
Triggered by 2ec5caf456

[skip changelog]
2025-04-08 07:59:09 +00:00
AnnAngela
2ec5caf456 feat: 官网添加工具箱友链 [skip changelog] 2025-04-08 15:58:52 +08:00
AnnAngela
2540ec0bc3 feat: 官网添加工具箱友链 [skip changelog] (#12272)
* feat: Update HomeLinks.tsx

* feat: arkntools.app.png

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-08 15:48:22 +08:00
uye
4f81046a40 fix: 15章自动战斗 2025-04-08 12:07:22 +08:00
uye
1e6ae76a2e Revert "fix: 15章 自动战斗"
This reverts commit e2afc7a0cd.
2025-04-08 12:01:19 +08:00
uye
e2afc7a0cd fix: 15章 自动战斗 2025-04-08 11:56:41 +08:00
uye
9c30e9e83e fix: 开始作战 2025-04-08 11:56:41 +08:00
status102
b28ebf3ca9 rft: 远程控制添加任务移除反射 2025-04-08 10:53:23 +08:00
status102
a642024500 chore: 其他地图数据修复 2025-04-08 10:35:55 +08:00
status102
4b61fdf5d9 chore: 主线15章地图修复 2025-04-08 10:26:12 +08:00
uye
0e13f97b8c fix: 修复资源/肉鸽导航 (#12266) 2025-04-08 09:49:39 +08:00
Hao Guan
0475421520 fix(mac): 自动更新 2025-04-08 09:48:22 +08:00
MistEO
c7c17676e2 fix: resource 2025-04-08 09:16:27 +08:00
status102
6a85baede6 fix: wpf外服资源加载错误 2025-04-08 08:47:33 +08:00
Constrat
a935caf588 fix: prettier formatting 2025-04-07 22:11:45 +02:00
github-actions[bot]
34ac9b69f4 chore: Auto Update Game Resources - 2025-04-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14318393003

[skip changelog]
2025-04-07 20:04:51 +00:00
MistEO
7174edab5a chore: fix version time 2025-04-08 02:36:11 +08:00
MistEO
6bc2c2167e fix: revert infrast.json temporary 2025-04-08 02:32:57 +08:00
github-actions[bot]
634738a24d chore: Auto Templates Optimization
Triggered by 567e62abe2

[skip changelog]
2025-04-07 18:30:01 +00:00
MistEO
567e62abe2 feat: 手动更新资源 2025-04-08 02:28:55 +08:00
status102
b508d9e306 rft: Wpf CustomTask序列化 (#12264) 2025-04-07 22:50:16 +08:00
Constrat
768c0e289a fix: warning SA1413 in Telegram notifications 2025-04-07 12:02:02 +02:00
uye
f9319906b0 fix: Debug TaskName 忘保存了 2025-04-07 17:41:25 +08:00
uye
b33d88861c Release v5.15.0-beta.2 (#12261) 2025-04-07 00:49:57 +08:00
github-actions[bot]
088be6e970 docs: Auto Update Changelogs of v5.15.0-beta.2 (#12262)
* docs: Auto Generate Changelog of Release v5.15.0-beta.2

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-04-07 00:38:17 +08:00
uye
a6d52b4a44 feat: 将背景设置独立出来 (#12254)
* feat: 将背景设置独立出来

* fix: typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* i18n: 添加翻译

* chore: 调整持久化储存 key 值,透明度和半径得重新手动调整下

* chore: 隐藏过时提示

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-06 23:06:27 +08:00
uye
0ff82e143f chore: 添加一个临时定时 (#12243)
* chore: 添加一个临时定时

* chore: 定时器全部改成可单次执行
2025-04-06 22:56:30 +08:00
uye
977cd6c9b6 feat: 添加自定义任务,仅在 debug 模式下可见入口
fix #7407
2025-04-06 18:49:42 +08:00
uye
53b0d56209 fix: 线索翻页限制 10 次,超出次数或未识别到下一页强制给当页第一个好友送线索 2025-04-06 17:17:56 +08:00
uye
079359749d fix: 外部通知 SMTP 与 Qmsg 输入框样式错误
fix #12256
2025-04-06 14:15:37 +08:00
uye
0b92134160 chore: 将密码框样式独立出来 2025-04-06 14:07:52 +08:00
Sherkey Asher
1a7b615cf8 docs: 添加ci文档 (#11924)
* docs: 添加协议文档导航

* docs: 添加ci解析

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: improve

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-04-06 09:31:38 +08:00
Loong
7479b95179 chore: bump maa-cli to 0.5.4 (#12091) 2025-04-06 01:12:39 +08:00
uye
0fb839f0f6 chore: 提前适应新 UI 的资源关卡和肉鸽图标 2025-04-05 20:28:41 +08:00
github-actions[bot]
704bf6e05a chore: Auto Update Game Resources - 2025-04-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14270171199

[skip changelog]
2025-04-04 16:47:05 +00:00
Constrat
0b6ff2a7ad feat: YostarEN GO navigation preload 2025-04-04 18:37:22 +02:00
Manicsteiner
0b3c18e206 feat: YostarJP GO navigation (#12244) 2025-04-04 18:34:05 +02:00
uye
1bb16ee657 fix: 落了个 ResetRecruitVariables 2025-04-04 23:38:15 +08:00
HX3N
63cd7a56a9 feat: YostarKR GO navigation (#12242) 2025-04-04 20:39:42 +08:00
uye
80039160cf chore: 给反转 CheckBox 加个样式 2025-04-04 18:47:22 +08:00
uye
15bfd243f1 chore: 反转右键效果时更新 tooltip 悬浮提示 2025-04-04 17:24:51 +08:00
uye
763264e110 chore: 添加背景模糊半径滑块 2025-04-04 15:14:45 +08:00
uye
5c405a321e chore: 添加反转主任务右键单击效果勾选项
cc @Constrat
This option only applies to the main task selection. The key name in config has been changed
2025-04-04 14:45:42 +08:00
uye
fa0065cff7 chore: 调整背景模糊默认半径 2025-04-04 14:37:53 +08:00
Weiyou Wang
0dbd5ee80b fix: mac下选择难度 999 导致卡死 (#12235)
* fix: mac下选择难度 999 导致卡死

* refactor: 用常量
2025-04-04 13:22:21 +08:00
Weiyou Wang
219d3a9151 fix: 修复宿舍填充干员时不经过检测盲点首位干员的问题 (#12234) 2025-04-04 11:01:12 +08:00
uye
79f3228389 chore: 优化肉鸽难度选择显示 2025-04-03 23:48:09 +08:00
Rbqwow
f13c265e70 chore: ignore system shits (#12229)
[skip changelog]
2025-04-02 20:29:10 +08:00
Rbqwow
ca11661405 docs: 调整新手上路步骤顺序 (#12228) 2025-04-02 20:28:57 +08:00
HY
5dab97c71e fix: 繁中服生息演算無法讀檔 (#12230) 2025-04-02 11:23:46 +02:00
uye
de1ca4d414 chore: 可修改 gui.json 自定义 Background 模糊半径 2025-04-01 14:02:23 +08:00
uye
bb7eb4f095 Release v5.15.0-beta.1 (#12213)
push push
2025-03-31 20:48:10 +08:00
github-actions[bot]
40e158bb24 docs: Auto Update Changelogs of v5.15.0-beta.1 (#12222)
* docs: Auto Generate Changelog of Release v5.15.0-beta.1

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-03-31 20:00:07 +08:00
uye
7d0cfcddda feat: 添加控件半透明背景色,新增自定义背景 (#12204)
* feat: 添加控件半透明背景色,新增自定义背景

* chore: 添加个界面提示

* fix: 无法保存不透明度

* chore: 调整背景透明度,添加毛玻璃效果

* chore: 添加缓存

* chore: 删除多余内容

* style: format

* perf: 简化样式声明

* feat: 添加DataGrid半透明效果

* chore: 统一格式

* chore: ItemContainerStyle 改为默认透明

* fix: 修复部分未透明控件

* fix: 类型错误

* chore: 拆分不同样式的ListBox

* chore: 密码框半透明

* chore: 标题栏半透明

* chore: ButtonGroup 中的 RadioButton 选中时半透明

* chore: 调整 ListBoxItem 鼠标悬浮及选中颜色

* chore: 扩大主界面任务栏设置可点击范围

* perf: 小工具页TabControl背景透

* chore: 优化界面显示效果

* chore: 修复置顶按钮在切换主题色时更新不及时

* chore: 添加 PreviewSlider 渐入动画,增加 HoverDelayHelper 辅助类

* chore: HoverDelayHelper 不处理动画

* chore: 优化界面显示

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-03-31 19:56:34 +08:00
HY
c46024cb6a chore: 繁中服「生路」活動導航 (#12224) 2025-03-31 19:38:15 +08:00
github-actions[bot]
df905440f5 chore: Auto Update Game Resources - 2025-03-31
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14165187946

[skip changelog]
2025-03-31 06:09:17 +00:00
BxFS
42e36f11da fix: CheckLevelMax ocr target "-" -> digits (#12223) 2025-03-31 13:31:34 +08:00
github-actions[bot]
69acd541d3 chore: Auto Update Game Resources - 2025-03-31
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14164735183

[skip changelog]
2025-03-31 05:29:36 +00:00
晓丶梦丶仁
a8cc94d5b9 chore: update en-bug-report template
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-31 11:15:27 +08:00
Constrat
5cd9164d21 feat: YoStarEN Sarkaz theme + JP and KR template optimization 2025-03-30 21:02:38 +02:00
HX3N
b481071e6b chore: YostarKR Sarkaz Theme (#12220) 2025-03-30 20:49:48 +02:00
uye
443c9a74ff chore: gpu 选项禁用滚轮切换
fix #12210
2025-03-31 00:52:51 +08:00
Manicsteiner
acd8afd3b5 chore: YostarJP Sarkaz Theme (#12216) 2025-03-30 20:57:25 +08:00
Manicsteiner
a3795b4312 chore: YostarJP 琳琅诗怀雅 ocr fix (#12219) 2025-03-30 20:51:21 +08:00
uye
d643bd332e chore: 新增 MirrorChyan ErrorCode 提示 (#12202)
* chore: 新增 MirrorChyan ErrorCode 提示

* fix: 漏传显示参数

* fix: 显示错误
2025-03-28 17:01:51 +08:00
MistEO
a145ddc5fc chore: update wording about mirrorchyan (#12208) 2025-03-28 13:21:51 +08:00
github-actions[bot]
d0d71cb45b chore: Auto Update Game Resources - 2025-03-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14066226473

[skip changelog]
2025-03-25 17:28:42 +00:00
github-actions[bot]
bb860a5f26 chore: Auto Update Game Resources - 2025-03-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14065778213

[skip changelog]
2025-03-25 17:06:15 +00:00
github-actions[bot]
4226546b46 chore: Auto Update Game Resources - 2025-03-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14054199041

[skip changelog]
2025-03-25 07:44:03 +00:00
github-actions[bot]
f80d89cee4 chore: Auto Update Game Resources - 2025-03-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14053641056

[skip changelog]
2025-03-25 07:07:18 +00:00
dependabot[bot]
46d7d4b2ad ci: bump apple-actions/import-codesign-certs from 3 to 5 in /.github/workflows in the github-actions group (#12201)
ci: bump apple-actions/import-codesign-certs

Bumps the github-actions group in /.github/workflows with 1 update: [apple-actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs).


Updates `apple-actions/import-codesign-certs` from 3 to 5
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v3...v5)

---
updated-dependencies:
- dependency-name: apple-actions/import-codesign-certs
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 11:10:09 +08:00
dantmnf
3c2105eae1 fix: handle leak
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2746840742
2025-03-24 22:42:54 +08:00
github-actions[bot]
81d5d51938 chore: Auto Update Game Resources - 2025-03-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/14033663625

[skip changelog]
2025-03-24 11:06:21 +00:00
MistEO
2f373ba893 docs: add space 2025-03-23 01:49:34 +08:00
MistEO
db2edc29be docs: add space 2025-03-23 01:45:54 +08:00
Constrat
47dc686e89 chore: add delay pre UnlockClues 2025-03-21 12:55:03 +01:00
HX3N
434d5b9f2b fix: YostarKR lower StartToVisit templThreshold (#12193) 2025-03-21 11:05:08 +01:00
github-actions[bot]
5429120a93 chore: Auto Update Game Resources - 2025-03-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13978365308

[skip changelog]
2025-03-20 20:07:01 +00:00
HX3N
5f0e2a8366 chore: YostarKR SSS#6 BuffChoose (#12191) 2025-03-20 19:39:21 +01:00
Constrat
5c06a78ac1 feat: Telegram Topic notification (#12188)
* feat: cs logic

* chore: xaml GUI

* i18n: string localization

* fix: big typo

* fix: xaml formatting

* fix: formatting jp

* chore: variable consistency
2025-03-20 11:09:27 +01:00
晓丶梦丶仁
26917639b9 perf: 孤星搓玉关 2025-03-20 17:36:53 +08:00
晓丶梦丶仁
4676e83921 fix: 保全开始部署 点击过快导致点击无效 (#12185) 2025-03-20 17:15:23 +08:00
github-actions[bot]
b24d1f8b7e chore: Auto Templates Optimization
Triggered by 8d4dc58ddf

[skip changelog]
2025-03-20 09:11:20 +00:00
github-actions[bot]
8d4dc58ddf chore: Auto Update Game Resources - 2025-03-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13965604516

[skip changelog]
2025-03-20 09:10:11 +00:00
github-actions[bot]
8fb585c3bd chore: Auto Update Game Resources - 2025-03-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13964618452

[skip changelog]
2025-03-20 08:08:03 +00:00
status102
d4cfdd0153 fix(wpf): 自动战斗在开启战斗列表时导入作业后,关闭战斗列表开始任务时作业使用错误 2025-03-20 15:33:29 +08:00
Constrat
a82fbe2193 chore: update issue_template to remove new lines for EN 2025-03-19 18:50:38 +01:00
Constrat
616a283538 fix: SSS#6 directional EC and branches 2025-03-19 18:33:21 +01:00
晓丶梦丶仁
38ffe6e047 fix: 控制中枢模板mask (#12177) 2025-03-19 21:01:34 +08:00
uye
b39ef8d44c chore: 移除过时的重连代码 2025-03-19 13:59:33 +08:00
github-actions[bot]
92e81d51be chore: Auto Update Game Resources - 2025-03-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13939071833

[skip changelog]
2025-03-19 04:45:57 +00:00
HY
ebc06d3b9c fix: 繁中服_生息演算組裝道具後卡住 (#12182)
* fix: 繁中服_生息演算組裝道具後卡住

* perf: 改为 ocrReplace

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-03-19 12:40:43 +08:00
github-actions[bot]
6e215b016a chore: Auto Update Game Resources - 2025-03-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13936090872

[skip changelog]
2025-03-19 00:25:33 +00:00
Hao Guan
fb33815586 feat(mac): 任务列表支持多个开始唤醒,以实现多账号 (#12144) 2025-03-19 03:44:32 +08:00
Constrat
ea269d69c7 chore: tweak SSS files for global 2025-03-18 11:18:29 +01:00
Constrat
5453be7ed4 chore: tweaked SSS copilot operators output 2025-03-18 11:10:46 +01:00
Constrat
9c5cb6e020 fix: xaml requires &#160; 2025-03-18 11:10:14 +01:00
Constrat
62ce927ef9 i18n: add space after : 2025-03-18 10:52:50 +01:00
dragonheart107
ed814d77f4 feat: SSS#6 for EN (#12168) 2025-03-18 10:49:56 +01:00
Manicsteiner
2af21754d7 chore: YostarJP EnterInfrastDelicious (#12176) 2025-03-18 12:24:56 +08:00
HY
31e64c87bc chore: 繁中服_聲浪安保派駐_定向導能元件 (#12174) 2025-03-17 10:15:05 +01:00
MistEO
9ae1e097f4 feat: check nightly version with mirrorchyan (#12173)
* ci: trigger alpha upload

* feat: check nightly version with mirrorchyan

* chore: remove l10n
2025-03-17 14:29:12 +08:00
uye
078e03b637 fix: 钼铅识别错误
fix #12169
2025-03-16 21:26:24 +08:00
MistEO
0673d8f790 Merge tag 'v5.14.1' into dev
v5.14.1
2025-03-16 11:47:41 +00:00
MistEO
13c6737d87 Release v5.14.1 (#12164)
for
5631e8ea0d
2025-03-16 19:47:08 +08:00
MistEO
a10009f6ae docs: changelog v5.14.1 2025-03-16 19:26:35 +08:00
MistEO
8a98f06910 feat: 调整下载来源提示 (#12156)
* feat: 调整下载来源提示

* chore: 调整一下toast文本
2025-03-16 19:21:28 +08:00
MistEO
881f3c6393 chore: 资源更新换一个解压目录 (#12153) 2025-03-16 19:21:28 +08:00
github-actions[bot]
2312a6b766 chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13857358415

[skip changelog]
2025-03-16 19:21:28 +08:00
MistEO
6929abc2db ci: revert resource updater for upstream fix
修了修了 6a574986df (diff-64333ee497f100b1dbf592555a20776fba85b32e6f4b798a96ac74ce4e3269e9)
2025-03-16 19:21:28 +08:00
Constrat
6c0c2d548e chore: set output to UTF_8 for ResourceUpdater 2025-03-16 19:21:28 +08:00
Constrat
1e20c8ce30 fix: update version.json on Arknights-Tile-Pos changes
fix 43c672df54
2025-03-16 19:21:28 +08:00
MistEO
b872cbf0ec ci: manually update resource
https://github.com/yuanyan3060/ArknightsGameResource/issues/25
2025-03-16 19:21:28 +08:00
MistEO
8958b93a98 ci: output resource updater version info 2025-03-16 19:21:28 +08:00
MistEO
a7a48c6145 chore: manual update version 2025-03-16 19:21:28 +08:00
github-actions[bot]
66db13d1ae chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13853283969

[skip changelog]
2025-03-16 19:21:28 +08:00
github-actions[bot]
673231881e chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13852722614

[skip changelog]
2025-03-16 19:21:22 +08:00
MistEO
7274b29714 feat: 调整下载来源提示 (#12156)
* feat: 调整下载来源提示

* chore: 调整一下toast文本
2025-03-15 23:58:28 +08:00
MistEO
5631e8ea0d chore: 资源更新换一个解压目录 (#12153) 2025-03-15 14:03:23 +08:00
github-actions[bot]
e180bf6fb4 chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13857358415

[skip changelog]
2025-03-14 13:16:39 +00:00
MistEO
c911d27a8f ci: revert resource updater for upstream fix
修了修了 6a574986df (diff-64333ee497f100b1dbf592555a20776fba85b32e6f4b798a96ac74ce4e3269e9)
2025-03-14 21:12:53 +08:00
Constrat
2198df02b4 chore: set output to UTF_8 for ResourceUpdater 2025-03-14 11:44:08 +01:00
Constrat
4cb4622438 fix: update version.json on Arknights-Tile-Pos changes
fix 43c672df54
2025-03-14 11:24:09 +01:00
MistEO
9299625f04 ci: manually update resource
https://github.com/yuanyan3060/ArknightsGameResource/issues/25
2025-03-14 18:00:45 +08:00
MistEO
81a53dbb6f ci: output resource updater version info 2025-03-14 17:31:28 +08:00
MistEO
424effe5f2 chore: manual update version 2025-03-14 17:23:56 +08:00
github-actions[bot]
43c672df54 chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13853283969

[skip changelog]
2025-03-14 09:06:41 +00:00
status102
d0de85c7cd Revert "fix: roguelike already left encounter check and return from map screen (#12088)"
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/12088#issuecomment-2724040534
2025-03-14 16:59:46 +08:00
github-actions[bot]
b25796e4b5 chore: Auto Update Game Resources - 2025-03-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13852722614

[skip changelog]
2025-03-14 08:31:28 +00:00
status102
28259b23f7 rft: Wpf肉鸽任务序列化 (#12124)
* rft(wpf): 肉鸽任务序列化

* perf: 部分参数设置简化
2025-03-14 16:25:38 +08:00
BxFS
cb398487f1 fix: roguelike already left encounter check and return from map screen (#12088)
* fix: back out of map screen in roguelike

* feat: check if already left encounter for RoguelikeStageEncounterTaskPlugin
2025-03-14 16:20:22 +08:00
status102
758f79d1ad perf(core): 自动战斗开始前仅移除相似的召唤物头像缓存 2025-03-14 15:05:40 +08:00
status102
a42b1546b3 fix: 繁中服薩米肉鴿事件ocr
fix #12147
2025-03-14 09:54:18 +08:00
bodayw
04eacd6615 fix: 更新 243 极限效率一天四换排班表 (#12146)
取消 A+C 短班中的宿舍自动填充,避免把已经移出的令重新放进去恢复心情。

Disable dorm autofill in rotation "A+C" to avoid putting Ling back in again.
2025-03-13 14:54:02 +01:00
MistEO
a13550370a docs: 协议抄错了x 2025-03-13 17:59:48 +08:00
MistEO
9ab022f5ba docs: dml 措辞改漏了 2025-03-13 17:57:42 +08:00
MistEO
35089726d9 docs: 优化 DML 相关措辞 2025-03-13 17:56:15 +08:00
MistEO
a3d81c6029 docs: 回滚部分声明措辞 2025-03-13 17:49:49 +08:00
github-actions[bot]
5828b76ea7 chore: Auto Update Game Resources - 2025-03-13
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13830229008

[skip changelog]
2025-03-13 08:31:55 +00:00
github-actions[bot]
882c617031 chore: Auto Update Game Resources - 2025-03-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13807179300

[skip changelog]
2025-03-12 08:46:55 +00:00
MistEO
8523b760e4 Release v5.14.0 (#12139) 2025-03-12 13:14:05 +08:00
github-actions[bot]
f1210a6103 docs: Auto Update Changelogs of v5.14.0 (#12142)
* docs: Auto Generate Changelog of Release v5.14.0

* docs: cahngelog

* docs: changelog

* docs: changelog

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* docs: Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-03-12 13:08:38 +08:00
status102
8a85df4a36 perf: 基建信息板收取信用增加开关 (#12050)
* perf: 基建信息板收取开关

* feat(core): 基建任务会客室领取留言板信用

* i18n: wpf

* fix: 补回遗漏传参,简化调用

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-12 09:04:28 +08:00
鬼影233
aeb557d004 feat: 适配「滋味」界面主题(YoStarEN) (#12135) 2025-03-11 21:58:34 +08:00
bodayw
ccd343db0f fix: 更新 243 极限效率一天四换排班表 (#12137)
修复格雷伊重复进驻宿舍的排班错误

Fixed the bug that Greyy were designated twice in the dorms
2025-03-11 12:51:31 +01:00
Constrat
15d1a8623e fix: add custom text and roi for SideStory DT 2025-03-10 23:04:19 +01:00
bodayw
d2b2538d77 feat: 更新 243 极限效率一天四换排班表(20250310 修订) (#12132)
---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-03-10 22:17:03 +01:00
github-actions[bot]
8bad202185 chore: Auto Update Game Resources - 2025-03-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13770953282

[skip changelog]
2025-03-10 17:28:25 +00:00
dantmnf
2fd03290e6 chore: deprecate more Intel integrated GPUs
We have issue reports on such generation iGPU.

Xe2 (Lunar Lake, Core Ultra 200V) and Xe-LPG+ (Arrow Lake, Core Ultra
200H) GPUs are still under evaluation.
2025-03-11 00:31:32 +08:00
Constrat
ee0e6a9519 chore: give priority to flint item compared to flint operator
nofix
2025-03-10 14:50:11 +01:00
HX3N
b0ba0fc4fc chore: YostarKR Theme Delicious (#12131) 2025-03-10 13:54:01 +01:00
Manicsteiner
622c22cf24 chore: YostarJP Theme Delicious (#12130) 2025-03-10 20:37:11 +08:00
Manicsteiner
793a4631d6 chore: YostarJP DT stage (#12129) 2025-03-10 20:36:37 +08:00
status102
bb1758b699 fix: 自动战斗费用识别在部分分辨率下概率出错
720p存在故障
2025-03-10 19:05:23 +08:00
HX3N
211e3eaea9 chore: YostarKR DT stage roi and text (#12127) 2025-03-10 19:59:28 +09:00
github-actions[bot]
13d766e071 chore: Auto Update Game Resources - 2025-03-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13759363595

[skip changelog]
2025-03-10 07:44:07 +00:00
github-actions[bot]
4427d37cd3 chore: Auto Update Game Resources - 2025-03-10
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13758799171

[skip changelog]
2025-03-10 07:06:20 +00:00
github-actions[bot]
2ee090e749 chore: Auto Templates Optimization
Triggered by 56e578f99c

[skip changelog]
2025-03-10 07:04:36 +00:00
BxFS
56e578f99c fix: 尝试修复肉鸽不期而遇退出后仍在尝试点击事件
chore: update tools ignore

feat: check if already left encounter for RoguelikeStageEncounterTaskPlugin

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Signed-off-by: status102 <102887808+status102@users.noreply.github.com>
2025-03-10 15:03:36 +08:00
status102
a033d99f66 rft: wpf招募任务序列化 (#12080) 2025-03-10 12:12:19 +08:00
status102
f101fb5afb fix(wpf): 修复自动战斗-战斗列表批量导入失效 2025-03-09 23:33:38 +08:00
MistEO
325db06cd6 Release v5.14.0-beta.4 (#12121) 2025-03-09 21:19:16 +08:00
github-actions[bot]
b36bd89a32 docs: Auto Update Changelogs of v5.14.0-beta.4 (#12122)
* docs: Auto Generate Changelog of Release v5.14.0-beta.4

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-03-09 21:07:35 +08:00
status102
917534e474 rft: wpf基建任务序列化默认值补全 2025-03-09 20:14:27 +08:00
status102
2e17de4983 perf: 肉鸽投资ocr封装 2025-03-09 20:14:27 +08:00
Sherkey Asher
2aa996b59d feat: SideStory「挽歌燃烧殆尽」导航 (#12094)
* feat: SideStory「挽歌燃烧殆尽」导航

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 神秘ocr
2025-03-09 01:05:18 +08:00
github-actions[bot]
ae2f714ec1 chore: Auto Update Game Resources - 2025-03-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13739097764

[skip changelog]
2025-03-08 15:44:20 +00:00
uye
3b73b28e1c chore: 手动更新下活动名称 2025-03-08 23:39:12 +08:00
uye
a786556623 chore: 填写完cdk后自动检查一次更新 2025-03-08 23:27:59 +08:00
uye
abbcbdfdac chore: 删除多余判断 2025-03-08 23:27:59 +08:00
Constrat
2115d2e7c9 fix: typo
[skip changelog] [skip ci]
2025-03-08 16:08:17 +01:00
Constrat
b73087a190 feat: YostarEN DT navigation 2025-03-08 16:07:06 +01:00
status102
7275d126c7 perf: 企鹅物流上报失败-不支持的关卡,输出降级为警告,移除提示中的更新提醒 2025-03-08 16:30:47 +08:00
HX3N
dff4b57d66 chore: YostarKR DT navigation (#12105) 2025-03-08 15:34:17 +08:00
status102
f59ca76dfc perf(wpf): 自动战斗在作业地图不支持时,自动检测资源更新 2025-03-08 10:52:17 +08:00
status102
6bc44b934c perf(wpf): 调整干员识别及仓库识别开始流程 2025-03-08 10:41:44 +08:00
status102
19a73ef5d4 rft: wpf信用任务序列化 2025-03-08 10:41:23 +08:00
Manicsteiner
a42d253962 chore: YostarJP DT テラ飯 preload (#12101) 2025-03-07 21:42:32 +01:00
uye
bfd0ce283e chore: 提取 ResourceReload 方法 2025-03-07 23:26:31 +08:00
status102
c0ff1ddbe9 fix: wpf自动战斗-追加自定干员失效 2025-03-07 20:24:06 +08:00
status102
907d742ba6 perf: 修改初次设置引导中的项目,移除账号切换相关 2025-03-07 19:02:16 +08:00
BxFS
67b680e83a feat: 萨卡兹肉鸽深入调查实装 (#12098)
* feat: Sarkaz Deep Investigation

* refactor: remove duplicate sarkaz confirm pngs
2025-03-07 11:22:07 +01:00
Constrat
3d5189c8a8 style: formatting output
[skip changelog]
2025-03-07 11:15:13 +01:00
MistEO
f5e17393a7 feat: parse release note for resource updater (#12092)
* feat: parse release note for resource udpater

* feat: parse release note for resource udpater

* feat: toast 显示版本信息

* style: whitespace for EN

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-03-07 17:43:02 +08:00
github-actions[bot]
d354f5cefe chore: Auto Update Game Resources - 2025-03-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13716403548

[skip changelog]
2025-03-07 08:08:04 +00:00
XuQingTW
7f60b24c15 docs : 枯朽祭坛 维什戴尔 逻各斯 OCR辨識 (#12096)
* Update 枯朽祭坛 维什戴尔 逻各斯

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-07 15:31:27 +08:00
github-actions[bot]
75d30fd48c chore: Auto Templates Optimization
Triggered by 1dd501427d

[skip changelog]
2025-03-07 02:34:34 +00:00
github-actions[bot]
1dd501427d chore: Auto Update Game Resources - 2025-03-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13712491072

[skip changelog]
2025-03-07 02:33:57 +00:00
status102
c5fb4f099a fix: wpf领取奖励任务序列化错误 2025-03-07 09:59:43 +08:00
status102
e63c471baf rft: wpf领取奖励任务序列化 2025-03-06 22:58:37 +08:00
status102
1090f6bd5a fix: 修改彩蛋gif默认路径为string.Empty 2025-03-06 22:58:36 +08:00
status102
c139c29538 perf: 移除无用的彩蛋控件 2025-03-06 22:58:30 +08:00
BxFS
2f5c625abd fix: sarkaz MS count 1->8 (#12085) 2025-03-06 13:09:18 +01:00
uye
85a19f514a chore: 倒计时添加日志 2025-03-06 17:04:12 +08:00
uye
d57b196649 chore: 添加 spid 2025-03-06 17:04:12 +08:00
uye
7ccd76e99f chore: 调整参数名 2025-03-06 17:04:12 +08:00
github-actions[bot]
bad812ff2a chore: Auto Update Game Resources - 2025-03-06
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13694387717

[skip changelog]
2025-03-06 08:31:11 +00:00
Roland125
b14a563403 fix: 修复截图速度过快导致不能切换贸易站订单的问题 (#12090)
ChangeToMoneyOrder任务在9ms的截图速度下,点击动作在游戏中无法生效,故添加一个任务前延时。
顺便为ChangeToSyntheicJadeFlagOrder任务也添加一个前延时。
Co-authored-by:@Alan-Charred
2025-03-06 10:15:33 +08:00
status102
c9261d7702 fix: 基建设置UI绑定失效 2025-03-06 09:58:35 +08:00
github-actions[bot]
8f5a398154 chore: Auto Update Game Resources - 2025-03-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13684563437

[skip changelog]
2025-03-05 20:07:10 +00:00
BxFS
bf13b5ebc8 fix: burden/toil tasks threshold 0.9 -> 0.8 (#12087)
---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-03-05 18:42:09 +01:00
status102
81e1eb5660 fix: wpf开始唤醒任务在未选择官服/B服时,不再提供账号切换输入 2025-03-05 21:35:53 +08:00
status102
8419dc567e fix: wpf自动战斗-自动编队追加自定干员意外激活
fix #12077
2025-03-05 15:42:53 +08:00
status102
82b63a0c3e rft: Wpf基建任务序列化调整 (#12053)
* rft: Wpf基建任务序列化

* rft: 迁移遗漏的CustomInfrastEnabled
2025-03-04 16:48:50 +08:00
status102
a80d7bbc03 rft: Wpf唤醒任务序列化 2025-03-04 11:57:10 +08:00
status102
bc5e04e6b8 rft: Wpf关闭明日方舟任务序列化 2025-03-03 17:35:39 +08:00
uye
d131261dda chore: 外部通知邮件 html 支持颜色输出 2025-03-03 15:46:57 +08:00
status102
a1d49556d2 ci: nightly版本打包tag获取 (#12076) 2025-03-03 08:15:05 +01:00
status102
e6e6b3d486 fix: log rotate (#12025)
* fix: log rotate

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: ubuntu

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: counter

* fix: ubuntu

* fix: static lock

* perf: type

* perf: catch file error

* fix: 修复size计算错误

* revert: 还原阈值为64mb

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 移除不必要的锁传递

* rft: 使用streambuf计数

* perf: rename & 移除未使用函数

* fix: platform diff

* perf: init

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-03 15:02:06 +08:00
status102
f82a3615b3 ci: release-nightly-ota在获取最近提交之前输出最新标签 2025-03-03 11:56:11 +08:00
Constrat
12ec6e3ca5 fix: remove duplicate strings (#12065) 2025-03-02 14:11:30 +01:00
status102
79097158e5 rft: wpf生息演算任务序列化 2025-03-02 11:51:19 +08:00
github-actions[bot]
36788ed6c7 chore: Auto Update Game Resources - 2025-03-01
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13604799527

[skip changelog]
2025-03-01 12:33:08 +00:00
BxFS
a74b0e23de fix: Sarkaz MS unable to progress from post StartExplore (#12039)
---------

Signed-off-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-03-01 13:12:17 +01:00
BxFS
eaa85466e3 fix: stuck on StageEnterBattleAgain while in team selection screen (#12059) 2025-03-01 11:53:38 +01:00
uye
d6cab77a7b fix: smtp 格式 2025-03-01 10:38:04 +08:00
uye
a12ea44824 chore: smtp 通知使用 html 2025-03-01 10:05:46 +08:00
github-actions[bot]
4d3124aadb chore: Auto Update Game Resources - 2025-02-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13592914800

[skip changelog]
2025-02-28 17:05:52 +00:00
github-actions[bot]
5a4fe8ce43 chore: Auto Update Game Resources - 2025-02-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13583098168

[skip changelog]
2025-02-28 07:06:36 +00:00
HY
5f1abee203 chore: add sami investigation equipment text and temporary retreat template (#12046)
* chore: add investigation equipment and temporary retreat for sami  (txwy)

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: KR add template and ocrReplace

* chore: JP template and ocrReplace

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: ManicSteiner <manicsteiner@outlook.com>
2025-02-28 11:47:29 +08:00
uye
6070861ed2 fix: 「滋味」主题在有多个 badge 时无法识别基建入口 (#12057)
如下图所示,现将以 `[935, 570, 130, 75]` 为 roi 进行截图。

![screenshot_20250228_084434
copy](https://github.com/user-attachments/assets/6548649e-4476-4beb-be49-ab83712e2c05)

测试结果如下:
```
[2025-02-28 09:03:59.670][TRC][Px1c6e][Tx824b] ││││ match_templ | EnterInfrastDelicious.png score: 0.993298 rect: [ 935, 570, 130, 75 ] roi: [ 930, 540, 230, 180 ]
```

倘若未来有用户遇到模版识别分过低的问题,可以考虑裁减掉此模版的左侧。请务必保留字母 “B”。
2025-02-28 09:47:52 +08:00
pre-commit-ci[bot]
4923cf0277 chore: Auto update by pre-commit hooks [skip changelog] 2025-02-27 22:12:46 +00:00
Weiyou Wang
834d55a156 fix: 「滋味」主题在有多个 badge 时无法识别基建入口 2025-02-28 09:06:35 +11:00
Roland125
49d9af722e fix: 修复公招的几个问题 (#12056)
* fix: 修复不自动招募4星干员时,执行空招募的问题

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 修改is_calc_only_task()的判断条件,避免正常招募流程的一种情形(所有星级都不执行招募)被错判为仅公招计算。从公招计算启动招募时,加入-1作为标识。
fix: 在正常招募流程中,自动招募1星时,将1星也加入comfirm_level

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-27 21:27:55 +08:00
Roland125
ecb098e65c fix: 修复不自动招募4星干员时,会执行空招募的问题 (#12054)
* fix: 修复不自动招募4星干员时,执行空招募的问题

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-27 19:54:12 +08:00
Rbqwow
55c1391afc docs: 更新开发前须知 (#12043)
* docs: update en-us development

* docs: update other language

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: typo

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-27 14:19:26 +08:00
Constrat
35b1ce3d1d tools: add ignore template
[skip changelog]
2025-02-26 14:34:42 +01:00
github-actions[bot]
e61c61679d chore: Auto Update Game Resources - 2025-02-26
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13542431504

[skip changelog]
2025-02-26 11:06:27 +00:00
github-actions[bot]
6737e8b958 chore: Auto Templates Optimization
Triggered by 520819a8c2

[skip changelog]
2025-02-26 10:50:23 +00:00
status102
520819a8c2 perf: 基建会客室信息板无新访客时,不再进入领取页 2025-02-26 18:48:52 +08:00
uye
8e36b6b0ea style: 格式化
[skip changelog]
2025-02-26 14:39:09 +08:00
uye
05edea23b5 chore: 猫猫改为全局 2025-02-26 14:36:02 +08:00
status102
f933d7a605 fix: 自动战斗追加自定义干员序列化 2025-02-26 14:25:42 +08:00
uye
836e26cb55 Release v5.14.0-beta.3 (#12040) 2025-02-26 12:35:30 +08:00
github-actions[bot]
375daa1d13 docs: Auto Update Changelogs of v5.14.0-beta.3 (#12041)
* docs: Auto Generate Changelog of Release v5.14.0-beta.3

* docs: changelog

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-02-26 12:29:56 +08:00
uye
cc7df9d88b fix: 尝试修复启动时不显示ui 2025-02-26 11:16:54 +08:00
status102
3f20295c89 fix: YoStarEN 肉鸽开局分队界面检测ROI扩大 2025-02-26 09:33:07 +08:00
status102
8b1f4ab24d fix: 自动战斗移除点赞时判断作业是否来自云端 2025-02-26 09:31:08 +08:00
status102
e709445fb8 perf: 移除未使用的变量
[skip changelog]
2025-02-26 09:30:06 +08:00
Constrat
fd6c8c2742 docs: update english schema 2025-02-25 21:52:32 +01:00
Rbqwow
6872945e32 fix: typo
[skip changelog]
2025-02-26 00:50:02 +08:00
MistEO
14ee103e19 Revert "ci: 临时措施" (#12033) 2025-02-25 23:20:37 +08:00
github-actions[bot]
589bc60267 chore: Auto Templates Optimization
Triggered by 05c8f3728c

[skip changelog]
2025-02-25 15:03:15 +00:00
MistEO
05c8f3728c Release v5.14.0-beta.2 (#12007) 2025-02-25 22:49:25 +08:00
Constrat
ecd148149e chore: 7a9c5a9f2d for YoStarEN 2025-02-25 15:49:13 +01:00
github-actions[bot]
9ccdd9884a chore: Auto Update Game Resources - 2025-02-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13523913630

[skip changelog]
2025-02-25 14:44:59 +00:00
status102
7597fd7a20 docs: chaneglog 2025-02-25 22:44:37 +08:00
github-actions[bot]
d004729626 docs: Auto Update Changelogs of v5.14.0-beta.2 (#12008)
* docs: Auto Generate Changelog of Release v5.14.0-beta.2

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-02-25 22:41:36 +08:00
BxFS
7a9c5a9f2d fix: 萨米第二次调查装备获取+萨米暂时撤退适配 (#12030)
fix: choose any device and MissionFailedFlag3 for sami DE/DI
2025-02-25 22:32:34 +08:00
github-actions[bot]
83c45934af chore: Auto Templates Optimization
Triggered by 4c8d57cca9

[skip changelog]
2025-02-25 14:31:48 +00:00
Constrat
4c8d57cca9 fix: retake Mizuki IS recruit templates
try to fix triple recruit issue
2025-02-25 15:31:16 +01:00
晓丶梦丶仁
5aa8f17670 docs: 两次大写 Reapply
[skip changelog]
2025-02-25 22:27:38 +08:00
BxFS
76e59348b2 fix: 月度小队/深入调查未启用自动切换会以当前游戏模式开始探索 (#12032)
fix: MS/DE now switch to correct tabs even without autoiterate ticked
2025-02-25 22:23:19 +08:00
uye
931a136d5c feat: ExternalNotification 可选输出详细信息 (#12020)
* feat: ExternalNotification 可选输出详细信息

* i18n: 添加翻译

* feat: 任务出错时额外通知

* chore: 尝试将换行替换成`<br>`

* fix: <br> 不生效
2025-02-25 22:21:08 +08:00
uye
7e2d61d788 feat: 猫猫 (#12017) 2025-02-25 22:20:50 +08:00
status102
16c47f466b fix: 肉鸽深入调查没有指挥分队可选时,随机选择分队跳过干员招募
fix #12016
2025-02-25 21:40:27 +08:00
status102
2ee0114b14 perf: 自动战斗列表非即时添加作业时,使用已读取的缓存替代读取文件 2025-02-25 20:01:26 +08:00
status102
2d3947ecd1 perf: 肉鸽任务参数禁止运行期修改 2025-02-25 20:01:26 +08:00
uye
d69b7e3e49 chore: MirrorChyanCdk 添加 Placeholder 2025-02-25 18:19:27 +08:00
status102
d9256650b7 rft: Wpf自动战斗作业序列化调整 2025-02-25 16:38:01 +08:00
status102
e7fb41f56f perf: 合并视频任务判断 2025-02-25 16:37:55 +08:00
github-actions[bot]
ff007306fc chore: Auto Update Game Resources - 2025-02-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13513664757

[skip changelog]
2025-02-25 04:29:49 +00:00
status102
fe362d09fc rft: Wpf自动战斗任务序列化 2025-02-25 10:55:48 +08:00
MistEO
206352a8e6 ci: fix sync-resource git config 2025-02-25 00:01:25 +08:00
status102
faff79e9c6 feat(wpf): Wpf旧Config增加int读取 (#11987) 2025-02-24 23:38:51 +08:00
uye
7a34a175e6 chore: 添加强制使用 Github 进行版本更新 2025-02-24 23:34:11 +08:00
status102
aac930bdb4 rft: 移动截图耗时显示位置以避免产生GPU加速截图的误导 2025-02-24 23:31:35 +08:00
status102
de3e1cf0ba fix: 自动战斗保全作业地图存在性判断 2025-02-24 22:21:13 +08:00
status102
75c71a90d5 feat: 基建收取会客室周限300信用 (#12014)
* feat: 基建收取会客室周限300信用

* chore: Auto update by pre-commit hooks [skip changelog]

* chore(tools): add templates to ignore list

* fix: stack overflow

* fix: pipeline

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 动画延迟+roi

* fix: 动画加加retry

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-02-24 21:21:47 +08:00
status102
baad476f38 perf: 自动战斗任务类型校验补充
[skip changelog]
2025-02-24 19:54:07 +08:00
status102
94cb4f8f7f rft: Wpf自动战斗重构 (#11977)
* chore: 自动战斗一般作业model

* chore: 自动战斗保全作业model

* chore: 作业model增加输出提示

* rft: 拆分IO

* rft: 重构作业解析、作业集添加

perf: 简化CouldLikeWebJson

rft: 单个作业添加到作业集

perf: 优化作业添加,启动时校验地图是否存在

perf: 优化作业集加载时输出

rft: 移除废弃参数

fix: 作业集作业缓存写入加锁

chore: 简单挪个位置

rft: 整理一下函数

rft: 战斗列表序列化重构优化

chore: 修改log输出位置

chore: func rename & const declare

fix: 批量导入未标注难度的作业时,将按照普通难度追加

fix: 浏览列表中作业时重复添加

chore: 移除未使用变量

fix: 移除重复显示作业详情

fix: 自动战斗作业保存重复导致覆盖

fix: 修复加载作业时解析返回值错误

* rft: 更改战斗列表中任务的缓存路径
2025-02-24 19:29:33 +08:00
github-actions[bot]
4154184fb4 chore: Auto Update Game Resources - 2025-02-24
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13493432898

[skip changelog]
2025-02-24 08:08:50 +00:00
Constrat
e1860299f7 fix: fast forward text in encounter (#12021) 2025-02-24 08:32:20 +01:00
AnnAngela
d49eea9fbd ci: 临时措施 (#12024) 2025-02-24 10:20:27 +08:00
MistEO
3171c8a84c ci: perf mirrorchyan uploading 2025-02-24 00:52:49 +08:00
晓丶梦丶仁
ab1c6e1c13 perf: IS3 度假村冤魂 防爆桩
Fix #7768
2025-02-23 18:58:43 +08:00
晓丶梦丶仁
6b594d31f4 perf: IS2 精酿杀手 防爆桩
Fix #12012
2025-02-23 18:55:15 +08:00
Rbqwow
c93302501e docs: 此AI非彼AI (#12005)
docs: 这规矩你早就懂的
2025-02-23 18:51:09 +08:00
晓丶梦丶仁
90ce95977b fix: IS2, IS3 支援起重机 缺失 2025-02-23 16:45:29 +08:00
github-actions[bot]
beac7446ff chore: Auto Templates Optimization
Triggered by 730a45d383

[skip changelog]
2025-02-23 03:52:02 +00:00
uye
730a45d383 fix: 「滋味」主题概率无法识别 2025-02-23 11:51:40 +08:00
Constrat
4077409448 tools: update ignore list of templates
[skip changelog]
2025-02-22 16:45:41 +01:00
MistEO
fa24231caf ci: use bot to commit for MaaResource 2025-02-22 12:31:40 +08:00
status102
2d648bf4cc fix: Wpf信用任务-OF-1战斗 修复未勾选刷理智时,仍判断刷理智关卡是否为当前/上次
link to #11996
2025-02-21 20:33:40 +08:00
晓丶梦丶仁
07f46ab421 fix: 肉鸽放弃战斗奖励后仍能识别到掉落 (#12000) 2025-02-21 20:13:22 +08:00
晓丶梦丶仁
d603bbc495 feat: IS4 extend2 事件 转机 2025-02-21 19:44:24 +08:00
uye
d3ca47d386 chore: 拆分 OF-1 与 访问好友回调显示 2025-02-21 19:08:23 +08:00
github-actions[bot]
43992af553 chore: Auto Update Game Resources - 2025-02-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13455490910

[skip changelog]
2025-02-21 11:06:04 +00:00
BxFS
73907eb807 fix: Monthly Squad for Global (#11993)
---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-02-21 11:57:15 +01:00
status102
e354e17266 perf: wpf自动战斗战斗列表序列化 2025-02-21 18:38:02 +08:00
status102
ca7563d9a2 fix: Wpf选中战斗列表作业时,作业内容重复显示 2025-02-21 18:32:34 +08:00
status102
5fef5b818e chore(wpf): 简单整理一下CopilotViewModel函数
[skip changelog]
2025-02-21 18:28:46 +08:00
status102
6670293ccd feat: Wpf地图查询 2025-02-21 18:28:45 +08:00
status102
e75717260b fix: Wpf地图信息MapInfo字段名更正 2025-02-21 18:28:45 +08:00
dragonheart107
edd46c8f79 chore: clarify different originium types and unify deep investigation in EN (#11995)
---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-02-21 11:03:03 +01:00
uye
e42a839828 fix: 会客室进入失败 (#11950)
* chore: 基建滑动后等待动画结束

* fix: office 进入失败后重试

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: lower case sleep

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-02-21 16:14:30 +08:00
status102
c8d60f65e0 docs: 作业协议补充难度字段 (#11980)
* docs: 作业协议补充难度字段

* i18n: 外文文档
2025-02-21 15:35:23 +08:00
BxFS
afe2165af6 fix: add an missing @ for MonthlySquadCommsBackTwice (#11991) 2025-02-21 10:12:40 +08:00
github-actions[bot]
ff83e07e69 chore: Auto Update Game Resources - 2025-02-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13443728393

[skip changelog]
2025-02-20 20:06:27 +00:00
MistEO
e40e7f08e3 chore: fix typo 2025-02-21 01:09:43 +08:00
MistEO
403579c512 chore: mirrorc with new tab 2025-02-21 01:08:12 +08:00
MistEO
b5a8792350 chore: 删除官网早就不能用了的镜像 2025-02-21 01:04:45 +08:00
Constrat
5d12a9f055 chore: more missing tasks for EN Sami IS
[skip changelog]
2025-02-20 17:14:22 +01:00
晓丶梦丶仁
aa3f472c37 fix: Mac 日服 IS4 识别阈值 (#11979)
fix: mac 日服 IS4 识别阈值
2025-02-20 22:58:36 +08:00
Manicsteiner
9b91ee760b fix: YostarJP IS4 计划耕种 (#11990) 2025-02-20 22:58:04 +08:00
uye
af4e6c1ad3 chore: 官网添加 MirrorChyan 下载链接
需要 html 高手,现在点查看全部会有一个丑陋的动画(
2025-02-20 22:57:45 +08:00
Constrat
5d09cacc6c tools: update MissingJsonTranslate
[skip changelog]
2025-02-20 15:56:57 +01:00
Constrat
7cd4fe3b4f fix: missing tasks for EN 2025-02-20 15:56:46 +01:00
MistEO
7b47443385 ci: 优化mirrorc上传,先传用户多的平台 2025-02-20 22:22:54 +08:00
status102
39e712cf51 fix: 生息演算Mode序列化类型
[skip changelog]
2025-02-20 20:26:23 +08:00
status102
96d725e88a fix: 生息演算Mode序列化类型
[skip changelog]
2025-02-20 19:53:23 +08:00
status102
fcaf4e442e fix: 生息演算Mode序列化类型 2025-02-20 19:52:28 +08:00
HX3N
daee3f88d2 fix: YostarKR Sarkaz CR Node recognition (#11986) 2025-02-20 20:31:19 +09:00
HX3N
8fd4cd8009 fix: YostarKR missing tasks (#11981) 2025-02-20 18:43:41 +09:00
github-actions[bot]
151608c57c chore: Auto Templates Optimization
Triggered by 27b7b59c4a

[skip changelog]
2025-02-20 09:12:02 +00:00
github-actions[bot]
27b7b59c4a chore: Auto Update Game Resources - 2025-02-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13431621324

[skip changelog]
2025-02-20 09:09:01 +00:00
github-actions[bot]
0d59ac68c0 chore: Auto Update Game Resources - 2025-02-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13431262956

[skip changelog]
2025-02-20 08:46:17 +00:00
HY
c166a21a8b chore: add missing tasks and template for txwy (#11985) 2025-02-20 09:38:36 +01:00
Constrat
f0ea039514 fix: typo in xaml themes for Idea Filter + i18n EN 2025-02-19 22:51:17 +01:00
Constrat
7d4ddba8df tools: more FindMissingJson
[skip changelog]
2025-02-19 22:50:49 +01:00
Constrat
7a820560c5 tools: update FindMissingJson
[skip changelog]
2025-02-19 22:37:01 +01:00
Constrat
3d495b1c21 fix: Missing EN Sarkaz tasks 2 2025-02-19 22:33:57 +01:00
Constrat
edc45943e2 fix: EN Sarkaz missing NextLevel task 2025-02-19 22:29:13 +01:00
github-actions[bot]
ea35873645 chore: Auto Update Game Resources - 2025-02-19
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13421376622

[skip changelog]
2025-02-19 20:06:38 +00:00
Constrat
62aad5a22b fix: EN replace Sguad with Squad 2025-02-19 14:23:20 +01:00
晓丶梦丶仁
876df6e005 fix: 狭路相逢遇到构想卡死 (#11970)
* fix: 狭路相逢遇到构想卡死

* perf: 更改头文件位置

* fix: empty image

* Revert "fix: empty image"

This reverts commit ae11bbf138.

* fix: asst::VisionHelper::correct_rect image is empty

* perf: 识别到构想后输出 trace log

* perf: Matcher, ProcessTask
2025-02-19 21:20:17 +08:00
status102
7b2ec0f967 rft: rename func name
[skip changelog]
2025-02-19 16:33:59 +08:00
status102
25155facf6 feat: 读取地图数据 (#11973) 2025-02-19 14:46:55 +08:00
晓丶梦丶仁
4186fb3080 docs: 更新文档 2025-02-19 14:26:19 +08:00
status102
ebb4b603a4 perf: 避免不必要拷贝
[skip changelog]
2025-02-19 13:07:10 +08:00
status102
3ae29ec453 fix: 移除肉鸽结算插件中的Matcher复用 2025-02-19 13:06:19 +08:00
status102
f3233b12db fix: 修复BattleHelper中的意外报错 2025-02-19 13:06:19 +08:00
晓丶梦丶仁
107c9d330c fix: IS4 绝境?抉择?ocr (#11969) 2025-02-19 10:49:18 +08:00
Constrat
45ae528f17 chore: ResourceUpdater to remove spaces from EN I.S. encounter
just like KR current logic but only for encounters
2025-02-18 17:42:36 +01:00
Constrat
ef2c721fd0 fix: EN remove all spaces from encounter and ignore spaces 2025-02-18 17:36:59 +01:00
github-actions[bot]
842e49cc86 chore: Auto Update Game Resources - 2025-02-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13394475345

[skip changelog]
2025-02-18 15:44:17 +00:00
Constrat
f080f55b88 fix: EN Sarkaz SelectTheme 2025-02-18 16:34:17 +01:00
status102
26d270a51a perf: 萨卡兹肉鸽负荷干员编入入口ROI拆分 (#11966)
* Reapply "chore: Auto Update Game Resources - 2025-02-18"

This reverts commit f55ea6b1f8.

* perf: 国服ROI缩小

* fix: 补充JP、KR的roi
2025-02-18 21:24:26 +08:00
晓丶梦丶仁
53f0807add feat: IS4 extend2 似是而非事件 (#11971) 2025-02-18 20:23:17 +08:00
Constrat
222ab9be7c Release v5.14.0-beta.1 (#11962) 2025-02-18 11:16:43 +01:00
晓丶梦丶仁
3bc44d3e0d docs: changelog
有神人改版号不改changelog
[skip changelog]
2025-02-18 16:47:03 +08:00
status102
54edd21f79 ci: 允许commit message以Reapply开始 (#11967) 2025-02-18 16:26:15 +08:00
github-actions[bot]
5cee25efee docs: Auto Update Changelogs of v5.13.2-beta.1 (#11968)
* docs: Auto Generate Changelog of Release v5.13.2-beta.1

* docs: update changelog.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-02-18 15:16:32 +08:00
晓丶梦丶仁
f8b417506a ci: Allow Reapply for pr names and commit names within pr 2025-02-18 15:00:27 +08:00
晓丶梦丶仁
f55ea6b1f8 Revert "chore: Auto Update Game Resources - 2025-02-18"
This reverts commit 8e63f60a6e.

Revert "revert c3d98ec8822fc41892c07f6b6caef5fd435fbc43"

This reverts commit 6d229c72fe.

Revert "fix: EN服萨卡兹肉鸽负荷干员icon ROI"

This reverts commit 77cc830feb.
2025-02-18 11:05:55 +08:00
github-actions[bot]
8e63f60a6e chore: Auto Update Game Resources - 2025-02-18
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13382298189

[skip changelog]
2025-02-18 02:55:16 +00:00
status102
77cc830feb fix: EN服萨卡兹肉鸽负荷干员icon ROI
f78deb7b93

PR #11921
2025-02-18 10:36:42 +08:00
status102
6d229c72fe revert c3d98ec882
PR #11921 相关,非预期的CN服资源修改
2025-02-18 10:29:02 +08:00
github-actions[bot]
66c59a3600 docs: Auto Update Changelogs of v5.13.2 (#11963)
* docs: Auto Generate Changelog of Release v5.13.2

* chore: Sarkaz IS for global

* fix: reordering

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-02-17 23:40:33 +01:00
HX3N
f147b89c2b fix: YostarKR updated the StartUpConnectingFlag template (#11960) 2025-02-17 22:26:50 +01:00
Constrat
9d9f3ea70c fix: Fix hidden floor Sarkaz EN
I have no idea where I even pulled off "Hermitage of Sv whatever"
2025-02-17 16:46:48 +01:00
Constrat
b2a458f547 typo: EN tasks
[skip changelo] [skip ci]
2025-02-17 16:42:21 +01:00
Constrat
cd7c6a54e0 feat: YostarEN I.S. modes (#11956) 2025-02-17 15:36:19 +01:00
github-actions[bot]
6f2f239e93 chore: Auto Update Game Resources - 2025-02-17
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13372516459

[skip changelog]
2025-02-17 14:29:00 +00:00
晓丶梦丶仁
d2c5a7d784 fix: EN 服 IS2 导航失效 (#11955) 2025-02-17 22:05:51 +08:00
晓丶梦丶仁
5d42b463c8 fix: 傀影肉鸽可以选择在第五层 BOSS 前暂停
Fix #11953
2025-02-17 21:51:14 +08:00
晓丶梦丶仁
bc7774de4d docs: 调整肉鸽文档 skill_usage 描述,尝试 json5 2025-02-17 21:27:17 +08:00
晓丶梦丶仁
de4af1518c perf: 调整IS4作战、招募 2025-02-17 21:27:17 +08:00
Manicsteiner
3ff11e072b feat: YostarJP Sarkaz roguelike (#11914)
* feat: YostarJP Sarkaz roguelike adaptation

* chore: add more template

* chore: StageBoskyPassageEnter

* chore: edits

* fix: unknown events

* fix: 戴冠式 ocr

weird
squash into 'fix: unknown event' if you want

* feat: IS 1~3 mode6&7

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-02-17 21:22:33 +08:00
晓丶梦丶仁
dd71224d63 perf: 肉鸽为识别错误的事件也添加 callback (#11946)
* perf: 为识别错误的事件也添加 callback

* perf: log.error、修改what内容

* i18n: KR translation

* i18n: JP translation

---------

Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: ManicSteiner <manicsteiner@outlook.com>
2025-02-17 21:20:38 +08:00
status102
d9c32d5b1e rft: Wpf重构自动公招任务序列化 (#11951) 2025-02-17 21:02:51 +08:00
Constrat
f78deb7b93 feat: YoStarEN Sarkaz roguelike (#11921)
---------
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-02-17 10:54:19 +01:00
uye
1e3d5f28bd fix: StartupUpdateCheck 不生效 2025-02-17 16:36:03 +08:00
晓丶梦丶仁
0fab23f4e4 style: _updateCheck 位置
[skip changelog]
2025-02-17 16:09:27 +08:00
uye
c4c529f3a2 feat: SimpleEncryptionHelper 支持默认字符串 2025-02-17 12:57:10 +08:00
uye
ce4887435a chore: 加解密失败时通知 2025-02-17 11:17:24 +08:00
status102
004d6b4a9b chore: TaskData增加OcrTask的ocrReplace合法性检查 (#11878)
* chore: TaskData增加OcrTask的ocrReplace合法性检查

* docs: 加点注释
2025-02-17 09:25:44 +08:00
status102
efe5f33a22 rft: Wpf重构生息演算任务参数序列化 (#11916) 2025-02-17 09:23:06 +08:00
status102
3182eff718 rft: Wpf重构生息演算任务参数序列化
perf: 移除不必要的分隔符
2025-02-17 09:22:19 +08:00
status102
a4fbee3207 rft: 使用RecruitData代替ocrReplace的外服适配 (#11879)
* rft: use RecruitData instead of ocrReplace

* chore: tasks.json

* docs: 注释

* i18n: txwy tweak

* perf: 加载资源时缓存客户端对应语言的招募tag集

---------

Co-authored-by: momomochi987 <as99us301@gmail.com>
2025-02-17 09:14:27 +08:00
uye
9980536522 fix: 外服重复检查资源 (#11927)
fix #11925
2025-02-16 23:05:07 +08:00
github-actions[bot]
0b05cc5b17 chore: Auto Update Game Resources - 2025-02-16
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13355308934

[skip changelog]
2025-02-16 13:07:58 +00:00
晓丶梦丶仁
39707f70ac perf: 肉鸽难度选项降到18个 (#11934) 2025-02-16 21:06:50 +08:00
晓丶梦丶仁
596257122e perf: IS4 调整公害ew部署 (#11935)
perf: 撒卡字肉鸽调整公害ew部署
2025-02-16 21:06:32 +08:00
HX3N
92d53de182 feat: YostarKR Sarkaz roguelike (#11920)
* chore: add text and ocrReplace

* chore: Stage and Encounter

* chore: roguelike squad

* chore: img 1

* chore: remove space

* chore: img 2

* chore: tweak SelectTheme text

* chore: img 3

* chore: remove space

* chore: remove SpecialValRecognition

* chore: change template size

* chore: StageBoskyPassageEnter

* fix: incorrect template replacement

* i18n: 去伪存真

* i18n: tweak resource translation

* i18n: Roguelike seed and monthly

* i18n: tweak wrong translation

* fix: replace ChooseBurdenOperatorAtStart with a higher score image

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: StageRefresh roi

* fix: StageRefresh image

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: StageRefreshConfirm.png templ size

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: stagerefresh threshold

* fix: ChooseBurdenOperatorAtStart templThreshold

* fix: 纯烬艾雅法拉 ocrReplace

* i18n: 专业人士分队

I keep making mistakes because I'm drunk :P

* fix: remove $ from 相遇 ocrReplace

and replace , > .

* i18n: tweak Endpoint translation

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-16 22:05:12 +09:00
晓丶梦丶仁
65a290f447 feat: Sarkaz extend II 专业人士分队 (#11938)
feat: 萨卡兹内容拓展II 专业人士分队
2025-02-16 12:11:00 +08:00
晓丶梦丶仁
76ea0d34e7 ci: issue-checker roguelike label
[skip changelog]
2025-02-16 11:46:50 +08:00
Constrat
ded67fe648 feat: remove spaces for all ocrReplaces for KR + various optimizations (#11926)
* feat: remove spaces for all ocrReplaces for KR + various optimizations

* fix: kr path
2025-02-15 19:58:31 +01:00
Constrat
ffdd316a67 tools: ImageCoordinate cursor tweak 2025-02-15 15:18:44 +01:00
uye
35058aa56e chore: 优化日志输出 2025-02-15 19:49:53 +08:00
uye
3bd7f05694 perf: 热键支持 Windows 键
fix #11922
2025-02-15 11:56:27 +08:00
Constrat
51f2758f7a tools: allow sarkaz in OverseasClient missing
[skip changelog]
2025-02-14 21:47:53 +01:00
BxFS
70a1b34c3a fix: 支持肉鸽特定模式下跳过选队直接选人 (#11915)
fix: provision for certain roguelike mode without RolesDefault and go straight into RecruitMain, like sami.DE.8
2025-02-14 23:55:23 +08:00
Constrat
746d3a514c ci: try to fix pre commit using an updated fork (#11917)
---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2025-02-14 15:07:18 +01:00
晓丶梦丶仁
5e7dd5eeff ci: disable prettier 2025-02-14 22:00:04 +08:00
status102
16022bcc2d fix: Log Rotate 临时性检查措施 (#11835)
* fix: Log Rotate 增加任务开始时主动检查

* feat: Log Rotate 增加肉鸽每轮探索开始时主动检查

* perf: 移除TaskChain单任务结束后检查
2025-02-14 21:35:14 +08:00
status102
952b1b2f34 rft: 重构任务id保存,支持保存多个同类型任务 2025-02-14 21:22:56 +08:00
Roland125
06a01c257e fix: 3星招募逻辑修复 (#11913)
* fix: 3星招募逻辑修复
2025-02-14 20:04:31 +08:00
MistEO
01900aa7ba Release v5.13.1 (#11911) 2025-02-14 19:58:01 +08:00
晓丶梦丶仁
9d5c5266a4 fix: JP 事件译名重复 (#11910) 2025-02-14 19:44:08 +08:00
status102
172dd92636 chore: typo 2025-02-14 19:37:38 +08:00
github-actions[bot]
7a567a967e docs: Auto Update Changelogs of v5.13.1 (#11912)
* docs: Auto Generate Changelog of Release v5.13.1

* docs: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-02-14 19:35:07 +08:00
Constrat
d09899fb68 ci: missing style output in res-update logging 2025-02-14 12:26:05 +01:00
status102
ec3bd9b48b Revert "perf: 自动战斗BattleStartPre任务合并理智药检测"
This reverts commit d54c408769.
2025-02-14 19:15:02 +08:00
github-actions[bot]
242f165c5c chore: Auto Update Game Resources - 2025-02-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13327901721

[skip changelog]
2025-02-14 11:05:51 +00:00
uye
091d3b0f70 chore: 删除多余 Update
[skip changelog]
2025-02-14 19:01:01 +08:00
uye
c4aafe3dd3 fix: 标题栏不会随资源重载更新 2025-02-14 18:56:52 +08:00
status102
0ec33a46d5 fix: 肉鸽职业组
fix #11901
2025-02-14 18:37:06 +08:00
uye
05812c394e Revert "fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数 (#11898)"
This reverts commit 40ad3c429c.
2025-02-14 18:33:27 +08:00
github-actions[bot]
f1c27399a3 chore: Auto Update Game Resources - 2025-02-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13327319832

[skip changelog]
2025-02-14 10:29:16 +00:00
uye
72b9d6b983 fix: 资源重载后资源版本界面显示仍为旧版本 2025-02-14 17:42:29 +08:00
晓丶梦丶仁
789884b41c perf: 水月肉鸽开端事件选择 3-3 2025-02-14 17:40:21 +08:00
MistEO
c3478fd090 ci: temp update resource token
急急急,先改了用着。回头看看换成哪个正确的
2025-02-14 16:46:47 +08:00
github-actions[bot]
8abd69a723 chore: Auto Templates Optimization
Triggered by ff1281e386

[skip changelog]
2025-02-14 08:44:27 +00:00
github-actions[bot]
ff1281e386 chore: Auto Update Game Resources - 2025-02-14
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13325573436

[skip changelog]
2025-02-14 08:43:37 +00:00
AnnAngela
066b844b8e chore: Update CHANGELOG.md 2025-02-14 15:34:30 +08:00
AnnAngela
c425c79d2b chore: Update CHANGELOG.md 2025-02-14 15:34:11 +08:00
uye
f44b11dfc9 Release v5.13.0 (#11896) 2025-02-14 15:30:51 +08:00
github-actions[bot]
927ad515ab docs: Auto Update Changelogs of v5.13.0 (#11897)
* docs: Auto Generate Changelog of Release v5.13.0

* docs: changelog

* docs: changelog

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

* feat: Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
2025-02-14 15:30:31 +08:00
Hao Guan
53e1d93352 docs(mac): PlayCover分辨率提示 2025-02-14 14:55:34 +08:00
uye
3ce1cd520f perf: 使用海外源时也通过 mirrorc 检测是否为最新资源,但如果为其他返回值时仍然更新 2025-02-14 14:30:58 +08:00
status102
4df531e749 revert: 4481710605 (#11900)
移除种子刷钱相关业务逻辑入口
2025-02-14 13:35:31 +08:00
status102
e3a21d50ba fix: 自动战斗使用技能keep_waiting情况下在离开战斗、中止任务时无法中断 2025-02-14 12:33:26 +08:00
status102
6cf98066ac Revert "fix: use_skill 在按下停止按钮后不退出 (#11761)"
This reverts commit c94a0b546a.
2025-02-14 12:33:26 +08:00
Roland125
40ad3c429c fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数 (#11898)
* fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-14 10:47:54 +08:00
status102
9b8f92f0f7 revert: 4481710605 2025-02-14 09:49:41 +08:00
uye
89102a1e86 fix: 重复添加干员信息
fix #11895
2025-02-14 09:29:09 +08:00
MistEO
77b5187fd3 chore: remove mirrorchyan line2 2025-02-14 02:19:37 +08:00
Manicsteiner
a4e54a3c7f fix: YostarJP OCR (#11884) 2025-02-13 11:16:43 +01:00
Constrat
1844845d1c ci: remove validator scripts because stale 2025-02-13 10:47:37 +01:00
uye
bbef238e61 chore: 优化肉鸽难度显示 2025-02-13 17:23:03 +08:00
MistEO
47443ef810 Release v5.13.0-beta.8 (#11880) 2025-02-13 15:43:09 +08:00
github-actions[bot]
634c7c6917 docs: Auto Update Changelogs of v5.13.0-beta.8 (#11881)
* docs: Auto Generate Changelog of Release v5.13.0-beta.8

* docs: changelog

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-02-13 15:42:13 +08:00
Constrat
eeb0b78328 feat: script to update version.json (#11875)
* chore: do not modify version.json time in cpp

* feat: add version time updater script

* chore: add version.ps1 to workflow

* feat: implement previous logic from validator.ps1

* feat: add version bool for update-resources

* fix: wrong condition on OTA step
2025-02-13 14:24:47 +08:00
Weiyou Wang
a9032e22a7 fix: YostarJP OCR mismatched parenthesis (#11877)
* fix: mismatched parenthesis

* fix: 换个和之前更接近的版本
2025-02-13 14:10:30 +08:00
BxFS
361256bdf0 fix: 月度小队模式不再试图提前离开肉鸽 (#11872)
fix: monthly squad mode no longer try to leave early
2025-02-13 13:07:29 +08:00
萨拉托加
33811962fe chore: 简化干员名正则 (#11876)
国服也简化一下?照着改的
2025-02-13 12:16:08 +08:00
status102
4a007f497c docs: 自动招募添加少量注释
[skip changelog]
2025-02-13 12:15:49 +08:00
status102
34124cc037 feat!: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测 (#11868)
* fix: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-13 09:49:44 +08:00
MistEO
c5d36d0bf9 chore: 修改mirrorc线路 2025-02-13 01:25:09 +08:00
github-actions[bot]
76c315882d chore: Auto Update Game Resources - 2025-02-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13290844408

[skip changelog]
2025-02-12 17:06:11 +00:00
Constrat
6d99a935d9 i18n: missing spaces after 「」
[skip changelog] [skip ci]
2025-02-12 18:02:45 +01:00
Constrat
334e99026d i18n: missing strings from zh-cn 2025-02-12 17:59:50 +01:00
uye
a8d68dd72d chore: 简化干员名正则 2025-02-13 00:53:06 +08:00
uye
39fdfac0c1 chore: 资源更新后重载 BattleData (#11874) 2025-02-12 21:47:38 +08:00
Constrat
687ebe8827 style: validator.ps1 improved logging 2025-02-12 13:21:50 +01:00
Constrat
dd6aeee59c feat: bypass update resources in formatting cases (#11867) 2025-02-12 12:59:16 +01:00
status102
559c588472 rft: WpfGui引入AsstTaskType代替硬编码 (#11856)
rft: AsstTaskType
2025-02-12 19:44:43 +08:00
uye
96ce68340d perf: 资源更新后无需重启,优化手动更新逻辑 (#11857)
* perf: 资源更新后无需重启,优化手动更新逻辑

* chore: 添加注释

* chore: 重复触发更新时提前返回
2025-02-12 17:51:26 +08:00
BxFS
538f734cc8 fix: Roguelike InitialDrop: SquadDefault -> Squad-EnterPoint (#11870)
fix: Roguelike InitialDrop: Roguelike SquadDefault -> Roguelike Squad-EnterPoint
2025-02-12 17:44:48 +08:00
github-actions[bot]
b321264add chore: Auto Update Game Resources - 2025-02-12
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13280763199

[skip changelog]
2025-02-12 08:08:09 +00:00
status102
383a3ee34f fix: 肉鸽开局无法选择指挥分队时放弃探索 (#11847)
* fix: 肉鸽开局无法选择指挥分队时放弃探索

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 无法选择指挥分队时,随机选一个

* chore: YoStarEN `Squad-EnterPoint`

* chore: 增大EN服roi

* chore: txwy

* chore: jp

* chore: kr

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-02-12 15:58:02 +08:00
Hao Guan
b085aa2d80 chore(mac): MirrorChyan域名 2025-02-12 15:16:41 +08:00
Hao Guan
6b52105797 feat(mac): 肉鸽参数配置新参数 (#11866) 2025-02-12 08:50:32 +08:00
github-actions[bot]
819b74e8ee chore: Auto Update Game Resources - 2025-02-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13271545330

[skip changelog]
2025-02-11 20:06:48 +00:00
github-actions[bot]
1e2ded6dde chore: Auto Update Game Resources - 2025-02-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13266778500

[skip changelog]
2025-02-11 15:44:29 +00:00
HY
7b78e0762e chore: 繁中服「巴別塔」活動導航 (#11863)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-11 16:36:20 +01:00
status102
632ff2b027 fix: 自动编队干员选择错误 2025-02-11 21:41:37 +08:00
status102
7799d94699 fix: 自动编队错误
[skip changelog]

fix #11859
2025-02-11 21:29:13 +08:00
status102
d61a7b5e5d perf: MaaCore PackageTask中未进入的subtask将不再输出log (#11783)
perf: 未进入的subtask将不再输出log
2025-02-11 18:27:13 +08:00
status102
d54c408769 perf: 自动战斗BattleStartPre任务合并理智药检测 2025-02-11 14:33:43 +08:00
status102
8ce492dbae fix: Wpf自动战斗无法连接到模拟器后不能自动停止 2025-02-11 14:33:35 +08:00
github-actions[bot]
6985a93b59 chore: Auto Update Game Resources - 2025-02-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13256885880

[skip changelog]
2025-02-11 06:08:22 +00:00
github-actions[bot]
7b737a85f9 chore: Auto Update Game Resources - 2025-02-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13256477009

[skip changelog]
2025-02-11 05:28:38 +00:00
uye
f3f6dd40f1 chore: 修改 MirrorChyan 官网链接 2025-02-11 13:16:34 +08:00
Manicsteiner
c350b62cd2 feat: YostarJP Sarkaz roguelike preload (#11850) 2025-02-11 12:03:47 +08:00
晓丶梦丶仁
0e95ef2192 chore: issue_template bug-report Version 处添加提示 (#11848)
* chore: issue_template bug-report Version 处添加提示

* style: 空格
2025-02-11 12:02:40 +08:00
status102
aaa6aa35bc rft: Wpf肉鸽任务RoguelikeMode参数类型改为int (#11821)
* rft: Wpf肉鸽任务RoguelikeMode参数类型改为int

* fix: UI同步
2025-02-11 11:02:40 +08:00
status102
7b3ba914de perf: 肉鸽投资在同一局内投资系统错误后不再进入投资插件 (#11826) 2025-02-11 11:01:02 +08:00
MistEO
7b547ed88c ci: add retry for macui (#11817)
* ci: add retry for macui

---------

Co-authored-by: Hao Guan <10684225+hguandl@users.noreply.github.com>
2025-02-11 10:51:36 +08:00
dependabot[bot]
7367e9c4e8 ci: bump apple-actions/download-provisioning-profiles from 1 to 3 in /.github/workflows in the github-actions group (#11849)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 09:30:01 +08:00
status102
6013c42cd4 Revert "fix: 肉鸽未提供指挥分队时用OCR随便选一个 (#11843)"
This reverts commit fe2dfe1d65.
2025-02-10 19:50:00 +08:00
Constrat
95aa8c9560 i18n: various english tweaks
[skip changelog]
2025-02-10 12:47:59 +01:00
MistEO
d6cf18bd5c chore: update mirrorc tips (#11832)
* chore: update mirrorc tips

* chore: tips翻译调整

* i18n: 修改翻译

* chore: 统一tips

* chore: update cn tips

* chore: 调整 enum 命名

* i18n: 调整翻译

* chore: 调整 UpdateSettings 中文翻译

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-02-10 19:35:17 +08:00
status102
f1ab78279e chore: 上调MaaCore Log Rotate阈值为64MB (#11834) 2025-02-10 17:38:13 +08:00
status102
122f6dfc60 rft: Wpf公告存储拆分 (#11825)
* rft: Wpf公告存储拆分

* rft: 拆分中英公告
2025-02-10 16:20:52 +08:00
status102
dd7517fb67 perf: 自动战斗自动编队在选择职业前编入非干员组干员 (#11830) 2025-02-10 15:44:13 +08:00
status102
656256dc66 fix: null check (#11831)
[skip changelog]
2025-02-10 15:38:18 +08:00
status102
aa4bd03e38 rft: 肉鸽局内参数重构遗留 (#11829)
trader_no_longer_buy & team_full_without_rookie
2025-02-10 15:35:26 +08:00
status102
888a39837d fix: 移除账号切换中不必要的任务 (#11820)
beabba92e3
2025-02-10 15:32:39 +08:00
status102
81b8fa2114 fix: Wpf公告内容显示错误显示为上次内容 (#11824) 2025-02-10 15:31:42 +08:00
status102
83804a7668 docs: 肉鸽参数注释
team_full_without_rookie
2025-02-10 14:46:18 +08:00
BxFS
fe2dfe1d65 fix: 肉鸽未提供指挥分队时用OCR随便选一个 (#11843)
* fix: SquadBackup for situations missing SquadDefault

* refactor: redundant SquadBackup
2025-02-10 14:35:50 +08:00
uye
32d519b272 i18n: 添加翻译 2025-02-09 17:18:48 +08:00
uye
71a2e7f619 chore: 优化界面布局与翻译 2025-02-09 16:57:39 +08:00
uye
38f22e2aa0 chore: DidYouBuyWine 先给注释掉了,41看看有啥活
[skip changelog]
2025-02-09 14:07:18 +08:00
uye
4390ec12b5 chore: MaaVersionClick 的 EasterEggs丢了
[skip changelog]
2025-02-09 12:07:43 +08:00
uye
9a138670c3 chore: 等待延迟前打个日志 2025-02-09 10:23:28 +08:00
status102
39b03e4720 fix: Wpf公告内容显示错误显示为上次内容 2025-02-09 09:36:35 +08:00
status102
8b6cb46655 chore: using (#11823)
[skip changelog]
2025-02-09 08:50:01 +08:00
MistEO
7969378335 ci: fix ci name 2025-02-09 02:52:26 +08:00
uye
547b95a473 Release v5.13.0-beta.7 (#11807)
刷理智最后一次上报失败可能会直接崩溃
2025-02-09 02:29:55 +08:00
github-actions[bot]
13a549a015 docs: Auto Update Changelogs of v5.13.0-beta.7 (#11814)
* docs: Auto Generate Changelog of Release v5.13.0-beta.7

* 更新 CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-02-09 02:26:09 +08:00
uye
2e707458c7 chore: 添加翻译 2025-02-09 02:16:12 +08:00
MistEO
79465ac833 ci: force trigger mirrorchyan release note 2025-02-09 02:12:57 +08:00
uye
ef78c399b9 chore: 取消更新源选择框 2025-02-09 02:05:06 +08:00
MistEO
918ecba24e ci: Create mirrorchyan_release_note.yml (#11816) 2025-02-09 01:44:16 +08:00
MistEO
86663ad2d2 feat: update maa self by mirrorc (#11812)
* feat: update maa self by mirrorc

* refactor: 调整代码

* chore: miss await

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-02-09 01:27:33 +08:00
MistEO
59af6900ad ci: force trigger mirrorc for release 2025-02-09 00:38:01 +08:00
uye
c9e257ea1a chore: debug 不检查资源更新
[skip changelog]

close #11802
2025-02-08 22:30:59 +08:00
Constrat
eaac213d4f docs: change gamedata repo 2
[skip changelog]
2025-02-08 15:21:11 +01:00
Constrat
67a8c4860d docs: change gamedata repo 2025-02-08 15:20:04 +01:00
status102
c47e48a9b6 fix: 肉鸽开局烧水奖励领取失败 2025-02-08 20:09:52 +08:00
status102
f9399fc1d9 rft: Wpf肉鸽任务界面主题参数调整 2025-02-08 19:21:30 +08:00
status102
61db62b21d Revert "rft: 任务执行期间Log Rotate增加检查,并上调阈值至64MiB (#11670)"
This reverts commit 027aaea799.

Revert "fix: rotate_check 位置错误"

This reverts commit 463b4a02ea.

Revert "chore: 单独为肉鸽添加日志检查"

This reverts commit 6342391243.

Revert "chore: 移除过于消耗性能的检查"

This reverts commit 918cebcaf0.

fix #11801
2025-02-08 19:20:44 +08:00
Hao Guan
a1b8c0d103 feat(mac): 开始唤醒支持账号切换 (#11803) 2025-02-08 18:52:42 +08:00
晓丶梦丶仁
a6f99a3e4d chore: issue 模板 将阅读提醒提至 label (#11804)
* chore: issue 模板 将阅读提醒提至 label

* Update .github/ISSUE_TEMPLATE/cn-bug-report.yaml

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>

---------

Co-authored-by: 萨拉托加 <151550168+Saratoga-Official@users.noreply.github.com>
2025-02-08 18:00:46 +08:00
uye
72ac9f094d chore: 启动弹出公告前检查内容是否为空 2025-02-08 15:33:09 +08:00
uye
463b4a02ea fix: rotate_check 位置错误 2025-02-08 15:22:00 +08:00
MistEO
6342391243 chore: 单独为肉鸽添加日志检查 2025-02-08 14:48:20 +08:00
MistEO
918cebcaf0 chore: 移除过于消耗性能的检查 2025-02-08 14:36:53 +08:00
MistEO
f455f1425b revert: "fix: 修复上传卡住的问题"
This reverts commit 0d82b1a976.
2025-02-08 14:24:18 +08:00
github-actions[bot]
9e6192db8c chore: Auto Update Game Resources - 2025-02-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13211117921

[skip changelog]
2025-02-08 01:52:10 +00:00
Constrat
d690ecd363 chore: remove duplicates in tasks for global 2025-02-07 20:52:57 +01:00
github-actions[bot]
5420d33c7d chore: Auto Update Game Resources - 2025-02-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13206816100

[skip changelog]
2025-02-07 19:38:57 +00:00
Constrat
72355204fc refactor: switch gamedata repos for workflow (#11799)
* refactor: switch gamedata repos for workflow

* refactor: switch gamedata repos for workflow fix

* fix: I'm stupid

* fix: main.cpp resource updater

* ci: fix ps1 script

* fix: I'm stupid 2
2025-02-07 20:35:45 +01:00
HX3N
4e3a0351d6 chore: add missing text for YostarKR (#11798) 2025-02-08 02:22:42 +08:00
github-actions[bot]
b281c993e0 chore: Auto Update Game Resources - 2025-02-07
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13205480241

[skip changelog]
2025-02-07 18:07:49 +00:00
Constrat
34acb5b739 chore: add missing text for YostarEN 2025-02-07 18:48:02 +01:00
uye
038789f301 feat: 自动战斗遇到不支持的关卡时尝试检测资源版本更新 2025-02-08 01:46:43 +08:00
uye
5f784bdf41 chore: 调整界面 2025-02-08 01:19:04 +08:00
uye
9e81a4cc4f Release v5.13.0-beta.6 (#11786) 2025-02-08 00:41:44 +08:00
github-actions[bot]
e23b0b4d2b docs: Auto Update Changelogs of v5.13.0-beta.6 (#11791)
* docs: Auto Generate Changelog of Release v5.13.0-beta.6

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-02-08 00:40:36 +08:00
晓丶梦丶仁
ba7f837c3f fix: KR 黑角 OCR (#11794) 2025-02-07 23:29:42 +08:00
Constrat
28e9076e82 fix: border not displaying for http proxy in versionupdatesettings 2025-02-07 15:44:52 +01:00
晓丶梦丶仁
32f80411a8 fix: JP 塑心 OCR (#11792) 2025-02-07 20:21:07 +08:00
Constrat
21cd004974 feat: Paradox Simulation update UI for YoStar (#11793)
chore: remove tasks and delete stale templates
2025-02-07 12:59:56 +01:00
uye
01504ff404 refactor: 重构公告 (#11734)
* refactor: 重构公告

* chore: 公告可数

* chore: TrimEnd -

* fix: 多余删除的 \n

* chore: 修改返回类型

* style: unused using

* chore: 标题支持多行显示

* chore: add english version of noskland

* feat: Switch image based on language

* chore: 点击 Listbox 时 ScrollViewer 滚动到最顶端

* chore: 加个预览图

* chore: 设计时预览

* fix: ---- 没移掉)

* chore: Content 也显示标题内容

* chore: 隐藏按钮

* perf: 优化分隔符删除

* chore: 压缩下图片

* feat: 调整公告关闭按钮布局

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2025-02-07 19:00:24 +08:00
status102
3f5ab514c0 fix: RoguelikeTheme check
[skip changelog]
2025-02-07 17:22:28 +08:00
status102
01c794b83e fix: 肉鸽非投资模式禁用种子刷钱 2025-02-07 17:16:53 +08:00
status102
14942259e5 fix: 肉鸽烧水分队兼容
fix#11739
2025-02-07 17:14:23 +08:00
晓丶梦丶仁
33e8eefc6e ci: remove pre-commit workflow check (#11788)
* ci: remove pre-commit workflow check

* Revert "ci: remove pre-commit workflow check"

This reverts commit f1708eaa84.

* ci: issue template check
2025-02-07 16:57:42 +08:00
Rbqwow
878b651765 feat: add format hint for proxy setting (#11781)
* feat: add format hint for proxy setting

* fix: SOCKS 到底为什么是全大写的
2025-02-07 16:38:32 +08:00
status102
d8c1fe8108 fix: 禁止RoguelikeStatus拷贝 2025-02-07 15:51:03 +08:00
status102
b96af4cc02 fix: remove wrong commit 2025-02-07 13:25:49 +08:00
status102
349a5b792a rft: 移除RoguelikeLastRewardSelectTaskPlugin,合并烧水奖励选择 2025-02-07 13:25:48 +08:00
status102
06497e1d9a perf: 肉鸽满级移除前置任务检查
eaecef60d1 修改肉鸽开始探索重试
2025-02-07 13:25:48 +08:00
HeJiYue with no hair
662150c821 docs: 补充自动战斗可能遇到的问题 (#11749)
* docs:possible problems with supplemental automated combat

* docs: Update faq.md

* docs: 加点东西

* docs: i18n

这日语文档没得救了(悲

---------

Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-02-07 12:43:03 +08:00
Hao Guan
551aab1cfb feat(mac): 支持Mirror酱资源更新 (#11768)
* feat(mac): Mirror酱资源更新

* ci: macOS workflow update
2025-02-07 12:35:53 +08:00
晓丶梦丶仁
4f37edcbaf ci(fix): pre-commit.ci prettier hook (#11780)
* ci: 添加 files 字段

* ci: 指定resource路径

* test: 真的递归判断吗

* chore: Auto update by pre-commit hooks [skip changelog]

* ci: files 换个写法

* ci: files 再换个写法

* ci: 把 files 写全

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-07 10:45:57 +08:00
BxFS
3dfee0ac65 fix: CheckLevelMax OCR (#11764) 2025-02-06 22:51:37 +08:00
uye
515b453da4 chore: 调整界面布局 2025-02-06 22:50:48 +08:00
MistEO
0d82b1a976 fix: 修复上传卡住的问题
fix 11770
2025-02-06 22:34:04 +08:00
MistEO
911f2b4bab feat: 添加mirror酱备用线路 (#11777)
* feat: add mirrorc line2

* chore: add logs

* chore: fix replace

* fix: wrong replace
2025-02-06 22:26:16 +08:00
uye
387c6e298b chore: 添加 MirrorChyan 检查更新日志 2025-02-06 21:33:11 +08:00
github-actions[bot]
3712be5b70 chore: Auto Update Game Resources - 2025-02-06
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13177386747

[skip changelog]
2025-02-06 11:06:04 +00:00
MistEO
12d63cbc2c fix: mirrorc package name 2025-02-06 18:53:13 +08:00
MistEO
6cf10a2c8f ci: use mirrorchyan uploading action 2025-02-06 18:10:41 +08:00
晓丶梦丶仁
c94a0b546a fix: use_skill 在按下停止按钮后不退出 (#11761) 2025-02-06 16:01:00 +08:00
status102
ff51c61744 chore: 减少肉鸽插件不必要函数 2025-02-06 10:50:18 +08:00
晓丶梦丶仁
2ba65cb802 chore(fix): issue_template 的公告链接会导致 mention (#11762)
fix: issue_template 的公告链接会导致 mention
2025-02-06 05:59:04 +08:00
uye
80d85aafe8 fix: Resource Check ret 判断错误 2025-02-05 18:32:04 +08:00
status102
d7bff50abd rft: 简化肉鸽局中数据存储 (#11581)
* rft: 简化肉鸽局中数据存储

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 设定容器容量

* perf: 优化调用

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-05 18:07:49 +08:00
status102
bad87d0d5e chore: 减少肉鸽插件load_params log输出 2025-02-05 17:21:00 +08:00
status102
c08f38eb2e fix: 肉鸽开始探索反复重试后结束
fix #11755
2025-02-05 17:20:38 +08:00
github-actions[bot]
ad793ba764 chore: Auto Templates Optimization
Triggered by b1ba539945

[skip changelog]
2025-02-05 09:03:52 +00:00
github-actions[bot]
b1ba539945 chore: Auto Update Game Resources - 2025-02-05
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/13153693252

[skip changelog]
2025-02-05 09:02:55 +00:00
Tsukiyowu
663d017a1f fix: 修复国际服无法通过文字OCR识别关闭雷电模拟器弹窗的问题 (#11756)
* fix: 修复国际服无法通过文字OCR识别关闭雷电模拟器弹窗的问题

* fix: 修复国际服无法通过文字OCR识别关闭雷电模拟器弹窗的问题

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 修复国际服无法通过文字OCR识别关闭雷电模拟器弹窗的问题

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-05 15:39:59 +08:00
晓丶梦丶仁
2dc0f84dcc fix: 狭路相逢事件识别失败 (#11752)
* fix: 狭路相逢事件识别失败

* fix: 中文符号
2025-02-05 15:39:11 +08:00
晓丶梦丶仁
79371dc12f chore: 在 issue_template 中添加链接 (#11751)
* chore: 在 issue_template 中添加链接

* docs: 英文缩进

* docs: 英文描述

* chore: en feature request 删除 faqs
2025-02-05 15:01:36 +08:00
uye
c31fdccbfb chore: 远程控制也添加存储加密 2025-02-05 13:36:35 +08:00
uye
7701272539 chore: 修改 Copilot 界面提示 2025-02-05 11:00:26 +08:00
MistEO
66957eef90 chore: trim mirrorchyan cdk 2025-02-04 23:53:05 +08:00
uye
7738532199 chore: 资源更新和检查更新分开 2025-02-04 22:57:55 +08:00
Tsukiyowu
0d9f495e05 perf: 开始任务自动关闭雷电模拟器 Google 套件窗口 (#11748)
* perf: 开始任务自动关闭雷电模拟器 Google 套件窗口

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 开始任务自动关闭雷电模拟器 Google 套件窗口

* perf: 开始任务自动关闭雷电模拟器 Google 套件窗口

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-04 22:36:56 +08:00
MistEO
25daf694c1 fix: 修复资源检查提示信息错误 2025-02-04 21:58:27 +08:00
status102
f7152c3061 chore: HttpService调整部分默认值 2025-02-04 12:08:59 +08:00
HY
f4ec9c1bcb fix: 繁中服「黍」辨識問題 (#11738) 2025-02-04 09:47:39 +08:00
MistEO
e080c65b70 ci: perf mirrorchyan download version 2025-02-04 05:02:57 +08:00
MistEO
a532ef9914 ci: remove useless var for mirrorchyan 2025-02-04 04:35:10 +08:00
Constrat
84126547ba style: workflow formatting
[skip changelog]
2025-02-03 21:20:55 +01:00
MistEO
690f2b8841 ci: add mirrorchyan uploading for release (#11735) 2025-02-04 04:17:45 +08:00
HY
1b57a27879 fix: 繁中服無法進入薩米肉鴿 (#11733) 2025-02-03 18:00:39 +01:00
HY
ffc7da7028 chore: 繁中服「懷黍離」導航入口再更動 (#11732) 2025-02-03 17:59:53 +01:00
status102
f62f37904d Release v5.13.0-beta.5 (#11730) 2025-02-03 23:46:19 +08:00
github-actions[bot]
62cb676b6a docs: Auto Update Changelogs of v5.13.0-beta.5 (#11731)
docs: Auto Generate Changelog of Release v5.13.0-beta.5

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 23:32:31 +08:00
uye
5f6dee8df5 chore: GetAsync catch 未处理 logUri 2025-02-03 19:07:12 +08:00
uye
d1eaff1d22 chore: 加个 json 解析 catch 2025-02-03 18:47:33 +08:00
status102
6e5708bb98 fix: 自动战斗勾选使用理智药时自动编队卡住 2025-02-03 16:51:11 +08:00
Roland125
2ede6097ad fix: 招募测试函数修复 (#11723) 2025-02-03 02:36:38 +08:00
Rbqwow
d2fa4e9b63 Release v5.13.0-beta.4 (#11720) 2025-02-03 02:00:02 +08:00
uye
9d3f859974 docs: 更新 CHANGELOG.md 2025-02-03 01:58:32 +08:00
github-actions[bot]
5f5c406a3d docs: Auto Update Changelogs of v5.13.0-beta.4 (#11721)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com>
2025-02-03 01:54:13 +08:00
Horror Proton
0f20c91e94 fix: recruitanalyzer return value [skip changelog] 2025-02-03 01:27:27 +08:00
status102
aaf5d826a3 Release v5.13.0-beta.3 (#11718) 2025-02-03 00:17:19 +08:00
github-actions[bot]
dad5bb71ee docs: Auto Update Changelogs of v5.13.0-beta.3 (#11719)
* docs: Auto Generate Changelog of Release v5.13.0-beta.3

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: changelog

* docs: changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-02-03 00:15:46 +08:00
status102
036b2350e7 Revert "style: follow clang formatting"
This reverts commit 7113ea82aa.
2025-02-02 23:59:54 +08:00
status102
bc81f492f2 Revert "style: clang formatting"
This reverts commit bfe2e29249.
2025-02-02 23:59:46 +08:00
status102
2a78ca9a1b chore: include 2025-02-02 23:54:46 +08:00
uye
85cf5087f7 chore: 更新日志支持惯性运动 2025-02-02 23:40:03 +08:00
Constrat
bfe2e29249 style: clang formatting
[skip changelog]
2025-02-02 14:24:12 +01:00
Constrat
7113ea82aa style: follow clang formatting
[skip changelog]
2025-02-02 13:53:32 +01:00
status102
e5d9f1a191 fix: 肉鸽开局干员使用助战失效
fix MaaAssistantArknights/MaaAssistantArknights#11709
2025-02-02 18:02:07 +08:00
Horror Proton
b888a3e064 fix: fix return value of RecruitImageAnalyzer
fix: https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/11600
2025-02-02 17:45:25 +08:00
status102
15bf60f397 fix: 移除二次检查
[skip changelog]
2025-02-02 15:44:55 +08:00
status102
35ab099cce fix: 肉鸽烧水使用分队失效 2025-02-02 15:25:03 +08:00
筱竹聽雨
36ea07b076 perf: 优化存亡之战部署策略 (#11706)
优化存亡之战部署策略
2025-02-02 12:35:41 +08:00
status102
f05c860692 fix: Wpf肉鸽烧水时使用分队UI为空 2025-02-02 10:41:00 +08:00
status102
bee9c1c045 Revert "fix: Wpf肉鸽烧水时使用分队UI为空"
This reverts commit 40f7bc9185.
2025-02-02 10:36:51 +08:00
status102
f5c2b951c6 fix: 自动战斗开始战斗时使用理智药检测失效
fix MaaAssistantArknights/MaaAssistantArknights#11701
2025-02-02 10:09:40 +08:00
5158 changed files with 747023 additions and 92529 deletions

View File

@@ -1,5 +1,5 @@
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
# for clang-format 17.0.1
# for clang-format 20.0.0
Language: Cpp
BasedOnStyle: "WebKit"
# AccessModifierOffset: 2
@@ -26,9 +26,9 @@ AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BreakAfterReturnType: Automatic
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BreakTemplateDeclarations: Yes
# AttributeMacros:
# - __pragma
# - _Pragma
@@ -145,7 +145,7 @@ PointerAlignment: Left
# - constexpr
# - type
ReferenceAlignment: Left
ReflowComments: true
ReflowComments: Always
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
@@ -188,3 +188,4 @@ TabWidth: 4
UseTab: Never
# VerilogBreakBetweenInstancePorts:
# WhitespaceSensitiveMacros:
RemoveEmptyLinesInUnwrappedLines: true

View File

@@ -0,0 +1,30 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu
USER vscode
ENV CONDA_DIR=/home/vscode/miniconda
ENV PATH="$CONDA_DIR/bin:$PATH"
ARG PYTHON_VERSION=3.12
ARG NODEJS_VERSION=24
# Install Miniconda
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh \
&& bash ~/miniconda.sh -b -p $CONDA_DIR \
&& rm ~/miniconda.sh \
&& conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main \
&& conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
# Configure conda environment
RUN eval "$(conda shell.bash hook)" \
&& conda create -n maa \
&& conda activate maa \
&& conda install -y \
python=$PYTHON_VERSION \
conda-forge::nodejs=$NODEJS_VERSION \
&& pip install pre-commit
# Finalize conda setup
RUN conda init \
&& conda config --set auto_activate false \
&& echo "conda activate maa" >> ~/.bashrc

View File

@@ -0,0 +1,48 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "MAA Docs Env (Light)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"build": {
"dockerfile": "Dockerfile"
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3001],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/0/post-create.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"nekosu.maa-support",
"esbenp.prettier-vscode",
"DavidAnson.vscode-markdownlint",
"yzhang.markdown-all-in-one",
"vue.volar",
"mkxml.vscode-filesize"
],
"settings": {
// Color theme
"workbench.colorTheme": "Default Dark Modern",
// Editor formatting
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Performance optimizations
"search.exclude": {
"**/node_modules": true,
"**/3rdparty": true
}
}
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

View File

@@ -0,0 +1,21 @@
#!/bin/bash
WORKSPACE=$(pwd)
# conda activate maa
echo "===================="
cd "$WORKSPACE"
echo "Setting up git safe.directory..."
git config --global --add safe.directory "$WORKSPACE"
git submodule foreach --recursive 'git config --global --add safe.directory "$toplevel/$path"'
echo "===================="
cd "$WORKSPACE"
echo "Updating submodules..."
git submodule update --init --recursive
echo "===================="
cd "$WORKSPACE"/docs
echo "Installing node modules..."
npm install -g pnpm
pnpm install --frozen-lockfile

View File

@@ -0,0 +1,37 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu
USER vscode
ENV CONDA_DIR=/home/vscode/miniconda
ENV PATH="$CONDA_DIR/bin:$PATH"
ARG CLANGD_VERSION=20
ARG PYTHON_VERSION=3.12
ARG NODEJS_VERSION=24
# Install system dependencies
RUN sudo apt update \
&& sudo apt upgrade -y \
&& sudo apt install -y \
cmake
# Install Miniconda
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh \
&& bash ~/miniconda.sh -b -p ${CONDA_DIR} \
&& rm ~/miniconda.sh \
&& conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main \
&& conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
# Configure conda environment
RUN eval "$(conda shell.bash hook)" \
&& conda create -n maa \
&& conda activate maa \
&& conda install -y \
python=${PYTHON_VERSION} \
conda-forge::nodejs=${NODEJS_VERSION} \
&& pip install pre-commit black isort
# Finalize conda setup
RUN conda init \
&& conda config --set auto_activate false \
&& echo "conda activate maa" >> ~/.bashrc

View File

@@ -0,0 +1,86 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "MAA Core Env (Full)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"build": {
"dockerfile": "Dockerfile"
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3001],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/1/post-create.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"nekosu.maa-support",
"ms-vscode.cmake-tools",
"xaver.clang-format",
"llvm-vs-code-extensions.vscode-clangd",
"ms-python.python",
"ms-python.black-formatter",
"ms-python.isort",
"esbenp.prettier-vscode",
"DavidAnson.vscode-markdownlint",
"yzhang.markdown-all-in-one",
"vue.volar",
"mkxml.vscode-filesize"
],
"settings": {
// Color theme
"workbench.colorTheme": "Default Dark Modern",
// Editor formatting
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Language-specific formatting
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"[c]": {
"editor.defaultFormatter": "xaver.clang-format"
},
// Python formatting and linting
"isort.args": ["--profile", "black"],
// Python runtime
"python.terminal.launchArgs": ["-u"],
"python.defaultInterpreterPath": "/home/vscode/miniconda/envs/maa/bin/python",
"python.terminal.activateEnvironment": false,
// CMake settings
"cmake.configureSettings": {
"BUILD_DEBUG_DEMO": "ON",
"CMAKE_TOOLCHAIN_FILE": "src/MaaUtils/MaaDeps/cmake/maa-x64-linux-toolchain.cmake"
},
"cmake.configureOnOpen": false,
// Performance optimizations
"search.exclude": {
"**/node_modules": true,
"**/build": true,
"**/install": true,
"**/MaaDeps": true,
"**/3rdparty": true
}
}
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

View File

@@ -0,0 +1,47 @@
#!/bin/bash
WORKSPACE=$(pwd)
# conda activate maa
echo "===================="
cd "$WORKSPACE"
echo "Setting up git safe.directory..."
git config --global --add safe.directory "$WORKSPACE"
git submodule foreach --recursive 'git config --global --add safe.directory "$toplevel/$path"'
echo "===================="
cd "$WORKSPACE"
echo "Updating submodules..."
git submodule update --init --recursive
echo "===================="
cd "$WORKSPACE"/docs
echo "Installing node modules..."
npm install -g pnpm
pnpm install --frozen-lockfile
echo "===================="
cd "$WORKSPACE"
echo "Installing Python dependencies..."
# Install Python dependencies from all tools
for req_file in tools/*/requirements.txt; do
if [ -f "$req_file" ]; then
echo "Installing from $req_file"
pip install -r "$req_file"
fi
done
for req_file in tools/*/requirements-dev.txt; do
if [ -f "$req_file" ]; then
echo "Installing from $req_file"
pip install -r "$req_file"
fi
done
echo "===================="
cd "$WORKSPACE"
echo "Installing MaaDeps..."
python tools/maadeps-download.py
# Link clang-format & clangd to /usr/local/bin for easy access
sudo ln -s $WORKSPACE/src/MaaUtils/MaaDeps/x-tools/llvm/bin/clang-format /usr/local/bin/clang-format
sudo ln -s $WORKSPACE/src/MaaUtils/MaaDeps/x-tools/llvm/bin/clangd /usr/local/bin/clangd

View File

@@ -1,13 +1,13 @@
{
"image": "mcr.microsoft.com/devcontainers/cpp:ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/devcontainers/features/sshd:1": {}
},
"postCreateCommand": "sudo sh -ce 'apt update && apt install g++-12 -y && echo export CC=gcc-12 CXX=g++-12 >> /etc/profile.d/set-compiler.sh'",
"name": "Plain Env (Nothing Installed)",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"postCreateCommand": "bash .devcontainer/post-create.sh",
"customizations": {
"vscode": {
"extensions": ["llvm-vs-code-extensions.vscode-clangd", "DavidAnson.vscode-markdownlint"]
"settings": {
// Color theme
"workbench.colorTheme": "Default Dark Modern"
}
}
}
}

View File

@@ -0,0 +1,13 @@
#!/bin/bash
WORKSPACE=$(pwd)
echo "===================="
cd "$WORKSPACE"
echo "Setting up git safe.directory..."
git config --global --add safe.directory "$WORKSPACE"
git submodule foreach --recursive 'git config --global --add safe.directory "$toplevel/$path"'
echo "===================="
cd "$WORKSPACE"
echo "Updating submodules..."
git submodule update --init --recursive

View File

@@ -13,6 +13,7 @@
290cc30f153a0206bd870a0a58cb6338aa16ea34
db9afdc77e85d5fc462d923fca5318be021656cd
a5daac889a55baf8895918d4964f20dad1938470
9ed30c5658c88edf1ef839771a53c7d599183b8b
# incorrect format of 3rdparty/resource/Arknights-Tile-Pos/levels.json
65d654e54b9d04d1902c9ee9f9fb2679520adafd
@@ -42,6 +43,12 @@ bc3ad67a02cb3b8e154c06955cf17091c4265000
# oxipng template optimization
e3d63894b28b2ef5e2405e144a32a6981de5e1b2
# refactor: divide tasks.json into multiple jsons
dce6e317c8e56836662b64ac4b3d1a69b4ff4dd8
# c# 统一使用文件范围限定的 namespace
76252d42e3febae1aef396e8ee5482fa46d565c6
# usage: add "[blame ignore]" to the commit message
# This file is managed by an automated workflow
# Do not add, remove or modify lines below this comment

2
.gitattributes vendored
View File

@@ -10,3 +10,5 @@
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.sh text eol=lf

View File

@@ -5,18 +5,18 @@ body:
- type: checkboxes
id: checks
attributes:
label: 在提问之前...
description: |
请确认自己完成了要求之后再进行勾选
label: 请确认自己完成了下列必选项之后再进行勾选,若未完成必选项或勾选了"我未仔细阅读"选项将视为自愿接受被直接关闭 Issue
options:
- label: 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
required: true
required: false
- label: 我未仔细阅读这些内容,只是一键已读[所有内容](/MaaAssistantArknights/MaaAssistantArknights/issues),并相信这不会影响问题的处理
required: false
- label: 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
required: true
- label: 我使用的是当前更新版本的最新版,且已查看版本发布至今和 Pull Requests 中尚未发布的更新内容并未提及该 Bug 已被修复的情况
required: true
- label: 我已检查了置顶议题Pinned Issue公告、活跃议题Open Issue、已关闭议题Closed Issue确认我的问题未被提及
required: true
required: false
- label: 我使用的是当前更新版本的最新版, 并已查看版本发布至今的 [更新内容](https://github.com/MaaAssistantArknights/MaaAssistantArknights/commits/dev/), [Pull Requests](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pulls) 中尚未发布的更新内容并未提及该 Bug 已被修复的情况
required: false
- label: 我已检查了 [常见问题](https://docs.maa.plus/zh-cn/manual/faq.html), [公告](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/7732), [活跃议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues), [已关闭议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed) 确认我的问题未被提及
required: false
- type: textarea
id: describe
attributes:
@@ -28,8 +28,9 @@ body:
id: version
attributes:
label: Version
description: >-
请提供 MAA 版本。可在 MAA -> 设置 -> 软件更新中找到点击图标可复制)。
description: |
请提供 MAA 版本。可在 MAA -> 设置 -> 软件更新中找到点击图标可复制
请分别点击 `资源版本` 和 `MAA 版本` 并粘贴,最终应有 5 行版本信息。
placeholder: |
Resource Version:
MAA Version:
@@ -40,12 +41,9 @@ body:
attributes:
label: 日志和配置文件
description: |
**请在关闭 MAA 后,上传以下 5 个文件:**
1. `debug` 文件夹中的 `asst.log` `gui.log` `asst.bak.log` 和 `gui.bak.log` 日志文件,并说明问题出现的大致时间点
2. `config` 文件夹中的 `gui.json` 配置文件
如果你在使用 MacBook请点击屏幕左上角的“文件”点击“打开日志文件夹”
**请直接将完整的文件拖拽进来,而非自己裁切或复制的片段;若文件体积过大可压缩后再上传**
**请在 MAA -> 设置 -> 问题反馈中找到生成日志压缩包按钮,点击并上传压缩包**
**若待上传压缩包大于 25MB请转而上传该压缩包同日期文件夹中的若干小压缩包**
若正在使用 macOS请点击屏幕左上角的“文件”点击“打开日志文件夹”
placeholder: |
请确认上传文件前已关闭 MAA
validations:
@@ -55,8 +53,8 @@ body:
attributes:
label: 配置信息
description: |
请说明操作系统及版本、模拟器品牌、模拟器分辨率、DPI、帧率
若正在使用 MuMu 12 或雷电 9请说明截图增强是否开启
请说明操作系统及版本、模拟器品牌、模拟器分辨率、DPI、帧率
若正在使用 MuMu 或雷电 9请说明截图增强是否开启
最后请说明 GPU 加速推理是否开启,若开启请提供 GPU 型号。
validations:
required: true
@@ -65,11 +63,9 @@ body:
attributes:
label: 截图或录屏
description: |
`debug` 目录下按功能分类的文件夹内,有一些自动截图的错误图片,若有相关的,请一并打包上传
可上传屏幕截图或录制以帮助解释你的问题,包括但不限于 MAA 软件截图、游戏画面截图
若是**识别相关问题**,请尽可能提供模拟器自带的截图工具截取的无遮挡的**原图**(或通过 adb 截取原图)
用其他的工具如QQ/微信截取的图片包含窗口边框且长宽比、分辨率不固定不利于我们排除bug
可上传屏幕截图或录制以帮助解释你的问题,包括但不限于 MAA 软件截图、游戏画面截图
若是**识别相关问题**,请尽可能提供模拟器自带的截图工具截取的无遮挡的**原图**(或通过 adb 截取原图)
用其他的工具如QQ/微信截取的图片包含窗口边框且长宽比、分辨率不固定不利于我们排除bug
若文件体积过大可压缩后再上传
validations:
required: false

View File

@@ -5,16 +5,18 @@ body:
- type: checkboxes
id: checks
attributes:
label: 在提问之前...
label: 请确认自己完成了下列必选项之后再进行勾选,若未完成必选项或勾选了"我未仔细阅读"选项将视为自愿接受被直接关闭 Issue
options:
- label: 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
required: true
- label: 我基本确定这是一个新功能/建议,而不是遇到了 Bug不确定的话请附上日志
required: true
- label: 使用的是当前更新版本的最新版,且已查看版本发布至今和 Pull Requests 中尚未发布的更新内容,确认我的建议未被提及
required: true
- label: 已检查了置顶议题Pinned Issue公告、活跃议题Open Issue、已关闭议题Closed Issue确认我的建议未被提及
required: true
required: false
- label: 未仔细阅读这些内容,只是一键已读[所有内容](/MaaAssistantArknights/MaaAssistantArknights/issues),并相信这不会影响问题的处理
required: false
- label: 填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
required: false
- label: 我使用的是当前更新版本的最新版, 并已查看版本发布至今的 [更新内容](https://github.com/MaaAssistantArknights/MaaAssistantArknights/commits/dev/), [Pull Requests](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pulls) 中尚未发布的更新内容,确认我的建议未被提及
required: false
- label: 我已检查了 [常见问题](https://docs.maa.plus/zh-cn/manual/faq.html), [公告](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/7732), [活跃议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues), [已关闭议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed) 确认我的建议未被提及
required: false
- type: textarea
id: describe
attributes:

View File

@@ -8,15 +8,17 @@ body:
label: 在提问之前...
options:
- label: 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
required: true
required: false
- label: 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
required: true
- label: 我已检查了置顶议题Pinned Issue,确认我的问题未被提及
required: true
required: false
- label: 我已检查了[公告](/MaaAssistantArknights/MaaAssistantArknights/issues/7732)、[活跃议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues)、[已关闭议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed),确认我的问题未被提及
required: false
- label: 我未仔细阅读这些内容,只是一键已读[所有内容](/MaaAssistantArknights/MaaAssistantArknights/issues),并相信这不会影响问题的处理
required: false
- label: 我正在使用最新的 MAA 公测版本和最新的官版雷电 9 模拟器
required: true
required: false
- label: 我已参考文档确定安装路径、实例编号填写正确,并确认在关闭截图增强模式后问题消失
required: true
required: false
- label: 我未开启高帧率,且模拟器帧数设置为 60
required: false
- type: textarea
@@ -44,10 +46,8 @@ body:
attributes:
label: MAA 日志和配置文件
description: |
**请在关闭 MAA 后,上传以下三个文件:**
1. `debug` 文件夹中的 `asst.log` 和 `gui.log` 日志文件,并说明问题出现的大致时间点
若 asst.log 文件小于 10 KB则需同时上传 asst.log.bak 文件
2. `config` 文件夹中的 `gui.json` 配置文件
**请在 MAA -> 设置 -> 问题反馈中找到生成日志压缩包按钮,点击并上传压缩包**
**请直接将完整的文件拖拽进来,而非自己裁切或复制的片段;若文件体积过大可压缩后再上传**
placeholder: |
请确认上传文件前已关闭 MAA

View File

@@ -8,16 +8,18 @@ body:
label: 在提问之前...
options:
- label: 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决
required: true
required: false
- label: 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等
required: true
- label: 我已检查了置顶议题Pinned Issue,确认我的问题未被提及
required: true
required: false
- label: 我已检查了[公告](/MaaAssistantArknights/MaaAssistantArknights/issues/7732)、[活跃议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues)、[已关闭议题](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed),确认我的问题未被提及
required: false
- label: 我未仔细阅读这些内容,只是一键已读[所有内容](/MaaAssistantArknights/MaaAssistantArknights/issues),并相信这不会影响问题的处理
required: false
- label: 我正在使用最新的 MAA 公测版本和最新的官版或方舟专版 MuMu 模拟器
required: true
required: false
- label: 我已参考文档确定安装路径、实例编号、屏幕编号填写正确,并确认在关闭截图增强模式后问题消失
required: true
- label: 我未开启后台保活,模拟器帧数为 60显存使用策略为“画面表现更好”
required: false
- label: 我未开启动态帧率及后台保活,模拟器帧数为 60显存使用策略为“画面表现更好”
required: false
- type: textarea
id: describe
@@ -44,10 +46,8 @@ body:
attributes:
label: MAA 日志和配置文件
description: |
**请在关闭 MAA 后,上传以下三个文件:**
1. `debug` 文件夹中的 `asst.log` 和 `gui.log` 日志文件,并说明问题出现的大致时间点
若 asst.log 文件小于 10 KB则需同时上传 asst.log.bak 文件
2. `config` 文件夹中的 `gui.json` 配置文件
**请在 MAA -> 设置 -> 问题反馈中找到生成日志压缩包按钮,点击并上传压缩包**
**请直接将完整的文件拖拽进来,而非自己裁切或复制的片段;若文件体积过大可压缩后再上传**
placeholder: |
请确认上传文件前已关闭 MAA

View File

@@ -1,35 +1,23 @@
name: Bug Report (in English)
description: >-
Recognition errors, operation abnormalities,
connection errors, etc.
description: Recognition errors, operation abnormalities, connection errors, etc.
labels: ["bug"]
body:
- type: checkboxes
id: checks
attributes:
label: Before raising the issue...
description: |
Please ensure that you have completed the requirements before checking the box.
label: |
Please ensure that you have completed the required items before checking the boxes.
Issues with incomplete required items or with the 'I did not read carefully' option checked will be considered voluntary acceptance of direct closure.
options:
- label: >-
I understand that Issues are for feedback and problem solving,
not trolling the comments section, and will provide as
much information as possible to help solve the problem.
- label: I understand that Issues are for feedback and problem solving, not trolling the comments section, and will provide as much information as possible to help solve the problem.
required: true
- label: >-
I filled in a short, clear title
so that developers could quickly identify the general problem
when going through the issue list.
Instead of "Some suggestions", "Stuck", etc.
- label: I filled in a short, clear title so that developers could quickly identify the general problem when going through the issue list. Instead of "Some suggestions", "Stuck", etc.
required: true
- label: >-
I am using the latest version of the current update and have reviewed
both the updates released so far and the unreleased changes in the Pull Requests,
there is no mention of the bug being fixed.
- label: I am using the latest version of the current update version, and have reviewed the [update content](https://github.com/MaaAssistantArknights/MaaAssistantArknights/commits/dev/) released to date, [Pull Requests](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pulls) unreleased update content and there is no mention of the bug being fixed.
required: true
- label: >-
I have reviewed the Pinned issue (Announcements), Open issues, and Closed issues
to ensure that my issue has not been mentioned.
- label: I have checked all the options without carefully reading the content and believe this will not affect issue resolution.
required: false
- label: I have reviewed the [FAQs](https://docs.maa.plus/en-us/manual/faq.html), [Announcement](/MaaAssistantArknights/MaaAssistantArknights/issues/7732), [Open Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues), [Closed Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed) to ensure that my issue has not been mentioned.
required: true
- type: textarea
id: describe
@@ -42,8 +30,9 @@ body:
id: version
attributes:
label: Version
description: >-
Please provide the MAA version. Can be found in MAA -> Settings -> Update. (Click to copy)
description: |
Please provide the MAA version. Can be found in MAA -> Settings -> Update. Click to copy.
Click on `Resource Version` and `MAA Version` and paste them respectively. There should be 5 lines of version information in total.
placeholder: |
Resource Version:
MAA Version:
@@ -53,14 +42,10 @@ body:
id: logs
attributes:
label: Log and config files
description: >-
**After closing MAA, upload the following 5 files:**
1. The `asst.log` `gui.log` `asst.bak.log` and `gui.bak.log` log file in the `debug` folder, and indicate the approximate point in time when the problem occurred.
2. The `gui.json` config file in the `config` folder
If you are using MacBook, please click the "File" option in the top-left corner of the screen, then click "Open Log Folder".
**Please drag and drop the full file in, not your own cuttings or copies;**
**compress it before uploading if too large.**
description: |
**Please locate the Generate Support Payload button under MAA Settings -> Issue Report, click the button, and upload the generated zip file**
**If the archive to upload is larger than 25MB, please upload smaller archives from the same date folder instead.**
If you are using macOS, please click the "File" option in the top-left corner of the screen, then click "Open Log Folder".
placeholder: |
Please confirm that MAA is not running before uploading files.
validations:
@@ -70,8 +55,8 @@ body:
attributes:
label: Configuration information
description: |
Please specify the operating system and version, emulator brand, emulator resolution, DPI, and frame rate;
If you are using MuMu 12 or LDPlayer 9, please specify whether Screenshot Enhancement is enabled;
Please specify the operating system and version, emulator brand, emulator resolution, DPI, and frame rate.
If you are using MuMu or LDPlayer 9, please specify whether Screenshot Enhancement is enabled.
Finally, please specify whether GPU accelerated inference is enabled, and if so, provide the GPU model.
validations:
required: true
@@ -79,31 +64,23 @@ body:
id: screenshots
attributes:
label: Screenshots or recordings
description: >-
In the `debug` directory, within the functionally categorized folders,
there are some error images captured automatically.
If related to this issue, please upload them together.
description: |
If available, upload screenshots and recordings to help explain your problem,
including but not limited to screenshots of MAA software,
screenshots of game screens.
screenshots of game screens.
If the problem is **recognition related**, please help by providing
the **original image** taken by the emulator's own screenshot tool
(or via adb).
(or via adb).
Screenshots taken with other tools may contain the frames of the window/emulator
and their aspect ratio and resolution are inconsistent,
which makes it harder for us to debug.
If the file siz is too large, you may compress it before uploading.
which makes it harder for us to debug.
If the file size is too large, you may compress it before uploading.
validations:
required: false
- type: textarea
id: others
attributes:
label: Anthing else?
label: Anything else?
description: |
Anything that will give us more insight into the problem you are having.
validations:

View File

@@ -5,15 +5,19 @@ body:
- type: checkboxes
id: checks
attributes:
label: Before raising the issue...
label: |
Please ensure that you have completed the required items before checking the boxes.
Issues with incomplete required items or with the 'I did not read carefully' option checked will be considered voluntary acceptance of direct closure.
options:
- label: I'm probably sure this is a new feature/suggestion and not a bug encountered (please attach logs if you're not sure).
required: true
- label: I filled in a short, clear title so that developers could quickly identify the general problem when going through the issue list. Instead of "Some suggestions", "Stuck", etc.
required: true
- label: I'm probably sure this is a new feature/suggestion and not a bug encountered (please attach logs if you're not sure)
- label: I am using the latest version of the current update version, and have reviewed the [update content](https://github.com/MaaAssistantArknights/MaaAssistantArknights/commits/dev/) released to date, [Pull Requests](https://github.com/MaaAssistantArknights/MaaAssistantArknights/pulls) unreleased update content and there is no mention of this feature/suggestion being added.
required: true
- label: I am using the latest version of the current update and have reviewed both the updates released so far and the unreleased changes in the Pull Requests, but there is no mention of this feature/suggestion being added.
required: true
- label: I have reviewed the Pinned issue (Announcements), Open issues, and Closed issues to ensure that my feature/suggestion has not been mentioned.
- label: I have checked all the options without carefully reading the content and believe this will not affect issue resolution.
required: false
- label: I have reviewed the [FAQs](https://docs.maa.plus/en-us/manual/faq.html), [Announcement](/MaaAssistantArknights/MaaAssistantArknights/issues/7732), [Open Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues), [Closed Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues?q=is%3Aissue%20state%3Aclosed) to ensure that my feature/suggestion has not been mentioned.
required: true
- type: textarea
id: describe

View File

@@ -7,8 +7,9 @@ updates:
commit-message:
prefix: ci
assignees:
- constrat
- AnnAngela
- Constrat
- lucienshawls
groups:
github-actions:
patterns:

View File

@@ -184,7 +184,7 @@ labels:
# `module: roguelike`
- name: roguelike
content: "module: roguelike"
regexes: "肉[鸽鴿]|集成战略|[Rr]ogue|[Ii]ntegrated [Ss]tategy|I\\.S\\.|ローグ"
regexes: "肉[鸽鴿]|集成战略|[Rr]ogue|[Ii]ntegrated [Ss]tategy|I\\.S\\.|ローグ|IS[1-4]"
skip-if:
- skip all
- skip module
@@ -335,7 +335,7 @@ labels:
# `MacGui`
- name: MacGui
content: "client: MacGui"
regexes: '/mac(?:book|os|\s*(?:操作系统|系统|电脑|版))|playcover/i'
regexes: '(?:[Mm][Aa][Cc](?:[Bb][Oo][Oo][Kk]|[Oo][Ss]|\s*(?:操作系统|系统|电脑|版|[Gg][Uu][Ii]))|[Pp][Ll][Aa][Yy][Cc][Oo][Vv][Ee][Rr]|[Mm][Aa][Cc]\s+[Gg][Uu][Ii])'
skip-if:
- skip all
- skip client
@@ -522,7 +522,7 @@ labels:
# `incomplete`
- name: incomplete
content: incomplete
regexes: '(?:\[Uploading asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)…\]\(\))'
regexes: '(?:\[Uploading asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)…\]\(\))|<!-- Uploading "(log|report)[^"]*\.zip"\.\.\. -->'
mode: add
skip-if:
- skip all
@@ -532,7 +532,7 @@ labels:
- remove incomplete
- name: complete
content:
regexes: '(?:\[asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)\]\([^\)]+\))'
regexes: '(?:\[asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)\]\([^\)]+\))|(log|report)[^.]*.zip'
- name: remove incomplete
content: incomplete
mode: remove
@@ -547,12 +547,12 @@ labels:
comments:
- name: Log upload failed
regexes: '\[Uploading asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)…\]\(\)'
regexes: '\[Uploading asst(?:.bak|)(?: - 副本|)(?:.log|)(?:.zip|)…\]\(\)|<!-- Uploading "log[^"]*\.zip"\.\.\. -->'
content: "你的日志没有上传成功,请重新上传。\n\n\
Your log did not upload successfully, please re-upload it."
mode: add
- name: Upload failed
regexes: "^[^`]*(`[^`]+`[^`]*)*\\[Uploading[^\\]]*…\\]\\(\\)"
regexes: "^[^`]*(`[^`]+`[^`]*)*(\\[Uploading[^\\]]*…\\]\\(\\)|<!-- Failed to upload|<!-- Uploading)"
content: "你有一些文件没有上传成功,请重新上传。\n\n\
You have some files that did not upload successfully, please re-upload them."
mode: add

75
.github/stale_cache_cleanup.ps1 vendored Normal file
View File

@@ -0,0 +1,75 @@
$totalClearedSize = 0
$cacheList = gh cache list --json id,key,ref,sizeInBytes,createdAt | ConvertFrom-Json
# List of keys to process
$keyPatterns = @(
"Windows-x64-nuget",
"Windows-x64-maadeps",
"Windows-arm64-nuget",
"Windows-arm64-maadeps",
"macOS-x64-maadeps",
"macOS-arm64-maadeps",
"Linux-x64-maadeps",
"Linux-arm64-maadeps",
"Smoke-testing"
)
# Filter caches matching any of our key patterns
$matchingCaches = $cacheList | Where-Object {
$cache = $_
($keyPatterns | Where-Object { $cache.key -like "*$_*" }).Count -gt 0
}
# Get unique branch references from the matching caches
$branches = $matchingCaches | Select-Object -Property ref -Unique | ForEach-Object { $_.ref }
Write-Output "Found caches across $($branches.Count) branches"
foreach ($branch in $branches) {
# Extract branch name from ref for display
$branchName = $branch -replace "refs/heads/", ""
if ($branch -match "refs/pull/(\d+)/merge") {
$branchName = "PR #$($matches[1])"
}
Write-Output "Processing caches for branch: $branchName"
# Filter for current branch caches
$branchCaches = $matchingCaches | Where-Object { $_.ref -eq $branch }
foreach ($pattern in $keyPatterns) {
Write-Output " Processing $branchName branch caches for pattern: $pattern"
# Filter for caches matching the current key pattern within branch
$patternCaches = $branchCaches | Where-Object { $_.key -like "*$pattern*" }
if (-not $patternCaches) {
Write-Output " No $branchName branch caches found for pattern: $pattern"
continue
}
# Sort by creation time (newest first)
$sortedCaches = $patternCaches | Sort-Object -Property createdAt -Descending
# Keep the first one (latest) and delete the rest
$latestCache = $sortedCaches[0]
Write-Output " Keeping latest cache for $branchName/${pattern}: '$($latestCache.key)' (ID: $($latestCache.id))"
# Delete all except the latest one
for ($i = 1; $i -lt $sortedCaches.Count; $i++) {
$cache = $sortedCaches[$i]
$cacheId = $cache.id
$cacheKey = $cache.key
Write-Output " Deleting cache for $branchName/${pattern}: '$cacheKey' (ID: $cacheId)"
gh cache delete $cacheId
$totalClearedSize += $cache.sizeInBytes
}
}
Write-Output ""
}
$formattedSize = "{0:N2}" -f ($totalClearedSize / 1MB)
Write-Output "Total cleared size: $formattedSize MB"

59
.github/stale_cache_dev.ps1 vendored Normal file
View File

@@ -0,0 +1,59 @@
$totalClearedSize = 0
$cacheList = gh cache list --json id,key,ref,sizeInBytes,createdAt | ConvertFrom-Json
# Filter for dev branch caches only
$devCaches = $cacheList | Where-Object { $_.ref -eq "refs/heads/dev" }
if (-not $devCaches) {
Write-Output "No caches found for dev branch."
exit
}
# List of keys to process
$keyPatterns = @(
"Windows-x64-nuget",
"Windows-x64-maadeps",
"Windows-arm64-nuget",
"Windows-arm64-maadeps",
"macOS-x64-maadeps",
"macOS-arm64-maadeps",
"Linux-x64-maadeps",
"Linux-arm64-maadeps",
"Smoke-testing"
)
foreach ($pattern in $keyPatterns) {
Write-Output "Processing dev branch caches for pattern: $pattern"
# Filter for caches matching the current key pattern within dev branch
$matchingCaches = $devCaches | Where-Object { $_.key -like "*$pattern*" }
if (-not $matchingCaches) {
Write-Output " No dev branch caches found for pattern: $pattern"
continue
}
# Sort by creation time (newest first)
$sortedCaches = $matchingCaches | Sort-Object -Property createdAt -Descending
# Keep the first one (latest) and delete the rest
$latestCache = $sortedCaches[0]
Write-Output " Keeping latest dev branch cache: '$($latestCache.key)' (ID: $($latestCache.id))"
# Delete all except the latest one
for ($i = 1; $i -lt $sortedCaches.Count; $i++) {
$cache = $sortedCaches[$i]
$cacheId = $cache.id
$cacheKey = $cache.key
Write-Output " Deleting dev branch cache: '$cacheKey' (ID: $cacheId)"
gh cache delete $cacheId
$totalClearedSize += $cache.sizeInBytes
}
Write-Output ""
}
$formattedSize = "{0:N2}" -f ($totalClearedSize / 1MB)
Write-Output "Total cleared size: $formattedSize MB"

View File

@@ -1,4 +1,4 @@
name: Git Blame Ignore
name: Blame Ignore Update
on:
schedule:
@@ -7,12 +7,13 @@ on:
jobs:
blame-ignore:
name: Update Git Blame Ignore Revs
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false # Needed to bypass protection rules in Push changes
@@ -26,7 +27,7 @@ jobs:
git diff --quiet .git-blame-ignore-revs
- name: Commit and Push changes
- name: Commit changes
if: ${{ steps.check_changes.outcome == 'failure' }}
run: |
git config user.name "github-actions[bot]"

View File

@@ -1,4 +1,4 @@
name: Delete Cache
name: Cache Cleanup
on:
pull_request:
@@ -11,13 +11,14 @@ on:
jobs:
cache-delete:
name: Delete PR Cache
# Run only on organization branches with PRs
if: github.event_name == 'workflow_dispatch' ||
github.event.pull_request.head.repo.full_name ==
github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- name: Delete cache on PR merged
- name: Delete PR cache
run: |
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
PR_NUMBER=${{ github.event.inputs.pr_number }}

View File

@@ -1,4 +1,4 @@
name: ci
name: Release Pipeline
on:
push:
@@ -7,79 +7,70 @@ on:
branches-ignore:
- "master"
paths:
- ".github/workflows/ci.yml"
- "3rdparty/include/**"
- "include/**"
- "src/**"
- "cmake/**"
- "CMakeLists.txt"
- "MAA.sln"
- ".github/workflows/ci.yml"
- "include/**"
- "src/**"
- "tools/maadeps-download.py"
- "!**/*.md"
pull_request:
branches:
- "dev"
paths:
- ".github/workflows/ci.yml"
- "3rdparty/include/**"
- "include/**"
- "src/**"
- "cmake/**"
- "CMakeLists.txt"
- "MAA.sln"
- "include/**"
- "src/**"
- "tools/maadeps-download.py"
- "!**/*.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref == 'refs/heads/dev' && github.sha }}
cancel-in-progress: true
jobs:
meta:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
name: Gather Meta Information
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.set_tag.outputs.tag }}
prerelease: ${{ steps.set_pre.outputs.prerelease }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
path: temp
fetch-depth: 0
show-progress: false
- name: Fetch history
if: ${{ !startsWith(github.ref, 'refs/pull/') }}
run: |
git init
cp $GITHUB_WORKSPACE/temp/.git/config ./.git
rm -rf $GITHUB_WORKSPACE/temp
# git config remote.origin.fetch '+refs/*:refs/*'
git fetch --filter=tree:0 # --update-head-ok
git reset --hard origin/$(git branch --show-current) || true
git checkout ${{ github.ref_name }}
- name: Set tag
id: set_tag
run: |
${{ startsWith(github.ref, 'refs/pull/') && 'cd temp' || '' }}
echo tag=$(git describe --tags --match "v*" ${{ github.ref }} || git rev-parse --short HEAD) | tee -a $GITHUB_OUTPUT
exit ${PIPESTATUS[0]}
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
# For tag pushes, use the tag name
tag="${{ github.ref_name }}"
else
# For PRs and branch pushes, use git describe or fallback
tag=$(git describe --tags --match "v*" HEAD 2>/dev/null || echo "v0.0.1-$(git rev-parse --short HEAD)")
fi
echo "tag=${tag}" | tee -a $GITHUB_OUTPUT
- name: Judge pre-release
- name: Check if it is a pre-release
id: set_pre
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
if: startsWith(github.ref, 'refs/tags/v')
run: |
if [[ '${{ steps.set_tag.outputs.tag }}' =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo prerelease=false | tee -a $GITHUB_OUTPUT
echo "prerelease=false" | tee -a $GITHUB_OUTPUT
else
echo prerelease=true | tee -a $GITHUB_OUTPUT
echo "prerelease=true" | tee -a $GITHUB_OUTPUT
fi
- name: Generate changelog
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Finalize changelog
if: startsWith(github.ref, 'refs/tags/v')
run: |
this_tag=${{ steps.set_tag.outputs.tag }}
if [[ '${{ steps.set_pre.outputs.prerelease }}' != 'false' ]]; then
@@ -89,81 +80,81 @@ jobs:
fi
echo >> CHANGELOG.md
echo "**Full Changelog**: [$last_tag -> $this_tag](https://github.com/MaaAssistantArknights/MaaAssistantArknights/compare/${last_tag}...${this_tag})" >> CHANGELOG.md
echo >> CHANGELOG.md
echo "[已有 Mirror酱 CDK前往 Mirror酱 高速下载](https://mirrorchyan.com/zh/projects?rid=MAA&source=maagh-release)" >> CHANGELOG.md
- name: Upload changelog to Github
uses: actions/upload-artifact@v4
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Upload changelog to GitHub
uses: actions/upload-artifact@v5
if: startsWith(github.ref, 'refs/tags/v')
with:
name: changelog
path: CHANGELOG.md
windows:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
name: Build for Windows
needs: meta
strategy:
matrix:
include:
- msbuild_target: x64
lowercase_target: x64
- msbuild_target: ARM64
lowercase_target: arm64
env:
MAABUILDER_TARGET_PLATFORM: ${{ matrix.msbuild_target }}
arch: [arm64, x64]
fail-fast: false
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaUtils
git submodule update --init --depth 1 3rdparty/EmulatorExtras
- name: Cache .nuke/temp, ~/.nuget/packages
id: cache-nuget
uses: actions/cache@v4
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ matrix.msbuild_target }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
- name: Restore dependencies
if: steps.cache-nuget.outputs.cache-hit != 'true'
run: dotnet restore
- name: Cache MaaDeps
id: cache-maadeps
uses: actions/cache@v4
continue-on-error: true
with:
path: |
./MaaDeps
key: ${{ runner.os }}-${{ matrix.lowercase_target }}-maadeps-${{ hashFiles('./maadeps-download.py') }}
./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-${{ matrix.arch }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
- name: Bootstrap MaaDeps
if: steps.cache-maadeps.outputs.cache-hit != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 maadeps-download.py ${{ matrix.lowercase_target }}-windows
python3 tools/maadeps-download.py ${{ matrix.arch }}-windows
- name: Create fake event file
shell: bash
run: cp -v "$GITHUB_EVENT_PATH" ./event.json
- name: Merge Event Data with Inputs
if: startsWith(github.ref, 'refs/tags/v')
shell: bash
- name: Config cmake
run: |
cat "$GITHUB_EVENT_PATH" | jq '. + { "inputs": {"ReleaseSimulation": "${{ needs.meta.outputs.tag }}"} }' | tee ./event.json
mkdir -p build
cmake -B build ${{ matrix.arch == 'arm64' && '-A ARM64' }} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMAADEPS_TRIPLET='maa-${{ matrix.arch }}-windows' -DINSTALL_RESOURCE=ON -DINSTALL_PYTHON=ON -DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}' -DBUILD_WPF_GUI=OFF
- name: Taggify Version
- name: Build
run: |
cmake --build build --config RelWithDebInfo --parallel $env:NUMBER_OF_PROCESSORS
- name: Install
run: |
mkdir -p install
cmake --install build --prefix install --config RelWithDebInfo
- name: Cache .nuke/temp, ~/.nuget/packages
id: cache-nuget
uses: actions/cache@v4
continue-on-error: true
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj') }}
- name: Restore dependencies
if: steps.cache-nuget.outputs.cache-hit != 'true'
run: dotnet restore src/MaaWpfGui/MaaWpfGui.csproj
- name: Taggify version for csproj
run: |
$csprojPath = "src/MaaWpfGui/MaaWpfGui.csproj"
$csprojPath = Resolve-Path -Path $csprojPath
@@ -180,93 +171,105 @@ jobs:
$node.FileVersion = $match
$node.AssemblyVersion = $match
$csproj.Save($csprojPath)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
- name: Publish WPF GUI
continue-on-error: true
run: |
$env:GITHUB_WORKFLOW = 'dev-build-win' # pretend this is a dev-build-win workflow
$env:GITHUB_EVENT_PATH = "$pwd\\event.json"
$env:GITHUB_REF = "refs/heads/not_master"
$env:MAA_BUILDER_MAA_VERSION = '${{ needs.meta.outputs.tag }}'
./build.cmd DevBuild
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
dotnet publish src/MaaWpfGui/MaaWpfGui.csproj -c Release -p:Platform=${{ matrix.arch == 'arm64' && 'ARM64' || 'x64' }} -o install
- name: Cleanup checksum file
- name: Collect PDB files
run: |
rm -vf ./artifacts/checksum.json
shell: bash
cp build/bin/RelWithDebInfo/*.pdb install/
Compress-Archive -Path install/*.pdb -DestinationPath install/MAAComponent-DebugSymbol-${{ needs.meta.outputs.tag }}-win-${{ matrix.arch }}.zip
continue-on-error: true
- name: Upload MAA to Github
uses: actions/upload-artifact@v4
- name: Upload PDB files
uses: actions/upload-artifact@v5
with:
name: MAA-win-${{ matrix.lowercase_target }}
path: artifacts
name: MAAComponent-DebugSymbol-win-${{ matrix.arch }}
path: install/MAAComponent-DebugSymbol-${{ needs.meta.outputs.tag }}-win-${{ matrix.arch }}.zip
- name: Organize install files
shell: bash
run: |
rm -rf install/MAAComponent-DebugSymbol-*.zip
rm -rf install/*.pdb
rm -rf install/msvc-debug
rm -rf install/*.h
cp tools/DependencySetup_依赖库安装.bat install
- name: Zip files
run: |
cd install
Compress-Archive -Destination MAA-${{ needs.meta.outputs.tag }}-win-${{ matrix.arch }}.zip -Path ./*
- name: Upload MAA to GitHub
uses: actions/upload-artifact@v5
with:
name: MAA-win-${{ matrix.arch }}
path: install/MAA-*.zip
ubuntu:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
name: Build for Ubuntu
needs: meta
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
arch: [aarch64, x86_64]
permissions:
actions: write
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaUtils
git submodule update --init --depth 1 3rdparty/EmulatorExtras
git submodule update --init --depth 1 src/maa-cli
- name: Install cross compile toolchains
if: ${{ matrix.arch != 'x86_64' }}
run: |
sudo apt-get update
sudo apt-get install g++-12-aarch64-linux-gnu g++-12-aarch64-linux-gnu
- name: Cache MaaDeps
id: cache-maadeps
uses: actions/cache@v4
continue-on-error: true
with:
path: ./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
# Caching not necessary on ubuntu runner
- name: Bootstrap MaaDeps
if: steps.cache-maadeps.outputs.cache-hit != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 maadeps-download.py ${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-linux
python3 tools/maadeps-download.py ${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-linux
- name: Build MAA
- name: Config cmake
run: |
mkdir -p build
cmake -B build \
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DMAADEPS_TRIPLET='maa-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-linux' \
-DINSTALL_THIRD_LIBS=ON \
-DINSTALL_RESOURCE=ON \
-DINSTALL_PYTHON=ON \
-DMAA_VERSION='${{ needs.meta.outputs.tag }}'
cmake --build build --parallel $(nproc --all)
-DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}' \
-DCMAKE_TOOLCHAIN_FILE=src/MaaUtils/MaaDeps/cmake/maa-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-linux-toolchain.cmake
mkdir -p install
cmake --install build --prefix install
- name: Build
run: |
cmake --build build --config RelWithDebInfo --parallel $(nproc)
env:
CC: ${{ matrix.arch == 'x86_64' && 'gcc-12' || 'aarch64-linux-gnu-gcc-12' }}
CXX: ${{ matrix.arch == 'x86_64' && 'g++-12' || 'aarch64-linux-gnu-g++-12' }}
CMAKE_COLOR_DIAGNOSTICS: ON
CLICOLOR_FORCE: 1
CXXFLAGS: | # workaround for gcc bugs
-Wno-error=restrict -Wno-error=array-bounds -Wno-error=stringop-overread -Wno-error=missing-field-initializers
- name: Setup Cross Compile Toolchains for CLI
- name: Install
run: |
mkdir -p install
cmake --install build --prefix install --config RelWithDebInfo
- name: Setup cross compile toolchains for CLI
uses: ./src/maa-cli/.github/actions/setup
with:
os: ubuntu-latest
target_arch: ${{ matrix.arch }}
- name: Build CLI
@@ -306,7 +309,7 @@ jobs:
ln -sv usr/share/maa/maa Maa.AppDir/AppRun
mkdir -pv Maa.AppDir/usr/share/metainfo/
cp -v tools/AppImage/io.github.maaassistantarknights.maaassistantarknights.metainfo.xml Maa.AppDir/usr/share/metainfo/
wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
# appimagetool with embedded runtime does not support cross build, till AppImage/appimagetool 7a10b8
wget "https://github.com/AppImage/type2-runtime/releases/download/old/runtime-fuse3-${{ matrix.arch }}"
chmod a+x appimagetool-x86_64.AppImage
@@ -320,8 +323,8 @@ jobs:
cd install
tar czvf $GITHUB_WORKSPACE/release/MAA-${{ needs.meta.outputs.tag }}-linux-${{ matrix.arch }}.tar.gz .
- name: Upload MAA to Github
uses: actions/upload-artifact@v4
- name: Upload MAA to GitHub
uses: actions/upload-artifact@v5
with:
name: MAA-linux-${{ matrix.arch }}
path: |
@@ -329,99 +332,124 @@ jobs:
release/*.tar.gz
macOS-Core:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
name: Build Core for macOS
needs: meta
runs-on: macos-14
runs-on: macos-26
strategy:
matrix:
arch: [arm64, x86_64]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
show-progress: false
- name: Install Dependencies
run: |
brew install ninja
# Caching not necessary on macOS runner
- name: Bootstrap MaaDeps
run: |
[[ ${{ matrix.arch }} = "arm64" ]] && triplet="arm64-osx" || triplet="x64-osx"
python3 maadeps-download.py ${triplet}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Configure MaaCore
run: |
cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES='${{ matrix.arch }}' -DMAA_VERSION='${{ needs.meta.outputs.tag }}'
- name: Build MaaCore
run: |
cmake --build build
cmake --install build --prefix install
- name: Upload MAA to Github
uses: actions/upload-artifact@v4
with:
name: MAACore-macos-${{ matrix.arch }}
path: "install/*.dylib"
macOS-GUI:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
needs: [meta, macOS-Core]
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaUtils
# ninja 1.13.1 is already installed and up-to-date.
# - name: Install dependencies
# run: |
# brew install ninja
- name: Cache MaaDeps
id: cache-maadeps
uses: actions/cache@v4
continue-on-error: true
with:
path: ./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
- name: Bootstrap MaaDeps
run: |
python3 tools/maadeps-download.py ${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-osx
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Config cmake
run: |
cmake -B build -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_OSX_ARCHITECTURES='${{ matrix.arch }}' \
-DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}'
- name: Build
run: |
cmake --build build --config RelWithDebInfo --parallel $(sysctl -n hw.logicalcpu)
- name: Install
run: |
cmake --install build --prefix install --config RelWithDebInfo
- name: Upload MAA to GitHub
uses: actions/upload-artifact@v5
with:
name: MAACore-macos-${{ matrix.arch }}
path: "install/*.dylib"
macOS-GUI:
name: Build GUI for macOS
needs: [meta, macOS-Core]
runs-on: macos-26
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Install dependencies
if: startsWith(github.ref, 'refs/tags/v')
run: |
brew install graphicsmagick imagemagick
npm install -g create-dmg
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaMacGui
- name: Download Arm64 MAA from Github
uses: actions/download-artifact@v4
- name: Download MAA (arm64) from GitHub
uses: actions/download-artifact@v6
with:
name: MAACore-macos-arm64
path: install-arm64
- name: Download x64 MAA from Github
uses: actions/download-artifact@v4
- name: Download MAA (x64) from GitHub
uses: actions/download-artifact@v6
with:
name: MAACore-macos-x86_64
path: install-x86_64
- name: Install Developer ID Certificate
- name: Install Developer ID certificate
if: startsWith(github.ref, 'refs/tags/v')
uses: ssrobins/import-codesign-certs@v2
uses: apple-actions/import-codesign-certs@v6
with:
p12-file-base64: ${{ secrets.HGUANDL_SIGN_CERT_P12 }}
p12-password: ${{ secrets.HGUANDL_SIGN_CERT_PASSWD }}
- name: Setup Xcode Toolchain
if: true
run: |
sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
- name: Download provisioning profiles
if: startsWith(github.ref, 'refs/tags/v')
uses: apple-actions/download-provisioning-profiles@v5
with:
bundle-id: "com.hguandl.MeoAsstMac"
issuer-id: ${{ secrets.HGUANDL_APPSTORE_ISSUER }}
api-key-id: ${{ secrets.HGUANDL_APPSTORE_KEYID }}
api-private-key: ${{ secrets.HGUANDL_APPSTORE_KEY }}
- name: Build Universal Binaries
- name: Setup Xcode toolchain
if: false
run: |
sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer
- name: Build universal binaries
run: |
mkdir build
for LIB_NAME in $(ls install-arm64); do
lipo -create install-arm64/$LIB_NAME install-x86_64/$LIB_NAME -output build/$LIB_NAME
done
- name: Archive Runtime Files
- name: Archive runtime files
run: |
mkdir runtime && cd runtime
name='MAA-${{ needs.meta.outputs.tag }}-macos-runtime-universal'
@@ -433,8 +461,8 @@ jobs:
cd .. || exit 1
zip -yrX9 "$name.zip" "$name"
- name: Upload MAA runtime to Github
uses: actions/upload-artifact@v4
- name: Upload MAA runtime to GitHub
uses: actions/upload-artifact@v5
with:
name: MAA-macos-runtime-universal
path: runtime/MAA-${{ needs.meta.outputs.tag }}-macos-runtime-universal.zip
@@ -442,12 +470,13 @@ jobs:
- name: Build XCFramework
run: |
xcodebuild -create-xcframework -library libMaaCore.dylib -headers ../include -output MaaCore.xcframework
xcodebuild -create-xcframework -library libMaaUtils.dylib -output MaaUtils.xcframework
xcodebuild -create-xcframework -library libfastdeploy_ppocr.dylib -output fastdeploy_ppocr.xcframework
xcodebuild -create-xcframework -library libonnxruntime.*.dylib -output ONNXRuntime.xcframework
xcodebuild -create-xcframework -library libopencv*.dylib -output OpenCV.xcframework
working-directory: build
- name: Setup GUI Version
- name: Setup GUI version
run: |
RELEASE_COUNT=$(git ls-remote --tags origin | grep refs/tags/v | awk 'END{print NR}')
echo 'MARKETING_VERSION = ${{ needs.meta.outputs.tag }}' | tee src/MaaMacGui/Version.xcconfig
@@ -456,9 +485,9 @@ jobs:
- name: Build MAA
run: |
if ${{ startsWith(github.ref, 'refs/tags/v') }}; then
xcodebuild -project MeoAsstMac.xcodeproj -scheme MAA archive -archivePath MAA.xcarchive -configuration Release
xcodebuild -scheme MAA archive -archivePath MAA.xcarchive
else
xcodebuild CODE_SIGN_IDENTITY="-" DEVELOPMENT_TEAM="-" ONLY_ACTIVE_ARCH=NO -project MeoAsstMac.xcodeproj -scheme MAA archive -archivePath MAA.xcarchive -configuration Debug
xcodebuild CODE_SIGNING_ALLOWED=NO -scheme MAA archive -archivePath MAA.xcarchive
fi
working-directory: src/MaaMacGui
@@ -468,22 +497,20 @@ jobs:
xcodebuild -exportArchive -archivePath MAA.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath Export
working-directory: src/MaaMacGui
- name: Create Disk Image
- name: Create disk image
if: startsWith(github.ref, 'refs/tags/v')
run: |
mkdir Image
mv Export/MAA.app Image/
ln -s /Applications Image/
hdiutil create -volname MAA -srcfolder Image -ov -fs APFS -format ULMO MAA.dmg
create-dmg Export/MAA.app
mv MAA*.dmg MAA.dmg
working-directory: src/MaaMacGui
- name: Archive Debug Symbols
- name: Archive debug symbols
if: startsWith(github.ref, 'refs/tags/v')
run: |
ditto -c -k --keepParent MAA.app.dSYM MAA.app.dSYM.zip
working-directory: src/MaaMacGui/MAA.xcarchive/dSYMs
- name: Place Packages
- name: Place packages
if: startsWith(github.ref, 'refs/tags/v')
run: |
GIT_TAG=${{ needs.meta.outputs.tag }}
@@ -493,41 +520,47 @@ jobs:
mv src/MaaMacGui/MAA.dmg release/${APP_DMG}
mv src/MaaMacGui/MAA.xcarchive/dSYMs/MAA.app.dSYM.zip release/${APP_SYM}
- name: Notarize Image
- name: Notarize image
if: startsWith(github.ref, 'refs/tags/v')
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 15
command: |
cd release
echo "$APPSTORE_KEY" > "AuthKey_${APPSTORE_KEYID}.p8"
dmg="MAA-${{ needs.meta.outputs.tag }}-macos-universal.dmg"
xcrun notarytool submit -k "AuthKey_${APPSTORE_KEYID}.p8" -d "$APPSTORE_KEYID" -i "$ISSUER_ID" --wait ${dmg}
env:
APPSTORE_KEYID: ${{ secrets.HGUANDL_APPSTORE_KEYID }}
APPSTORE_KEY: ${{ secrets.HGUANDL_APPSTORE_KEY }}
ISSUER_ID: ${{ secrets.HGUANDL_APPSTORE_ISSUER }}
- name: Attach notarization tickets
if: startsWith(github.ref, 'refs/tags/v')
run: |
find . -name "*.dmg" | while read dmg; do
codesign -s "$NOTARY_TEAM" --timestamp ${dmg}
xcrun notarytool submit --apple-id "$NOTARY_USER" --password "$NOTARY_PASSWD" --team-id "$NOTARY_TEAM" --wait ${dmg}
xcrun stapler staple ${dmg}
done
env:
NOTARY_USER: ${{ secrets.HGUANDL_NOTARY_AAPL_ID }}
NOTARY_PASSWD: ${{ secrets.HGUANDL_NOTARY_PASSWD }}
NOTARY_TEAM: ${{ secrets.HGUANDL_SIGN_IDENTITY }}
dmg="MAA-${{ needs.meta.outputs.tag }}-macos-universal.dmg"
xcrun stapler staple ${dmg}
working-directory: release
- name: Upload MAA to Github
uses: actions/upload-artifact@v4
- name: Upload MAA to GitHub
uses: actions/upload-artifact@v5
with:
name: MAA-macos-universal
path: ${{ startsWith(github.ref, 'refs/tags/v') && 'release/MAA*' || 'src/MaaMacGui/MAA.xcarchive/**' }}
release:
# Prevent duplicate runs on organization branches with PRs
if: (github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name) && startsWith(github.ref, 'refs/tags/v')
name: Publish Release
if: startsWith(github.ref, 'refs/tags/v')
needs: [meta, windows, ubuntu, macOS-Core, macOS-GUI]
runs-on: ubuntu-latest
steps:
- name: Download MAA from Github
uses: actions/download-artifact@v4
- name: Download MAA from GitHub
uses: actions/download-artifact@v6
with:
path: assets
- name: Cleanup files
- name: Clean up files
run: |
mv -vf assets/changelog/* .
rm -rf assets/MAACore-macos-*
@@ -535,16 +568,35 @@ jobs:
# find . -type f | xargs mv -fvt .
find . -type f | while read f; do mv -fvt . $f; done
- name: Release to Github
uses: softprops/action-gh-release@v2
- name: Publish release to GitHub
uses: softprops/action-gh-release@v2.5.0
with:
body_path: CHANGELOG.md
files: |
assets/*
prerelease: ${{ needs.meta.outputs.prerelease != 'false' }}
- name: Trigger secondary workflows # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
- name: Trigger release distribution workflows
run: |
gh workflow run --repo $GITHUB_REPOSITORY release-ota
gh workflow run --repo $GITHUB_REPOSITORY release-package-distribution.yml \
-f release_tag="${{ needs.meta.outputs.tag }}" \
-f mirrorchyan=true \
-f winget=${{ needs.meta.outputs.prerelease == 'false' }}
gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release_note.yml
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger OTA release workflow # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
run: |
gh workflow run --repo $GITHUB_REPOSITORY release-ota.yml
env:
GH_TOKEN: ${{ secrets.MISTEOWORKFLOW }}
- name: Create issue on failure
if: failure()
uses: actions-cool/issues-helper@v3
with:
actions: "create-issue"
title: "Errors occured during release ${{ needs.meta.outputs.tag }}"
body: |
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

56
.github/workflows/codeql-core.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: CodeQL Code Analysis
on:
pull_request:
branches: ["dev"]
paths:
- ".github/workflows/codeql-core.yml"
- "3rdparty/include/**"
- "cmake/**"
- "CMakeLists.txt"
- "include/**"
- "src/**"
- "!**/*.md"
- "!**/*.xaml"
schedule:
- cron: "45 11 * * *" # Runs daily at 11:45 UTC
workflow_dispatch:
permissions:
actions: write
contents: read
packages: read
security-events: write
jobs:
analyze-manual:
name: Analyze MaaCore and MaaWpfGui
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Setup CodeQL
uses: github/codeql-action/init@v4
with:
languages: c-cpp,csharp
build-mode: manual
- name: Run CodeQL
uses: github/codeql-action/analyze@v4
- name: Delete old caches
shell: pwsh
run: |
$oldCaches = gh cache list --key codeql --order asc --json key | ConvertFrom-Json | Select-Object -SkipLast 1
foreach ($cache in $oldCaches) {
if ($cache.key) {
Write-Host "Deleting cache: $($cache.key)"
gh cache delete $cache.key
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

37
.github/workflows/codeql-wf.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: CodeQL Workflow Analysis
on:
pull_request:
branches: ["dev"]
paths:
- ".github/**/*.yml"
schedule:
- cron: "00 12 * * *" # Runs daily at 12:00 UTC
workflow_dispatch:
permissions:
actions: write
contents: read
security-events: write
jobs:
analyze-workflows:
name: Analyze GitHub Workflows
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Setup CodeQL for GitHub Actions
uses: github/codeql-action/init@v4
with:
languages: actions
build-mode: none
- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:multi-none"

View File

@@ -1,99 +0,0 @@
name: gen-changelog
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
workflow_dispatch:
jobs:
gen:
# startsWith 表达式不区分大小写
if: github.event.pull_request.draft == false && startsWith(github.event.pull_request.title, 'Release v')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: false
- name: Extract tag name
id: extract_tag
env:
PR_BODY: ${{ format('{0}/{1}', runner.temp, 'output' ) }}
run: |
tag_name=$(echo "${{ github.event.pull_request.title }}" | sed -E 's/(Release|release)//' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
echo "tag_name=$tag_name" >> $GITHUB_OUTPUT
pr_title="docs: Auto Update Changelogs of "$tag_name
echo "pr_title=$pr_title" >> $GITHUB_OUTPUT
latest_stable_tag=$(git tag -l 'v*' | grep -v '-' | sort -V | tail -n 1) # 上一个 stable 版本
newest_tag=$(git describe --tags --match "v*" --abbrev=0) # 最新版本
echo "latest_stable_tag=$latest_stable_tag" >> $GITHUB_OUTPUT
echo "newest_tag=$newest_tag" >> $GITHUB_OUTPUT
if [[ $tag_name == *-* ]]; then # 判断新版本是否为 beta 版本
latest=$newest_tag # 若是,则将 latest 参数设置为最新版本
else
latest=$latest_stable_tag # 若否,则设置为上一个 stable 版本
fi
echo "latest=$latest" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
echo '======='
echo 'Target RP: ${{ github.event.pull_request.html_url }}' >> $PR_BODY
echo '' >> $PR_BODY
echo '<details><summary>Debug info</summary>' >> $PR_BODY
echo '' >> $PR_BODY
echo '```' >> $PR_BODY
sed 's/=/: /1' $GITHUB_OUTPUT >> $PR_BODY
echo '```' >> $PR_BODY
echo '' >> $PR_BODY
echo '</details>' >> $PR_BODY
cat $PR_BODY
- name: Generate Changelog
run: |
git switch dev
python3 tools/ChangelogGenerator/changelog_generator.py --tag "${{ steps.extract_tag.outputs.tag_name }}" --latest "${{ steps.extract_tag.outputs.latest }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add files to git
run: |
git status
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add .
commit_msg="docs: Auto Generate Changelog of Release ""${{ steps.extract_tag.outputs.tag_name }}"
git commit -m "$commit_msg"
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
sign-commits: true
token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ steps.extract_tag.outputs.pr_title }}
body-path: ${{ format('{0}/{1}', runner.temp, 'output' ) }}
base: "dev"
branch: "changelog"
delete-branch: true
reviewers: |
AnnAngela
assignees: |
AnnAngela
- name: Add reviewers to release PR
uses: kentaro-m/auto-assign-action@v2.0.0
with:
configuration-path: ".github/release_reviewers.yaml"

View File

@@ -0,0 +1,153 @@
name: Issue Review
on:
issues:
types: [opened]
jobs:
check-then-close-or-fold:
name: Review and Modify Issues
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check for duplicate issues in last hour
id: duplicate-check
uses: actions/github-script@v8
with:
script: |
const oneHourAgo = new Date(Date.now() - 60 * 60 * 1000);
const currentIssueCreatedAt = new Date(context.payload.issue.created_at);
const issueAuthor = context.payload.issue.user.login;
// 重新获取该用户最近的 issues
const { data: userIssues } = await github.rest.issues.listForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
creator: issueAuthor,
state: 'all',
since: oneHourAgo.toISOString(),
per_page: 30
});
// 过滤出1小时内创建的其他 issues排除当前 issue
const recentIssues = userIssues.filter(issue => {
const issueCreatedAt = new Date(issue.created_at);
return issue.number !== context.issue.number &&
issueCreatedAt >= oneHourAgo &&
issueCreatedAt < currentIssueCreatedAt;
});
if (recentIssues.length > 0) {
// 给当前 issue 添加标签
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['rapid-submission']
});
// 给1小时内的其他 issues 也添加标签
for (const issue of recentIssues) {
try {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
labels: ['rapid-submission']
});
console.log(`Added rapid-submission label to issue #${issue.number}`);
} catch (error) {
console.log(`Failed to add label to issue #${issue.number}: ${error.message}`);
}
}
}
- name: Check for issue checkboxes
id: unread-checkbox-check
uses: actions/github-script@v8
with:
script: |
// 找不到###就算了
if (!/###([^#]+)###/.test(context.payload.issue.body)) {
return false;
}
var checkList = /###([^#]+)###/.exec(context.payload.issue.body)[1];
const UnreadRegexCn = /- \[x\]\s*.*?我.*未仔细阅读/i;
const UnreadRegexCn_ = /- \[ \]\s*.*?我.*未仔细阅读/i;
if (/- \[(x| )\]\s*.*?[\u4e00-\u9fa5]+/i.test(checkList)) { // 中英区分
if (UnreadRegexCn.test(checkList)) {
return true;
}
checkList = checkList.replace(UnreadRegexCn_, "");
return /- \[ \]\s*.*?[\u4e00-\u9fa5]+/i.test(checkList);
}
const texts = [
'I have checked all the options without carefully reading the content and believe this will not affect issue resolution.'];
return texts.some(text => new RegExp(`- \\[x\\]\\s*${text}`).test(context.payload.issue.body));
- name: Close low-quality issue
if: steps.unread-checkbox-check.outputs.result == 'true'
uses: actions/github-script@v8
with:
script: |
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
state: 'closed',
state_reason: 'not_planned'
});
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['low-quality-report']
});
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: '因为未阅读模板提示并正确提交,触发了自动关闭规则\n\nBecause the template prompt was not read and submitted correctly, the automatic closing rule was triggered'
});
- name: Fold checkboxes
if: steps.unread-checkbox-check.outputs.result == 'false'
uses: actions/github-script@v8
with:
script: |
const originalBody = context.payload.issue.body;
if (originalBody.includes('<details><summary>Checkboxes</summary>\n\n')) {
return;
}
const checkboxSectionRegex_cn_bug = /([\s\S]*?)(### 问题描述\n\n)/;
const checkboxSectionRegex_cn_feat = /([\s\S]*?)(### 说说你遇到的问题?\n\n)/;
const checkboxSectionRegex_en_bug = /([\s\S]*?)(### Description\n\n)/;
const checkboxSectionRegex_en_feat = /([\s\S]*?)(### The problems you have encountered?\n\n)/;
const foldedBody_cn_bug = originalBody.replace(
checkboxSectionRegex_cn_bug,
`<details><summary>Checkboxes</summary>\n\n$1\n\n</details>\n\n$2`
);
const foldedBody_cn_feat = foldedBody_cn_bug.replace(
checkboxSectionRegex_cn_feat,
`<details><summary>Checkboxes</summary>\n\n$1\n\n</details>\n\n$2`
);
const foldedBody_en_bug = foldedBody_cn_feat.replace(
checkboxSectionRegex_en_bug,
`<details><summary>Checkboxes</summary>\n\n$1\n\n</details>\n\n$2`
);
const foldedBody = foldedBody_en_bug.replace(
checkboxSectionRegex_en_feat,
`<details><summary>Checkboxes</summary>\n\n$1\n\n</details>\n\n$2`
);
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: foldedBody
});

View File

@@ -1,4 +1,4 @@
name: "Issue Checker"
name: Issue Triage
on:
issues:
@@ -15,9 +15,11 @@ permissions:
jobs:
triage:
name: Triage Issues and PRs
runs-on: ubuntu-latest
steps:
- uses: MaaAssistantArknights/issue-checker@v1.14
- name: Label issues and PRs Automatically
uses: MaaAssistantArknights/issue-checker@v1.14
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue-checker.yml

View File

@@ -1,4 +1,4 @@
name: Check Dead Links
name: Markdown Link Check
on:
schedule:
@@ -7,44 +7,51 @@ on:
branches:
- dev
paths:
- "**/*.md"
- "docs/**"
- ".github/workflows/markdown-checker.yml"
- "docs/**"
- "**/*.md"
pull_request:
branches:
- dev
paths:
- "**/*.md"
- "docs/**"
- ".github/workflows/markdown-checker.yml"
- "docs/**"
- "**/*.md"
workflow_dispatch:
jobs:
check-links:
if: github.repository_owner == 'MaaAssistantArknights' && github.event.head_commit.author.email != '41898282+github-actions[bot]@users.noreply.github.com'
name: Check Dead Links
if: github.repository_owner == 'MaaAssistantArknights' && github.event.head_commit.author.email != '41898282+github-actions[bot]@users.noreply.github.com'
runs-on: ubuntu-latest
permissions:
pull-requests: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Check dead links
- name: Cache lychee responses
uses: actions/cache@v4
continue-on-error: true
with:
path: .lycheecache
key: lychee-cache
- name: Check dead internal links
uses: lycheeverse/lychee-action@v2
with:
# 仅检查内部链接和 Github 相关链接
# 仅检查内部链接,排除所有外部链接
args: >
--verbose --no-progress --cache --max-cache-age 1d
--verbose --no-progress
--cache --max-cache-age 1d --cache-exclude-status '429, 500..599'
--exclude 'https?://.*'
--include 'https?://github\.com/.*'
--include 'https?://raw\.githubusercontent\.com/.*'
--include 'https?://user-images\.githubusercontent\.com/.*'
--exclude-path 'docs/zh-tw/manual/introduction/introduction_old.md'
--exclude-path 'docs/ja-jp/manual/introduction/introduction_old.md'
--exclude 'files/MAA_Runtime_Fix_Pwsh.ps1$'
-- './docs/**/*.md' './README.md'
- name: Comment (only for PR)

View File

@@ -0,0 +1,19 @@
name: Release Note Distribution
on:
workflow_dispatch:
release:
types: [edited]
jobs:
mirrorchyan:
name: Upload to MirrorChyan
runs-on: macos-latest
steps:
- name: Upload release notes to MirrorChyan
uses: MirrorChyan/release-note-action@v1
with:
mirrorchyan_rid: MAA
upload_token: ${{ secrets.MirrorChyanUploadToken }}
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,14 +1,12 @@
name: Optimize PNG Templates
name: PNG Image Optimization
on:
push:
branches:
- "dev"
paths:
- "resource/**/*.png"
- "docs/.vuepress/public/images/**"
- "website/apps/web/public/**"
- "website/apps/web/src/assets/links/**"
- "resource/**/*.png"
workflow_dispatch:
inputs:
commit_message:
@@ -18,12 +16,13 @@ on:
jobs:
optimize-png:
name: Optimize PNG Images
# Skip workflow to prevent double consecutive runs
# Skip workflow on PR merges
if: github.repository_owner == 'MaaAssistantArknights' && ${{ github.event.head_commit.author.email != '41898282+github-actions[bot]@users.noreply.github.com' }}
runs-on: ubuntu-latest
steps:
- name: Check for direct push
- name: Check if it is a direct push
id: check_push
run: |
if [[ "${{ github.event_name }}" != "workflow_dispatch" ]]; then
@@ -44,27 +43,29 @@ jobs:
- name: Checkout repository
if: steps.check_push.outputs.is_pr != 'True'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false
persist-credentials: false
- name: Setup python
if: steps.check_push.outputs.is_pr != 'True'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Cache Python packages
id: cache_python
if: steps.check_push.outputs.is_pr != 'True' && always()
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}/lib/python3.11/site-packages
key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }}
# - name: Cache Python packages
# id: cache_python
# if: steps.check_push.outputs.is_pr != 'True' && always()
# uses: actions/cache@v4
# continue-on-error: true
# with:
# path: ${{ env.pythonLocation }}/lib/python3.11/site-packages
# key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }}
- name: Install dependencies
if: steps.check_push.outputs.is_pr != 'True' && steps.cache_python.outputs.cache-hit != 'true'
# if: steps.check_push.outputs.is_pr != 'True' && steps.cache_python.outputs.cache-hit != 'true'
if: steps.check_push.outputs.is_pr != 'True'
run: |
pip install -r tools/OptimizeTemplates/requirements.txt
@@ -74,7 +75,7 @@ jobs:
with:
crate: oxipng
- name: Run optimize_templates
- name: Optimize png images
if: steps.check_push.outputs.is_pr != 'True'
run: |
python3 tools/OptimizeTemplates/optimize_templates.py
@@ -101,7 +102,7 @@ jobs:
fi
- name: Push changes
if: steps.check_push.outputs.is_pr != 'True' && steps.commit_changes.outputs.have_commits == 'True'
if: steps.check_push.outputs.is_pr != 'True' && steps.commit_changes.outputs.have_commits == 'True' && github.repository_owner == 'MaaAssistantArknights'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MAA_RESOURCE_SYNC }}

View File

@@ -1,4 +1,4 @@
name: Auto Tag Release PR
name: Release Version Tagging
on:
pull_request:
@@ -9,27 +9,29 @@ on:
workflow_dispatch:
inputs:
tag:
description: "Name of the tag to create for the release"
type: string
required: true
jobs:
auto_tag_release:
name: Tag Release
if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.title, 'Release v') || startsWith(github.event.pull_request.title, 'release v')) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ secrets.MAARELEASE_RELEASE }}
- name: Git config
- name: Configure git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Extract tag name
- name: Determine tag name
id: extract_tag
run: |
if ${{ github.event_name != 'workflow_dispatch' }}; then
@@ -39,12 +41,12 @@ jobs:
echo "tag_name=${{ inputs.tag }}" >> $GITHUB_OUTPUT
fi
- name: Create release tag and push
- name: Create and push release tag
run: |
git tag -a "${{ steps.extract_tag.outputs.tag_name }}" -m "${{ steps.extract_tag.outputs.tag_name }}" -f
git push origin "${{ steps.extract_tag.outputs.tag_name }}"
- name: Merge into dev and push
- name: Merge tag into dev and push
run: |
git switch dev
git merge "${{ steps.extract_tag.outputs.tag_name }}"

View File

@@ -1,4 +1,4 @@
name: PR Checker
name: PR Commit Check
on:
pull_request_target:
@@ -6,11 +6,12 @@ on:
jobs:
check_commit_name_in_pr:
name: Check Commits in PR
if: ${{ !github.event.pull_request.merged && github.base_ref != 'master' }}
runs-on: ubuntu-latest
steps:
- name: Cleanup Previous Comment
uses: actions/github-script@v7
- name: Clean up previous comment
uses: actions/github-script@v8
with:
script: |
const { data: comments } = await github.rest.issues.listComments({
@@ -27,8 +28,8 @@ jobs:
comment_id: previousComment.id
});
}
- name: Check Commits
uses: actions/github-script@v7
- name: Check commits
uses: actions/github-script@v8
with:
script: |
const { data: commits } = await github.rest.pulls.listCommits({
@@ -38,7 +39,7 @@ jobs:
per_page: 100
});
const regex = /^((build|chore|ci|docs?|feat!?|fix|perf|refactor|rft|style|test|i18n|typo|debug)[\:\.\(\,]|[Rr]evert|[Rr]elease)/;
const regex = /^((build|chore|ci|docs?|feat!?|fix|perf|refactor|rft|style|test|i18n|typo|debug)[\:\.\(\,]|[Rr]evert|[Rr]elease|[Rr]eapply)/;
const invalidCommits = commits.filter(commit => !regex.test(commit.commit.message) || commit.parents.length > 1);
console.log(`Checked ${commits.length} commit(s)`);

View File

@@ -1,4 +1,4 @@
name: release-nightly-ota
name: Release Pipeline (Nightly OTA)
on:
schedule:
@@ -16,40 +16,44 @@ on:
limit_maa:
description: "Number of releases to fetch from MaaAssistantArknights"
required: true
default: "10"
default: 10
type: number
limit_mr:
limit_maarelease:
description: "Number of releases to fetch from MaaRelease"
required: true
default: "10"
default: 10
type: number
jobs:
build-win-nightly:
name: Build Nightly for Windows
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: windows-latest
strategy:
matrix:
msbuild_target: [x64]
arch: [x64]
fail-fast: false
env:
MAABUILDER_TARGET_PLATFORM: ${{ matrix.msbuild_target }}
outputs:
tag: ${{ steps.set_tag.outputs.tag }}
pre_version: ${{ steps.set_tag.outputs.pre_version }}
main_tag_name: ${{ steps.push_main_tag.outputs.main_tag_name }}
changelog: ${{ steps.read_changelog.outputs.content }}
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
# repository: 'MaaAssistantArknights/MaaAssistantArknights'
#ref: ${{ inputs.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 250
fetch-tags: true
- name: Fetch tags
run: |
git fetch --depth=250 --tags
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaUtils
git submodule update --init --depth 1 3rdparty/EmulatorExtras
- name: Checkout ref (if provided)
@@ -63,6 +67,9 @@ jobs:
# Fetch the latest tag from the repository
$latest_tag = git describe --tags --abbrev=0
Write-Output "Previous Tag: $latest_tag"
Write-Output "latest_tag=$latest_tag" >> $env:GITHUB_OUTPUT
# Check for changes between the latest tag and HEAD
$recent_changes = git log "$latest_tag..HEAD" --oneline
@@ -76,9 +83,6 @@ jobs:
Write-Output "cancel_run=false" >> $env:GITHUB_ENV
}
Write-Output "Previous Tag: $latest_tag"
Write-Output "latest_tag=$latest_tag" >> $env:GITHUB_OUTPUT
# Get the full description of the current commit
$described = git describe --tags --long --match 'v*'
Write-Output "New Described: $described"
@@ -137,7 +141,7 @@ jobs:
gh run watch ${{ github.run_id }}
- name: Generate Changelog
- name: Generate changelog
id: generate_changelog
run: |
python3 tools/ChangelogGenerator/changelog_generator.py --latest "${{ steps.set_tag.outputs.latest_tag }}" --tag "${{ steps.set_tag.outputs.tag }}"
@@ -159,41 +163,57 @@ jobs:
gh run watch ${{ github.run_id }}
- name: Read Changelog to variable
- name: Read changelog to variable
id: read_changelog
uses: juliangruber/read-file-action@v1
with:
path: ./changelog_notag.md
- name: Cache .nuke/temp, ~/.nuget/packages
id: cache-nuget
uses: actions/cache@v4
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ matrix.msbuild_target }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
- name: Restore dependencies
if: steps.cache-nuget.outputs.cache-hit != 'true'
run: dotnet restore
- name: Cache MaaDeps
id: cache-maadeps
uses: actions/cache@v4
continue-on-error: true
with:
path: |
./MaaDeps
key: ${{ runner.os }}-${{ matrix.msbuild_target }}-maadeps-${{ hashFiles('./maadeps-download.py') }}
./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-${{ matrix.arch }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
- name: Bootstrap MaaDeps
if: steps.cache-maadeps.outputs.cache-hit != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 maadeps-download.py ${{ matrix.msbuild_target }}-windows
python3 tools/maadeps-download.py ${{ matrix.arch }}-windows
- name: Taggify Version
- name: Config cmake
run: |
mkdir -p build
cmake -B build ${{ matrix.arch == 'arm64' && '-A ARM64' }} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMAADEPS_TRIPLET='maa-${{ matrix.arch }}-windows' -DINSTALL_RESOURCE=ON -DINSTALL_PYTHON=ON -DMAA_HASH_VERSION='${{ steps.set_tag.outputs.tag }}' -DBUILD_WPF_GUI=OFF
- name: Build
run: |
cmake --build build --config RelWithDebInfo --parallel $env:NUMBER_OF_PROCESSORS
- name: Install
run: |
mkdir -p install
cmake --install build --prefix install --config RelWithDebInfo
- name: Cache .nuke/temp, ~/.nuget/packages
id: cache-nuget
uses: actions/cache@v4
continue-on-error: true
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ matrix.arch }}-nuget-${{ hashFiles('**/*.csproj') }}
- name: Restore dependencies
if: steps.cache-nuget.outputs.cache-hit != 'true'
run: dotnet restore src/MaaWpfGui/MaaWpfGui.csproj
- name: Taggify version for csproj
run: |
$csprojPath = "src/MaaWpfGui/MaaWpfGui.csproj"
$csprojPath = Resolve-Path -Path $csprojPath
@@ -203,8 +223,6 @@ jobs:
} else {
$match = "0.0.1"
}
echo "Tag value: $tag"
echo "Version value: $match"
[xml]$csproj = Get-Content -Path $csprojPath
$node = $csproj.Project.PropertyGroup | where {$_.ApplicationVersion -ne $null}
$node.InformationalVersion = $tag
@@ -212,25 +230,38 @@ jobs:
$node.FileVersion = $match
$node.AssemblyVersion = $match
$csproj.Save($csprojPath)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run './build.cmd DevBuild'
- name: Publish WPF GUI
run: |
$env:GITHUB_WORKFLOW = 'dev-build-win' # pretend this is a dev-build-win workflow
$env:MAA_BUILDER_MAA_VERSION = "${{ steps.set_tag.outputs.tag }}"
echo "tag: " $env:MAA_BUILDER_MAA_VERSION
dotnet publish src/MaaWpfGui/MaaWpfGui.csproj -c Release -p:Platform=${{ matrix.arch == 'arm64' && 'ARM64' || 'x64' }} -o install
./build.cmd DevBuild
env:
Reason: "Build nightly version"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Collect PDB files
run: |
cp build/bin/RelWithDebInfo/*.pdb install/
Compress-Archive -Path install/*.pdb -DestinationPath install/MAAComponent-DebugSymbol-${{ steps.set_tag.outputs.tag }}-win-${{ matrix.arch }}.zip
continue-on-error: true
- name: Upload MAA to Github
uses: actions/upload-artifact@v4
- name: Upload PDB files
uses: actions/upload-artifact@v5
with:
name: MAA-win-${{ matrix.msbuild_target }}
path: artifacts
name: MAAComponent-DebugSymbol-win-${{ matrix.arch }}
path: install/MAAComponent-DebugSymbol-${{ steps.set_tag.outputs.tag }}-win-${{ matrix.arch }}.zip
- name: Organize install files
shell: bash
run: |
rm -rf install/MAAComponent-DebugSymbol-*.zip
rm -rf install/*.pdb
rm -rf install/msvc-debug
rm -rf install/*.h
cp tools/DependencySetup_依赖库安装.bat install
- name: Upload MAA to GitHub
uses: actions/upload-artifact@v5
with:
name: MAA-win-${{ matrix.arch }}
path: install
- name: Push tag to main repo
id: push_main_tag
@@ -244,12 +275,13 @@ jobs:
echo "main_tag_name=$main_tag_name" >> $env:GITHUB_OUTPUT
push-tag:
name: Push Tag to MaaRelease
if: github.repository_owner == 'MaaAssistantArknights'
needs: build-win-nightly
runs-on: ubuntu-latest
steps:
- name: Fetch MaaRelease
uses: actions/checkout@v4
- name: Checkout MaaRelease
uses: actions/checkout@v6
with:
repository: ${{ format('{0}/{1}', github.repository_owner, 'MaaRelease') }}
fetch-depth: 0
@@ -267,6 +299,7 @@ jobs:
git push --tags origin HEAD:refs/tags/${{ needs.build-win-nightly.outputs.tag }}
make-ota:
name: Build and Upload Nightly OTA for Windows
if: github.repository_owner == 'MaaAssistantArknights'
needs: [build-win-nightly, push-tag]
strategy:
@@ -274,24 +307,24 @@ jobs:
target: [x64]
runs-on: ubuntu-latest
steps:
- name: Echo tag version
- name: Show tag version
run: |
echo ${{ needs.build-win-nightly.outputs.tag }}
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
path: MaaAssistantArknights
token: ${{ secrets.MAARELEASE_RELEASE }}
show-progress: false
- name: Download MAA from Github
uses: actions/download-artifact@v4
- name: Download MAA from GitHub
uses: actions/download-artifact@v6
with:
name: MAA-win-${{ matrix.target }}
path: ${{ format('{0}/{1}', 'build-ota', needs.build-win-nightly.outputs.tag) }}
- name: Fetch release info
- name: Fetch release information
run: |
mkdir -pv build-ota && cd build-ota
@@ -300,12 +333,12 @@ jobs:
limit_maa=${limit_maa%.*}
echo "Parsed limit_maa: $limit_maa"
limit_mr=${{ inputs.limit_mr || 10 }}
limit_mr=${limit_mr%.*}
echo "Parsed limit_mr: $limit_mr"
limit_maarelease=${{ inputs.limit_maarelease || 10 }}
limit_maarelease=${limit_maarelease%.*}
echo "Parsed limit_maarelease: $limit_maarelease"
gh release list --repo 'MaaAssistantArknights/MaaAssistantArknights' --limit $limit_maa | tee ./release_maa.txt
gh release list --repo "${{ github.repository_owner }}/MaaRelease" --limit $limit_mr | tee ./release_mr.txt
gh release list --repo "${{ github.repository_owner }}/MaaRelease" --limit $limit_maarelease | tee ./release_mr.txt
echo ${{ needs.build-win-nightly.outputs.tag }} > ./config
cat ./release_maa.txt | awk '{ print $1 }' > ./tags_maa.txt
@@ -325,8 +358,7 @@ jobs:
cd build-ota
pushd ${{ needs.build-win-nightly.outputs.tag }}
zip -d *.zip '*.lib' '*.pdb' '*.exp' '*.config' '*.xml'
mv *.zip MAA-${{ env.release_tag }}-win-${{ matrix.target }}.zip
zip -r MAA-${{ env.release_tag }}-win-${{ matrix.target }}.zip ./*
popd
$GITHUB_WORKSPACE/MaaAssistantArknights/tools/OTAPacker/build.sh 'MaaAssistantArknights/MaaAssistantArknights' ./config ${{ matrix.target }} "${{ github.repository_owner }}/MaaRelease"
@@ -354,5 +386,7 @@ jobs:
- name: Setup release mirror
run: |
gh workflow --repo MaaAssistantArknights/MaaRelease run release-mirrors.yml
gh workflow --repo MaaAssistantArknights/MaaRelease run mirrorchyan_alpha.yml
gh workflow --repo MaaAssistantArknights/MaaRelease run mirrorchyan_alpha_release_note.yml
env:
GH_TOKEN: ${{ secrets.MISTEOWORKFLOW }}

View File

@@ -1,4 +1,4 @@
name: release-ota
name: Release Pipeline (OTA)
on:
release:
@@ -9,12 +9,12 @@ on:
limit:
description: Number of releases to fetch from MaaAssistantArknights, 2 at least
required: false
default: "31"
default: 31
type: number
limit_2:
description: Number of releases to fetch from MaaRelease
required: false
default: "30"
default: 30
type: number
env:
@@ -22,10 +22,11 @@ env:
jobs:
create-tag:
name: Create OTA Release Tag in MaaRelease
runs-on: ubuntu-latest
steps:
- name: Fetch MaaRelease
uses: actions/checkout@v4
- name: Checkout MaaRelease
uses: actions/checkout@v6
with:
show-progress: false
repository: ${{ format('{0}/{1}', github.repository_owner, 'MaaRelease') }}
@@ -33,7 +34,7 @@ jobs:
fetch-depth: 0
token: ${{ secrets.MAARELEASE_RELEASE }}
- name: Fetch release info
- name: Fetch release information
id: fetchReleaseInfo
run: |
mkdir -pv build-ota && cd build-ota
@@ -76,7 +77,7 @@ jobs:
PUSH_REMOTE: https://github-actions[bot]:${{ secrets.MAARELEASE_RELEASE }}@github.com/${{ github.repository_owner }}/MaaRelease
- name: Upload release config to GitHub
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: MaaReleaseConfig
path: ./build-ota/config
@@ -86,6 +87,7 @@ jobs:
release_tag: ${{ steps.fetchReleaseInfo.outputs.release_tag }}
make-ota:
name: Build and Upload OTA for Windows
needs: create-tag
runs-on: ubuntu-latest
strategy:
@@ -94,10 +96,13 @@ jobs:
- x64
steps:
- name: Download release config
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: MaaReleaseConfig
path: ./MaaReleaseConfig
- name: Fetch MaaRelease
uses: actions/checkout@v4
- name: Checkout MaaRelease
uses: actions/checkout@v6
with:
show-progress: false
repository: ${{ format('{0}/{1}', github.repository_owner, 'MaaRelease') }}
@@ -105,8 +110,8 @@ jobs:
fetch-depth: 0
token: ${{ secrets.MAARELEASE_RELEASE }}
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
path: MaaAssistantArknights
@@ -134,11 +139,21 @@ jobs:
prerelease: ${{ fromJSON(needs.create-tag.outputs.prerelease) }}
overwrite: true
- name: Create issue on failure
if: failure()
uses: actions-cool/issues-helper@v3
with:
actions: "create-issue"
title: "Failed to make OTA release for Windows"
body: |
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
make-ota-mac:
name: Build and Upload OTA for macOS
needs: create-tag
runs-on: macos-14
steps:
- name: Fetch release info
- name: Fetch release information
run: gh release list --repo 'MaaAssistantArknights/MaaAssistantArknights' --limit ${{ inputs.limit || 31 }} | tee ./release_maa.txt
- name: Download release packages
@@ -154,7 +169,7 @@ jobs:
run: |
gh release download --repo 'sparkle-project/Sparkle' --clobber -O - -p 'Sparkle-*.tar.xz' | tar xf -
- name: Generate Update Packages
- name: Generate update packages
run: |
if [ $(head -n 1 release_maa.txt | awk '{ print $2 }') = 'Pre-release' ]; then
echo ${{ secrets.SPARKLE_PRIV_KEY }} | ./bin/generate_appcast --channel beta --ed-key-file - ./packages
@@ -162,7 +177,7 @@ jobs:
echo ${{ secrets.SPARKLE_PRIV_KEY }} | ./bin/generate_appcast --ed-key-file - ./packages
fi
- name: Cleanup files
- name: Clean up files
run: |
find ./packages -type f ! \( -name 'MAA-${{ needs.create-tag.outputs.release_tag }}-macos-universal.dmg' -o -name '*.delta' -o -name '*.xml' \) -print -delete
@@ -177,7 +192,17 @@ jobs:
prerelease: ${{ fromJSON(needs.create-tag.outputs.prerelease) }}
overwrite: true
- name: Create issue on failure
if: failure()
uses: actions-cool/issues-helper@v3
with:
actions: "create-issue"
title: "Failed to make OTA release for macOS"
body: |
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
release:
name: Publish to Release Mirrors
needs:
- make-ota
- make-ota-mac

View File

@@ -0,0 +1,151 @@
name: Release Package Distribution
on:
workflow_dispatch:
inputs:
release_tag:
description: "Release Tag (empty for latest)"
type: string
required: false
default: ""
mirrorchyan:
description: "Upload to MirrorChyan"
type: boolean
required: false
default: true
winget:
description: "Upload to WinGet"
type: boolean
required: false
default: true
env:
RELEASE_TAG_RAW: ${{ github.event.inputs.release_tag || 'latest' }}
jobs:
meta:
name: Define Release Tag
if: ${{ github.repository_owner == 'MaaAssistantArknights' }}
runs-on: ubuntu-latest
outputs:
RELEASE_TAG: ${{ steps.define_release_tag.outputs.RELEASE_TAG }}
steps:
- name: Get latest release tag
id: get_latest
if: ${{ env.RELEASE_TAG_RAW == 'latest' }}
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
token: ${{ secrets.GITHUB_TOKEN }}
excludes: "draft"
- name: Define release tag
id: define_release_tag
run: |
if [ "${{ env.RELEASE_TAG_RAW }}" == "latest" ]; then
echo "RELEASE_TAG=${{ steps.get_latest.outputs.release }}" >> $GITHUB_OUTPUT
else
echo "RELEASE_TAG=${{ env.RELEASE_TAG_RAW }}" >> $GITHUB_OUTPUT
fi
mirrorchyan:
name: Upload to MirrorChyan
needs: meta
if: ${{ github.event.inputs.mirrorchyan == 'true' }}
runs-on: macos-latest
continue-on-error: true
env:
RELEASE_TAG: ${{ needs.meta.outputs.RELEASE_TAG }}
steps:
- name: Upload MAA win x64
uses: MirrorChyan/uploading-action@v1
continue-on-error: true
with:
filetype: latest-release
filename: "*MAA-*-win-x64.zip"
tag: ${{ env.RELEASE_TAG }}
mirrorchyan_rid: MAA
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}
os: win
arch: x64
- name: Upload MAA win arm64
uses: MirrorChyan/uploading-action@v1
continue-on-error: true
with:
filetype: latest-release
filename: "*MAA-*-win-arm64.zip"
tag: ${{ env.RELEASE_TAG }}
mirrorchyan_rid: MAA
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}
os: win
arch: arm64
- name: Upload MAA macos arm64
uses: MirrorChyan/uploading-action@v1
continue-on-error: true
with:
filetype: latest-release
filename: "MAA-*-macos-universal.dmg"
extra_zip: true
tag: ${{ env.RELEASE_TAG }}
mirrorchyan_rid: MAA
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}
os: macos
arch: arm64
- name: Upload MAA macos x64
uses: MirrorChyan/uploading-action@v1
continue-on-error: true
with:
filetype: latest-release
filename: "MAA-*-macos-universal.dmg"
extra_zip: true
tag: ${{ env.RELEASE_TAG }}
mirrorchyan_rid: MAA
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}
os: macos
arch: x64
winget:
name: Upload to WinGet
needs: meta
if: ${{ github.event.inputs.winget == 'true' }}
runs-on: windows-latest
continue-on-error: true
env:
RELEASE_TAG: ${{ needs.meta.outputs.RELEASE_TAG }}
steps:
- name: Upload MAA to WinGet
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: MaaAssistantArknights.MaaAssistantArknights
version: ""
installers-regex: "-win-"
max-versions-to-keep: 0
release-tag: ${{ env.RELEASE_TAG }}
fork-user: MaaAssistantArknights
token: ${{ secrets.MAABOT_WINGET_TOKEN }}

View File

@@ -0,0 +1,111 @@
name: Release Preparation
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
workflow_dispatch:
jobs:
generate-changelog:
name: Generate Changelog
# startsWith 表达式不区分大小写
if: github.event.pull_request.draft == false && startsWith(github.event.pull_request.title, 'Release v')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
show-progress: false
- name: Extract release information
id: extract_tag
env:
PR_BODY: ${{ format('{0}/{1}', runner.temp, 'output' ) }}
run: |
tag_name=$(echo "${{ github.event.pull_request.title }}" | sed -E 's/(Release|release)//' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
echo "tag_name=$tag_name" >> $GITHUB_OUTPUT
pr_title="docs: Auto Update Changelogs of "$tag_name
echo "pr_title=$pr_title" >> $GITHUB_OUTPUT
latest_stable_tag=$(git tag -l 'v*' | grep -v '-' | sort -V | tail -n 1) # 上一个 stable 版本
newest_tag=$(git describe --tags --match "v*" --abbrev=0) # 最新版本
echo "latest_stable_tag=$latest_stable_tag" >> $GITHUB_OUTPUT
echo "newest_tag=$newest_tag" >> $GITHUB_OUTPUT
if [[ $tag_name == *-* ]]; then # 判断新版本是否为 beta 版本
latest=$newest_tag # 若是,则将 latest 参数设置为最新版本
else
latest=$latest_stable_tag # 若否,则设置为上一个 stable 版本
fi
echo "latest=$latest" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
echo '======='
echo 'Target PR: ${{ github.event.pull_request.html_url }}' >> $PR_BODY
echo '' >> $PR_BODY
echo '<details><summary>Debug information</summary>' >> $PR_BODY
echo '' >> $PR_BODY
echo '```' >> $PR_BODY
sed 's/=/: /1' $GITHUB_OUTPUT >> $PR_BODY
echo '```' >> $PR_BODY
echo '' >> $PR_BODY
echo '</details>' >> $PR_BODY
cat $PR_BODY
- name: Generate changelog
run: |
git switch dev
python3 tools/ChangelogGenerator/changelog_generator.py --tag "${{ steps.extract_tag.outputs.tag_name }}" --latest "${{ steps.extract_tag.outputs.latest }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes
run: |
git status
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add .
commit_msg="docs: Auto Generate Changelog of Release ""${{ steps.extract_tag.outputs.tag_name }}"
git commit -m "$commit_msg"
- name: Create changelog PR
uses: peter-evans/create-pull-request@v7
with:
sign-commits: true
token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ steps.extract_tag.outputs.pr_title }}
body-path: ${{ format('{0}/{1}', runner.temp, 'output' ) }}
base: "dev"
branch: "changelog"
delete-branch: true
reviewers: |
AnnAngela
assignees: |
AnnAngela
- name: Assign reviewers to release PR
uses: kentaro-m/auto-assign-action@v2.0.0
with:
configuration-path: ".github/release_reviewers.yaml"
update-submodules:
name: Update Submodules
if: github.event.pull_request.draft == false && startsWith(github.event.pull_request.title, 'Release v')
runs-on: ubuntu-latest
steps:
- name: Trigger submodule update workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run --repo $GITHUB_REPOSITORY update-submodules.yml

View File

@@ -1,4 +1,4 @@
name: res-update-game
name: Game Resource Update
on:
schedule:
@@ -12,11 +12,12 @@ on:
jobs:
clone-resources-official:
name: Download Official Resources
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Clone ArknightsGameResource for Official
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false
repository: yuanyan3060/ArknightsGameResource
@@ -35,67 +36,68 @@ jobs:
/gamedata/excel/roguelike_topic_table.json
/gamedata/excel/activity_table.json
- name: Upload Official
uses: actions/upload-artifact@v4
- name: Upload Official resources
uses: actions/upload-artifact@v5
with:
name: official
path: ./Official
compression-level: 0
clone-resources-overseas:
name: Download Overseas Resources
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Clone ArknightsGameResource_Yostar for Overseas
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false
repository: Kengxxiao/ArknightsGameData_Yostar
ref: main
repository: ArknightsAssets/ArknightsGamedata
ref: master
path: ./Overseas
sparse-checkout-cone-mode: false
sparse-checkout: |
/en_US/gamedata/excel/item_table.json
/en_US/gamedata/excel/building_data.json
/en_US/gamedata/excel/range_table.json
/en_US/gamedata/excel/character_table.json
/en_US/gamedata/excel/gacha_table.json
/en_US/gamedata/excel/roguelike_topic_table.json
/en_US/gamedata/excel/activity_table.json
/ja_JP/gamedata/excel/item_table.json
/ja_JP/gamedata/excel/building_data.json
/ja_JP/gamedata/excel/range_table.json
/ja_JP/gamedata/excel/character_table.json
/ja_JP/gamedata/excel/gacha_table.json
/ja_JP/gamedata/excel/roguelike_topic_table.json
/ja_JP/gamedata/excel/activity_table.json
/ko_KR/gamedata/excel/item_table.json
/ko_KR/gamedata/excel/building_data.json
/ko_KR/gamedata/excel/range_table.json
/ko_KR/gamedata/excel/character_table.json
/ko_KR/gamedata/excel/gacha_table.json
/ko_KR/gamedata/excel/roguelike_topic_table.json
/ko_KR/gamedata/excel/activity_table.json
/en/gamedata/excel/item_table.json
/en/gamedata/excel/building_data.json
/en/gamedata/excel/range_table.json
/en/gamedata/excel/character_table.json
/en/gamedata/excel/gacha_table.json
/en/gamedata/excel/roguelike_topic_table.json
/en/gamedata/excel/activity_table.json
/jp/gamedata/excel/item_table.json
/jp/gamedata/excel/building_data.json
/jp/gamedata/excel/range_table.json
/jp/gamedata/excel/character_table.json
/jp/gamedata/excel/gacha_table.json
/jp/gamedata/excel/roguelike_topic_table.json
/jp/gamedata/excel/activity_table.json
/kr/gamedata/excel/item_table.json
/kr/gamedata/excel/building_data.json
/kr/gamedata/excel/range_table.json
/kr/gamedata/excel/character_table.json
/kr/gamedata/excel/gacha_table.json
/kr/gamedata/excel/roguelike_topic_table.json
/kr/gamedata/excel/activity_table.json
- name: Upload Official
uses: actions/upload-artifact@v4
- name: Upload Overseas resources
uses: actions/upload-artifact@v5
with:
name: overseas
path: ./Overseas
compression-level: 0
clone-resources-txwy:
name: Download Taiwan Resources
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Clone arknights-toolbox-update for Taiwan
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false
repository: arkntools/arknights-toolbox-update
ref: data-tw
repository: arkntools/arknights-data-tw-for-maa
ref: main
path: ./excel
token: ${{ secrets.ARKNTOOLS_MAA_RESOURCE_UPDATER}}
- name: Download stages.json from Penguin Stats
run: |
@@ -105,34 +107,45 @@ jobs:
parameters=("CN" "US" "JP" "KR")
pids=()
for param in "${parameters[@]}"; do
{
if curl -s -o "stages_${param}.json" "${baseUrl}${param}"; then
if curl -f -s -o "stages_${param}.json" "${baseUrl}${param}"; then
echo "Successfully fetched data for ${param}"
else
echo "Failed to fetch data for ${param}" >&2
exit 1
fi
} &
pids+=($!)
done
wait
- name: Upload Official
uses: actions/upload-artifact@v4
failed=0
for pid in "${pids[@]}"; do
if ! wait "$pid"; then
failed=1
fi
done
if [ $failed -ne 0 ]; then
echo "One or more downloads failed" >&2
exit 1
fi
- name: Upload Taiwan resources
uses: actions/upload-artifact@v5
with:
name: txwy
path: ./excel
compression-level: 0
update-game-resources:
# In case of rate limitations on the runners/instances, add dependency, by removing the comment
# needs: [clone-resources-official, clone-resources-overseas, clone-resources-txwy]
name: Update Game Resources
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: windows-latest
runs-on: macos-latest
steps:
- name: Checkout MAA
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
# TL;DR https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/9872#issuecomment-2251378371
# actions/checkout uses ${{ secrets.GITHUB_TOKEN }} by default, meaning all steps will inherit it
@@ -140,179 +153,167 @@ jobs:
show-progress: false
fetch-depth: 3
- name: Restore ResourceUpdater.exe from cache
id: cache-resupd
- name: Fetch submodules
run: |
git submodule update --init --depth 1 src/MaaUtils
- name: Restore ResourceUpdater from cache
id: resupd-cache
uses: actions/cache/restore@v4
continue-on-error: true
with:
key: Resource-updater-${{ hashFiles('./tools/ResourceUpdater/main.cpp') }}
key: ResourceUpdater-${{ runner.os }}-${{ hashFiles('tools/ResourceUpdater/main.cpp') }}
path: |
./tools/ResourceUpdater/x64/Release/opencv_world4_maa.dll
./tools/ResourceUpdater/x64/Release/ResourceUpdater.exe
./tools/ResourceUpdater/libopencv_world4.4.11.0.dylib
./tools/ResourceUpdater/res_updater
- name: Cache MaaDeps
if: steps.cache-resupd.outputs.cache-hit != 'true'
id: cache-maadeps
if: steps.resupd-cache.outputs.cache-hit != 'true'
id: maadeps-cache
uses: actions/cache@v4
continue-on-error: true
with:
path: |
./MaaDeps
key: ${{ runner.os }}-x64-maadeps-${{ hashFiles('./maadeps-download.py') }}
./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-arm64-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
- name: Bootstrap MaaDeps
if: steps.cache-resupd.outputs.cache-hit != 'true' && steps.cache-maadeps.outputs.cache-hit != 'true'
if: steps.resupd-cache.outputs.cache-hit != 'true' && steps.maadeps-cache.outputs.cache-hit != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 maadeps-download.py x64-windows
python3 tools/maadeps-download.py arm64-osx
- name: Add msbuild to PATH
if: steps.cache-resupd.outputs.cache-hit != 'true'
uses: microsoft/setup-msbuild@v2
- name: Build Resource Updater
if: steps.cache-resupd.outputs.cache-hit != 'true'
- name: Config cmake
if: steps.resupd-cache.outputs.cache-hit != 'true'
run: |
MSBUILD tools/ResourceUpdater/ResourceUpdater.vcxproj /t:rebuild /p:Configuration="Release" /p:Platform="x64" /p:BuildProjectReferences=false /m
cd tools/ResourceUpdater
mkdir -p build
cmake -B build -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DMAADEPS_TRIPLET='maa-arm64-osx' \
-DWITH_HASH_VERSION=ON
- name: Save ResourceUpdater.exe to cache
if: always() && steps.cache-resupd.outputs.cache-hit != 'true'
- name: Build
if: steps.resupd-cache.outputs.cache-hit != 'true'
run: |
cmake --build tools/ResourceUpdater/build --config Release --parallel $(sysctl -n hw.logicalcpu)
- name: Install
if: steps.resupd-cache.outputs.cache-hit != 'true'
run: |
cmake --install tools/ResourceUpdater/build --prefix tools/ResourceUpdater --config Release
- name: Save ResourceUpdater to cache
if: always() && steps.resupd-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
continue-on-error: true
with:
key: Resource-updater-${{ hashFiles('./tools/ResourceUpdater/main.cpp') }}
key: ResourceUpdater-${{ runner.os }}-${{ hashFiles('tools/ResourceUpdater/main.cpp') }}
path: |
./tools/ResourceUpdater/x64/Release/opencv_world4_maa.dll
./tools/ResourceUpdater/x64/Release/ResourceUpdater.exe
./tools/ResourceUpdater/libopencv_world4.4.11.0.dylib
./tools/ResourceUpdater/res_updater
- name: Wait for resource cloning
uses: yogeshlonkar/wait-for-jobs@v0
with:
ignore-skipped: 'false'
jobs: |
Download Official Resources
Download Overseas Resources
Download Taiwan Resources
ttl: 15
- name: Download txwy
id: download-txwy
uses: actions/download-artifact@v4.1.8
continue-on-error: true
uses: actions/download-artifact@v6
with:
name: txwy
path: ./tools/ResourceUpdater/x64/Release/Overseas/zh_TW/gamedata/excel
- name: Delay txwy
if: steps.download-txwy.outcome == 'failure'
run: |
Start-Sleep -s 20
- name: Re-download txwy
if: steps.download-txwy.outcome == 'failure'
uses: actions/download-artifact@v4.1.8
with:
name: txwy
path: ./tools/ResourceUpdater/x64/Release/Overseas/zh_TW/gamedata/excel
path: ./tools/ResourceUpdater/Overseas/tw/gamedata/excel
- name: Download Overseas
id: download-overseas
uses: actions/download-artifact@v4.1.8
continue-on-error: true
uses: actions/download-artifact@v6
with:
name: overseas
path: ./tools/ResourceUpdater/x64/Release/Overseas
- name: Delay Overseas
if: steps.download-overseas.outcome == 'failure'
run: |
Start-Sleep -s 20
- name: Re-download Overseas
if: steps.download-overseas.outcome == 'failure'
uses: actions/download-artifact@v4.1.8
with:
name: overseas
path: ./tools/ResourceUpdater/x64/Release/Overseas
path: ./tools/ResourceUpdater/Overseas
- name: Download Official
id: download-official
uses: actions/download-artifact@v4.1.8
continue-on-error: true
uses: actions/download-artifact@v6
with:
name: official
path: ./tools/ResourceUpdater/x64/Release/Official
path: ./tools/ResourceUpdater/Official
- name: Delay Official
if: steps.download-official.outcome == 'failure'
- name: Update resources
run: |
Start-Sleep -s 20
./tools/ResourceUpdater/res_updater
- name: Re-download Official
if: steps.download-official.outcome == 'failure'
uses: actions/download-artifact@v4.1.8
with:
name: official
path: ./tools/ResourceUpdater/x64/Release/Official
- name: Run Resource Updater
run: |
./tools/ResourceUpdater/x64/Release/ResourceUpdater.exe
- name: Task Sorting
- name: Sort tasks
id: task_sorting
run: |
python3 tools/TaskSorter/TaskSorter.py
Write-Output "gitdiff=$(git diff --name-only --diff-filter=ACM 2>$null | Select-String -Pattern '\.json$' -List)" >> $env:GITHUB_OUTPUT
echo "gitdiff=$(echo $(git diff --name-only --diff-filter=ACM 2>/dev/null | grep '\.json$'))" >> $GITHUB_OUTPUT
- name: Run prettier
uses: Nerixyz/actionsx-prettier@v3-adj
with:
args: -w ${{ steps.task_sorting.outputs.gitdiff }}
- name: Check if only sorted and Templates
id: check_sorted_templates
run: pwsh tools/ResourceUpdater/validator.ps1
- name: Update version.json date if necessary
id: update_version
run: |
sh ./tools/ResourceUpdater/version.sh
- name: Setup python
if: steps.check_sorted_templates.outputs.contains_png == 'True'
uses: actions/setup-python@v5
if: steps.update_version.outputs.contains_png == 'True'
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Cache Python packages
if: always() && steps.check_sorted_templates.outputs.contains_png == 'True'
- name: Cache python packages
if: always() && steps.update_version.outputs.contains_png == 'True'
id: cache_python
uses: actions/cache@v4
continue-on-error: true
with:
path: ${{ env.pythonLocation }}/Lib/site-packages
key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }}
- name: Install dependencies
if: steps.cache_python.outputs.cache-hit != 'true' && steps.check_sorted_templates.outputs.contains_png == 'True'
if: steps.cache_python.outputs.cache-hit != 'true' && steps.update_version.outputs.contains_png == 'True'
run: |
pip install -r tools/OptimizeTemplates/requirements.txt
- name: Setup oxipng
if: steps.check_sorted_templates.outputs.contains_png == 'True'
if: steps.update_version.outputs.contains_png == 'True'
uses: baptiste0928/cargo-install@v3
with:
crate: oxipng
- name: Run optimize_templates
if: steps.check_sorted_templates.outputs.contains_png == 'True'
- name: Optimize png images
if: steps.update_version.outputs.contains_png == 'True'
run: |
python3 tools/OptimizeTemplates/optimize_templates.py -p resource/template/items/ resource/template/infrast/
- name: Add files to git
if: steps.check_sorted_templates.outputs.changes == 'True'
- name: Commit changes
if: steps.update_version.outputs.changes == 'True'
id: add_files
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
$commit_msg = "${{ github.event.inputs.commit_message }}"
if ([string]::IsNullOrWhiteSpace($commit_msg)) {
$commit_msg = "chore: Auto Update Game Resources - $(Get-Date -Format 'yyyy-MM-dd')"
} else {
$commit_msg = $commit_msg.Trim()
}
commit_msg="${{ github.event.inputs.commit_message }}"
if [ -z "$commit_msg" ]; then
commit_msg="chore: Auto Update Game Resources - $(date '+%Y-%m-%d')"
else
commit_msg=$(echo "$commit_msg" | xargs) # Trim whitespace
fi
$run_url = "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
run_url="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
git commit -m "$commit_msg" -m "$run_url" -m "[skip changelog]"
if ($LASTEXITCODE -eq 0) {
Write-Output "have_commits=True" >> $env:GITHUB_OUTPUT
}
if [ $? -eq 0 ]; then
echo "have_commits=True" >> $GITHUB_OUTPUT
fi
git pull origin ${{ github.ref_name }} --rebase
@@ -323,26 +324,56 @@ jobs:
branch: ${{ github.ref }}
github_token: ${{ secrets.MAA_RESOURCE_SYNC }}
- name: Update OTA resource
if: steps.add_files.outputs.have_commits == 'True'
env:
GH_TOKEN: ${{ secrets.MAA_RESOURCE_SYNC }}
run: |
gh workflow --repo MaaAssistantArknights/MaaRelease run update-resource.yml
# - name: Delete cache
# if: always()
# - name: Update OTA resource
# if: steps.update_version.outputs.update_resources == 'True'
# env:
# GH_TOKEN: ${{ github.token }}
# GH_TOKEN: ${{ secrets.MISTEOWORKFLOW }}
# run: |
# echo "Deleting the cache..."
# gh cache delete
# gh workflow --repo MaaAssistantArknights/MaaRelease run update-resource.yml
- name: Add cancelled status
if: steps.check_sorted_templates.outputs.changes != 'True' || steps.add_files.outputs.have_commits != 'True'
if: steps.update_version.outputs.changes != 'True' || steps.add_files.outputs.have_commits != 'True'
uses: andymckay/cancel-action@0.5
# - name: Release # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
# if: steps.add_files.outputs.have_commits == 'True'
# run: |
# gh workflow run release-nightly-ota -f release_body="Auto Release of Resource Updates"
# - name: Release # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
# if: steps.add_files.outputs.have_commits == 'True'
# run: |
# gh workflow run release-nightly-ota.yml -f release_body="Auto Release of Resource Updates"
- name: Upsert failure comment (single active)
if: failure() && github.ref == 'refs/heads/dev'
run: |
run_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
latest_id=$(gh api --paginate repos/${{ github.repository }}/issues/14493/comments | jq -r '.[] | select(.user.login=="github-actions[bot]") | .id' | tail -n 1)
if [ -n "$latest_id" ]; then
body=$(gh api repos/${{ github.repository }}/issues/comments/$latest_id --jq '.body')
if echo "$body" | grep -q '/actions/runs/'; then
# Count existing run URLs
count=$(echo "$body" | grep -o 'https://github.com/[^[:space:]]*' | wc -l)
# Collapse existing content
old_content=$(echo "$body" | sed 's|https://github.com/[^[:space:]]*|<details>\n<summary>⚠️ Previous failures ('"$count"')</summary>\n\n###### &\n\n</details>|g')
new_body="$run_url
@MistEO @ABA2396 @Constrat
$old_content"
gh api repos/${{ github.repository }}/issues/comments/$latest_id -X PATCH -f body="$new_body" || echo "Patch failed"
exit 0
fi
fi
# Create new failure comment if none suitable
gh issue comment 14493 -R ${{ github.repository }} --body "$run_url
@MistEO @ABA2396 @Constrat"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Minimize failure comment on success/cancelled
if: ${{ !failure() && github.ref == 'refs/heads/dev' }}
run: |
latest_node=$(gh api --paginate repos/${{ github.repository }}/issues/14493/comments | jq -r '.[] | select(.user.login=="github-actions[bot]") | .node_id' | tail -n 1)
if [ -n "$latest_node" ]; then
gh api graphql -f query='mutation { minimizeComment(input: {subjectId: "'"$latest_node"'", classifier: OUTDATED}) { minimizedComment { isMinimized } } }' || true
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,121 +1,140 @@
name: smoke-testing
name: Smoke Test
permissions:
contents: read
on:
push:
paths:
- ".github/workflows/smoke-testing.yml"
- "3rdparty/include/**"
- "cmake/**"
- "CMakeLists.txt"
- "include/**"
- "resource/**"
- "src/Cpp/**"
- "src/MaaCore/**"
- "src/SyncRes/**"
- "MAA.sln"
- "resource/**"
- "tools/maadeps-download.py"
- "tools/SmokeTesting/**"
- "!**/*.md"
pull_request:
paths:
- ".github/workflows/smoke-testing.yml"
- "3rdparty/include/**"
- "cmake/**"
- "CMakeLists.txt"
- "include/**"
- "resource/**"
- "src/Cpp/**"
- "src/MaaCore/**"
- "src/SyncRes/**"
- "MAA.sln"
- "resource/**"
- "tools/maadeps-download.py"
- "tools/SmokeTesting/**"
- "!**/*.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref == 'refs/heads/dev' && github.sha }}
cancel-in-progress: true
jobs:
smoke-testing:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
runs-on: windows-latest
name: Run Smoke Test
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Generate cache key
id: cache_key
continue-on-error: true
run: |
Write-Output "key=Smoke-testing-${{ hashFiles('src/Cpp/**', 'src/MaaCore/**', 'src/SyncRes/**', '3rdparty/include/**', 'include/**', 'MAA.sln') }}" >> $env:GITHUB_OUTPUT
echo "key=Smoke-testing-${{ hashFiles('src/Cpp/**', 'src/MaaCore/**', '3rdparty/include/**', 'include/**', 'cmake/**', 'CMakeLists.txt', 'tools/maadeps-download.py', 'tools/linux-toolchain-download.py') }}" >> $GITHUB_OUTPUT
- name: Restore cache smoke-testing
id: cache-exe
- name: Restore cache for Smoke Test
if: ${{ steps.cache_key.outputs.key != '' }}
id: smoke-cache
uses: actions/cache/restore@v4
continue-on-error: true
with:
key: ${{ steps.cache_key.outputs.key }}
path: |
./x64/Debug/Sample.exe
./x64/Debug/fastdeploy_ppocr.dll
./x64/Debug/MaaCore.dll
./x64/Debug/onnxruntime_maa.dll
./x64/Debug/opencv_world4d_maa.dll
./install/libfastdeploy_ppocr.dylib
./install/libMaaCore.dylib
./install/libMaaUtils.dylib
./install/libonnxruntime.1.19.2.dylib
./install/libopencv_world4.4.11.0.dylib
./install/smoke_test
- name: Fetch submodules
if: steps.cache-exe.outputs.cache-hit != 'true'
if: steps.smoke-cache.outputs.cache-hit != 'true'
run: |
git submodule update --init --depth 1 3rdparty/EmulatorExtras
git submodule update --init --depth 1 src/MaaUtils
- name: Cache MaaDeps
if: steps.cache-exe.outputs.cache-hit != 'true'
id: cache-maadeps
if: steps.smoke-cache.outputs.cache-hit != 'true'
id: maadeps-cache
uses: actions/cache@v4
continue-on-error: true
with:
path: |
./MaaDeps
key: ${{ runner.os }}-x64-maadeps-${{ hashFiles('./maadeps-download.py') }}
path: ./src/MaaUtils/MaaDeps
key: ${{ runner.os }}-arm64-maadeps-${{ hashFiles('tools/maadeps-download.py') }}
- name: Bootstrap MaaDeps
if: steps.cache-exe.outputs.cache-hit != 'true' && steps.cache-maadeps.outputs.cache-hit != 'true'
if: steps.smoke-cache.outputs.cache-hit != 'true' && steps.maadeps-cache.outputs.cache-hit != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 maadeps-download.py x64-windows
python3 tools/maadeps-download.py arm64-osx
- name: Add msbuild to PATH
if: steps.cache-exe.outputs.cache-hit != 'true'
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: Build MaaSample
if: steps.cache-exe.outputs.cache-hit != 'true'
- name: Config cmake
if: steps.smoke-cache.outputs.cache-hit != 'true'
run: |
MSBUILD src/Cpp/MaaSample.slnf -t:restore,build -p:Configuration="Debug" -p:Platform="x64" -m
mkdir -p build
cmake -B build -GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DMAADEPS_TRIPLET='maa-arm64-osx' \
-DBUILD_SMOKE_TEST=ON \
-DINSTALL_RESOURCE=ON \
-DWITH_HASH_VERSION=ON
- name: Copy resource to build directory
if: steps.cache-exe.outputs.cache-hit == 'true'
- name: Build
if: steps.smoke-cache.outputs.cache-hit != 'true'
run: |
(robocopy "resource" "x64/Debug/resource" /E /XD "Arknights-Tile-Pos" /MT:4 > $null);
if ($LASTEXITCODE -lt 2) { $global:LASTEXITCODE = $null }
(robocopy "resource/Arknights-Tile-Pos" "x64/Debug/resource/Arknights-Tile-Pos" "overview.json" > $null);
if ($LASTEXITCODE -lt 2) { $global:LASTEXITCODE= $null }
cmake --build build --config Debug --parallel $(sysctl -n hw.logicalcpu)
- name: Install
if: steps.smoke-cache.outputs.cache-hit != 'true'
run: |
mkdir -p install
cmake --install build --prefix install --config Debug
- name: Make link to Smoke Test cache
if: steps.smoke-cache.outputs.cache-hit == 'true'
run: |
ln -s "$(pwd)/resource" install/resource
- name: Run tests
run: |
pwsh tools/SmokeTesting/run_tests.ps1
sh ./tools/SmokeTesting/run_tests.sh
- name: Save cache smoke-testing (only in dev)
if: steps.cache-exe.outputs.cache-hit != 'true' && github.ref == 'refs/heads/dev'
- name: Save cache for Smoke Test (only in dev)
if: steps.smoke-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/dev'
uses: actions/cache/save@v4
continue-on-error: true
with:
key: ${{ steps.cache_key.outputs.key }}
path: |
./x64/Debug/Sample.exe
./x64/Debug/fastdeploy_ppocr.dll
./x64/Debug/MaaCore.dll
./x64/Debug/onnxruntime_maa.dll
./x64/Debug/opencv_world4d_maa.dll
./install/libfastdeploy_ppocr.dylib
./install/libMaaUtils.dylib
./install/libMaaCore.dylib
./install/libonnxruntime.1.19.2.dylib
./install/libopencv_world4.4.11.0.dylib
./install/smoke_test
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: logs
path: ./x64/Debug/debug
path: ./install/debug

View File

@@ -1,4 +1,4 @@
name: "Inactive Issues Closer"
name: Issue Staleness Management
on:
schedule:
@@ -11,6 +11,7 @@ env: # config
jobs:
stale:
name: Handle Stale Issues
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
permissions:
@@ -20,8 +21,8 @@ jobs:
pull-requests: none
contents: none
steps:
- name: Close inactive issues
uses: actions/stale@v9
- name: Handle stale issues
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: ${{ env.daysBeforeStale }}

View File

@@ -1,33 +1,34 @@
name: sync-resource
name: Resource Sync
on:
push:
branches:
- dev
paths:
- "resource/**"
- ".github/workflows/sync-resource.yml"
- "resource/**"
workflow_dispatch:
jobs:
sync-resource:
name: Sync Resource to MaaResource
if: github.repository_owner == 'MaaAssistantArknights'
runs-on: ubuntu-latest
steps:
- name: Checkout MaaAssistantArknights
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Setup Git
- name: Configure git
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git show -s
- name: Checkout MaaResource
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: MaaAssistantArknights/MaaResource
show-progress: false
@@ -49,9 +50,3 @@ jobs:
git status
git commit -m "$commit_msg" || exit 0
git push
- name: Setup resource update
env:
GH_TOKEN: ${{ secrets.MISTEOWORKFLOW }}
run: |
gh workflow --repo MaaAssistantArknights/MaaRelease run update-resource.yml

33
.github/workflows/update-submodules.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Submodule Update
on:
schedule:
- cron: "50 21 * * *" # Runs daily at 21:50 UTC (before `Release Pipeline (Nightly OTA)`)
workflow_dispatch:
jobs:
update-submodules:
name: Update Submodules
runs-on: ubuntu-latest
if: github.repository_owner == 'MaaAssistantArknights'
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: true
- name: Update submodules
run: |
git submodule update --remote src/MaaMacGui
git submodule update --remote src/maa-cli
- name: Commit and push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "feat: Update Submodules MaaMacGui, maa-cli
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
[skip changelog]"
branch: ${{ github.ref }}

View File

@@ -1,4 +1,4 @@
name: MaaWebsite Workflow
name: Documentation Site
on:
push:
@@ -8,100 +8,68 @@ on:
paths:
- ".github/workflows/website-workflow.yml"
- "docs/**"
- "website/**"
pull_request:
paths:
- ".github/workflows/website-workflow.yml"
- "docs/**"
- "website/**"
workflow_dispatch:
inputs:
deploy-to-prod-env:
description: "Deploy to production environment"
deploy-to-prod:
description: "Deploy to prod"
default: false
required: true
type: boolean
concurrency:
group: "pages"
cancel-in-progress: false
permissions:
# required for peaceiris/actions-gh-pages
contents: write
jobs:
build:
timeout-minutes: 20
name: Build and Deploy
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6
with:
show-progress: false
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
package_json_file: "./docs/package.json"
run_install: false
- name: Setup Node.js environment
uses: actions/setup-node@v4
- name: Setup node.js environment
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
cache: pnpm
cache-dependency-path: "./docs/pnpm-lock.yaml"
- name: Install dependencies
- name: Install node modules
run: pnpm install --frozen-lockfile
working-directory: "./website"
working-directory: "./docs"
- name: Build
run: pnpm run build
working-directory: "./website"
working-directory: "./docs"
- name: Upload artifact to GitHub
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: dist
path: "./website/dist"
path: "./docs/.vuepress/dist"
publish:
runs-on: ubuntu-latest
needs: build
if: github.event_name != 'pull_request'
steps:
- name: Download website artifacts
uses: actions/download-artifact@v4
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: github.repository_owner == 'MaaAssistantArknights' && (inputs.deploy-to-prod == true || github.ref == 'refs/heads/master')
with:
name: dist
- name: Set deployment environment
id: set-deployment-env
run: |
if [[ "${{ github.event_name }}" != "workflow_dispatch" && "${{ github.ref }}" == "refs/heads/master" ]] || [[ "${{ github.event.inputs.deploy-to-prod-env }}" == "true" ]]; then
echo "AZURE_TARGET_ENV=prod" >> $GITHUB_ENV
else
echo "AZURE_TARGET_ENV=dev" >> $GITHUB_ENV
fi
- name: Show environment
run: echo ${{ env.AZURE_TARGET_ENV }}
- name: Deploy to Azure (prod)
id: deploy-prod
uses: Azure/static-web-apps-deploy@v1
if: env.AZURE_TARGET_ENV == 'prod'
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_MAA_WEBSITE }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "."
api_location: ""
skip_app_build: true
skip_api_build: true
- name: Deploy to Azure (dev)
id: deploy-dev
uses: Azure/static-web-apps-deploy@v1
if: env.AZURE_TARGET_ENV == 'dev'
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_MAA_WEBSITE }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
deployment_environment: dev
app_location: "."
api_location: ""
skip_app_build: true
skip_api_build: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "./docs/.vuepress/dist"
publish_branch: gh-pages

24
.gitignore vendored
View File

@@ -451,9 +451,31 @@ tools/RoguelikeRecruitmentTool/output
# CF 活动关卡(异格夜刀),手动改的地图
/resource/Arknights-Tile-Pos/act24side_09-activities-act24side-level_act24side_09.json
/src/MaaWpfGui/FodyWeavers.xml
*.lnk
# 链接检查缓存
.lycheecache
# MaaDeps
/MaaDeps/*
MaaDeps
src/MaaUtils/*
# ResourceUpdater workflow
/original/*
# Windows Explorer Shits
desktop.ini
Thumbs.db
# macOS Finder Shit
.DS_Store
# MaaSupportExtension config
/config/maa_pi_config.json
# build & install
build
install
# pnpm cache
.pnpm-store

3
.gitmodules vendored
View File

@@ -10,3 +10,6 @@
[submodule "3rdparty/EmulatorExtras"]
path = 3rdparty/EmulatorExtras
url = https://github.com/MaaXYZ/EmulatorExtras.git
[submodule "src/MaaUtils"]
path = src/MaaUtils
url = https://github.com/MaaXYZ/MaaUtils

View File

@@ -1,127 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Build Schema",
"$ref": "#/definitions/build",
"definitions": {
"build": {
"type": "object",
"properties": {
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
},
"Profile": {
"type": "array",
"description": "Defines the profiles to load",
"items": {
"type": "string"
}
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"Default",
"DevBuild",
"DevBuildDefault",
"DevBuildReleaseSimulation",
"ReleaseMaa",
"SetMaaChangeLog",
"SetPackageBundled",
"SetVersion",
"UseClean",
"UseCommitVersion",
"UseMaaChangeLog",
"UseMaaDevBundle",
"UseMaaRelease",
"UsePublishArtifact",
"UsePublishRelease",
"UseRsVersion",
"UseTagVersion",
"WithCompileCoreRelease",
"WithCompileWpfRelease",
"WithSyncRes"
]
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"Default",
"DevBuild",
"DevBuildDefault",
"DevBuildReleaseSimulation",
"ReleaseMaa",
"SetMaaChangeLog",
"SetPackageBundled",
"SetVersion",
"UseClean",
"UseCommitVersion",
"UseMaaChangeLog",
"UseMaaDevBundle",
"UseMaaRelease",
"UsePublishArtifact",
"UsePublishRelease",
"UseRsVersion",
"UseTagVersion",
"WithCompileCoreRelease",
"WithCompileWpfRelease",
"WithSyncRes"
]
}
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"enum": ["Minimal", "Normal", "Quiet", "Verbose"]
}
}
}
}
}

View File

@@ -1,4 +0,0 @@
{
"$schema": "./build.schema.json",
"Solution": "tools/MaaBuilder.sln"
}

View File

@@ -4,28 +4,47 @@ ci:
autofix_prs: true
repos:
- repo: https://github.com/shssoichiro/oxipng
rev: v9.1.2
rev: v9.1.5
hooks:
- id: oxipng
name: PNG Image Compression
args: ["-q", "-o", "2", "-s", "--ng"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.1
rev: v21.1.1
hooks:
- id: clang-format
name: Clang-Format (MaaCore)
files: ^src/MaaCore/.*
args: ["--assume-filename", ".clang-format"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.6.2
hooks:
- id: prettier
name: Prettier (Config Files)
files: ^((\.github/ISSUE_TEMPLATE|resource|src|tools)/.*|\.pre-commit-config\.yaml|package-definition\.json)
types_or:
- yaml
- json
- id: prettier
name: Prettier (Documentation)
files: ^docs/.*
- repo: https://github.com/psf/black
rev: 25.9.0
hooks:
- id: black
name: Black Formatter (Python)
- repo: https://github.com/pycqa/isort
rev: 6.0.1
hooks:
- id: isort
name: Isort (Python)
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
rev: v0.18.1
hooks:
- id: markdownlint-cli2
name: MarkdownLint (Documentation)
files: ^docs/.*|^README\.md$
types:
- markdown
args: ["--fix", "--config", "docs/.markdownlint.yaml", "#**/node_modules"]
args: ["--fix", "--config", "docs/.markdownlint.yaml"]

View File

@@ -1,10 +1,12 @@
**/node_modules/
**/pnpm-lock.yaml
MaaDeps/
3rdparty/
src/maa-cli
src/MaaMacGui
src/MaaUtils
website/
resource/Arknights-Tile-Pos/
tools/OptimizeTemplates/optimize_templates.json
CITATION.cff
CHANGELOG.md

View File

@@ -12,6 +12,12 @@
"parser": "yaml",
"tabWidth": 2
}
},
{
"files": ["**/*.md"],
"options": {
"tabWidth": 2
}
}
]
}

View File

@@ -2,7 +2,8 @@
"json.schemas": [
{
"fileMatch": [
"resource/tasks.json"
"resource/tasks/**/*.json",
"resource/global/**/resource/tasks/**/*.json",
],
"url": "./docs/maa_tasks_schema.json"
}
@@ -11,5 +12,8 @@
"MaaDeps/vcpkg/buildtrees": true,
"MaaDeps/vcpkg/packages": true
},
"files.associations": {
"**/resource/tasks/**/*.json": "jsonc"
},
"C_Cpp.exclusionPolicy": "checkFilesAndFolders"
}

View File

@@ -1,533 +0,0 @@
#pragma once
#include <initializer_list>
#include <optional>
#include <ostream>
#include <string>
#include <tuple>
#include <vector>
#include "exception.hpp"
#include "utils.hpp"
namespace json
{
template <typename string_t>
class basic_array
{
friend class basic_value<string_t>;
friend class basic_object<string_t>;
public:
using raw_array = std::vector<basic_value<string_t>>;
using value_type = typename raw_array::value_type;
using iterator = typename raw_array::iterator;
using const_iterator = typename raw_array::const_iterator;
using reverse_iterator = typename raw_array::reverse_iterator;
using const_reverse_iterator = typename raw_array::const_reverse_iterator;
using char_t = typename string_t::value_type;
public:
basic_array() = default;
basic_array(const basic_array<string_t>& rhs) = default;
basic_array(basic_array<string_t>&& rhs) noexcept = default;
basic_array(std::initializer_list<value_type> init_list);
basic_array(typename raw_array::size_type size);
// explicit basic_array(const basic_value<string_t>& val);
// explicit basic_array(basic_value<string_t>&& val);
template <typename collection_t,
std::enable_if_t<_utils::is_collection<collection_t> &&
std::is_constructible_v<value_type, _utils::range_value_t<collection_t>>,
bool> = true>
basic_array(collection_t arr)
: _array_data(std::make_move_iterator(arr.begin()), std::make_move_iterator(arr.end()))
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_member<jsonization_t>::value, bool> = true>
basic_array(const jsonization_t& value) : basic_array(value.to_json())
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_templ_spec<jsonization_t>::value, bool> = true>
basic_array(const jsonization_t& value) : basic_array(ext::jsonization<jsonization_t>().to_json(value))
{}
~basic_array() noexcept = default;
bool empty() const noexcept { return _array_data.empty(); }
size_t size() const noexcept { return _array_data.size(); }
bool contains(size_t pos) const { return pos < _array_data.size(); }
bool exists(size_t pos) const { return contains(pos); }
const basic_value<string_t>& at(size_t pos) const;
string_t dumps(std::optional<size_t> indent = std::nullopt) const { return indent ? format(*indent) : to_string(); }
string_t to_string() const;
string_t format(size_t indent = 4) const { return format(indent, 0); }
template <typename value_t>
bool all() const;
template <typename value_t, template <typename...> typename collection_t = std::vector>
collection_t<value_t> as_collection() const;
// Usage: get(key_1, key_2, ..., default_value);
template <typename... key_then_default_value_t>
auto get(key_then_default_value_t&&... keys_then_default_value) const;
template <typename value_t = basic_value<string_t>>
std::optional<value_t> find(size_t pos) const;
template <typename... args_t>
decltype(auto) emplace_back(args_t&&... args);
template <typename... args_t>
decltype(auto) push_back(args_t&&... args);
void clear() noexcept;
bool erase(size_t pos);
bool erase(iterator iter);
iterator begin() noexcept;
iterator end() noexcept;
const_iterator begin() const noexcept;
const_iterator end() const noexcept;
const_iterator cbegin() const noexcept;
const_iterator cend() const noexcept;
reverse_iterator rbegin() noexcept;
reverse_iterator rend() noexcept;
const_reverse_iterator rbegin() const noexcept;
const_reverse_iterator rend() const noexcept;
const_reverse_iterator crbegin() const noexcept;
const_reverse_iterator crend() const noexcept;
const basic_value<string_t>& operator[](size_t pos) const;
basic_value<string_t>& operator[](size_t pos);
basic_array<string_t> operator+(const basic_array<string_t>& rhs) const&;
basic_array<string_t> operator+(basic_array<string_t>&& rhs) const&;
basic_array<string_t> operator+(const basic_array<string_t>& rhs) &&;
basic_array<string_t> operator+(basic_array<string_t>&& rhs) &&;
basic_array<string_t>& operator+=(const basic_array<string_t>& rhs);
basic_array<string_t>& operator+=(basic_array<string_t>&& rhs);
basic_array<string_t>& operator=(const basic_array<string_t>&) = default;
basic_array<string_t>& operator=(basic_array<string_t>&&) noexcept = default;
template <typename value_t, std::enable_if_t<std::is_convertible_v<value_t, basic_array<string_t>>, bool> = true>
basic_array<string_t>& operator=(value_t rhs)
{
return *this = basic_array<string_t>(std::move(rhs));
}
bool operator==(const basic_array<string_t>& rhs) const;
bool operator!=(const basic_array<string_t>& rhs) const { return !(*this == rhs); }
template <typename value_t, template <typename...> typename collection_t = std::vector,
std::enable_if_t<_utils::is_collection<collection_t<value_t>>, bool> = true>
explicit operator collection_t<value_t>() const
{
return as_collection<value_t, collection_t>();
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_member<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!dst.from_json(*this)) {
throw exception("Wrong JSON");
}
return dst;
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_templ_spec<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!ext::jsonization<jsonization_t>().from_json(*this, dst)) {
throw exception("Wrong JSON");
}
return dst;
}
private:
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
auto get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const;
template <typename value_t, typename... rest_keys_t>
auto get_helper(const value_t& default_value, size_t pos, rest_keys_t&&... rest) const;
template <typename value_t>
auto get_helper(const value_t& default_value, size_t pos) const;
string_t format(size_t indent, size_t indent_times) const;
private:
raw_array _array_data;
};
template <typename string_t>
inline basic_array<string_t>::basic_array(std::initializer_list<value_type> init_list) : _array_data(init_list)
{}
template <typename string_t>
inline basic_array<string_t>::basic_array(typename raw_array::size_type size) : _array_data(size)
{}
// template <typename string_t>
// inline basic_array<string_t>::basic_array(const basic_value<string_t>& val) : basic_array<string_t>(val.as_array())
//{}
//
// template <typename string_t>
// inline basic_array<string_t>::basic_array(basic_value<string_t>&& val)
// : basic_array<string_t>(std::move(val.as_array()))
//{}
template <typename string_t>
inline void basic_array<string_t>::clear() noexcept
{
_array_data.clear();
}
template <typename string_t>
inline bool basic_array<string_t>::erase(size_t pos)
{
return erase(_array_data.begin() + pos);
}
template <typename string_t>
inline bool basic_array<string_t>::erase(iterator iter)
{
return _array_data.erase(iter) != _array_data.end();
}
template <typename string_t>
template <typename... args_t>
inline decltype(auto) basic_array<string_t>::emplace_back(args_t&&... args)
{
static_assert(std::is_constructible_v<value_type, args_t...>,
"Parameter can't be used to construct a raw_array::value_type");
return _array_data.emplace_back(std::forward<args_t>(args)...);
}
template <typename string_t>
template <typename... args_t>
inline decltype(auto) basic_array<string_t>::push_back(args_t&&... args)
{
return emplace_back(std::forward<args_t>(args)...);
}
template <typename string_t>
inline const basic_value<string_t>& basic_array<string_t>::at(size_t pos) const
{
return _array_data.at(pos);
}
template <typename string_t>
inline string_t basic_array<string_t>::to_string() const
{
string_t str { '[' };
for (auto iter = _array_data.cbegin(); iter != _array_data.cend();) {
str += iter->to_string();
if (++iter != _array_data.cend()) {
str += ',';
}
}
str += char_t(']');
return str;
}
template <typename string_t>
inline string_t basic_array<string_t>::format(size_t indent, size_t indent_times) const
{
const string_t tail_indent(indent * indent_times, ' ');
const string_t body_indent(indent * (indent_times + 1), ' ');
string_t str { '[', '\n' };
for (auto iter = _array_data.cbegin(); iter != _array_data.cend();) {
str += body_indent + iter->format(indent, indent_times + 1);
if (++iter != _array_data.cend()) {
str += ',';
}
str += '\n';
}
str += tail_indent + char_t(']');
return str;
}
template <typename string_t>
template <typename value_t>
inline bool basic_array<string_t>::all() const
{
for (const auto& elem : _array_data) {
if (!elem.template is<value_t>()) {
return false;
}
}
return true;
}
namespace _as_collection_helper
{
template <typename T>
class has_emplace_back
{
template <typename U>
static auto test(int) -> decltype(std::declval<U>().emplace_back(), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
}
template <typename string_t>
template <typename value_t, template <typename...> typename collection_t>
inline collection_t<value_t> basic_array<string_t>::as_collection() const
{
collection_t<value_t> result;
if constexpr (_as_collection_helper::has_emplace_back<collection_t<value_t>>::value) {
for (const auto& elem : _array_data) {
result.emplace_back(elem.template as<value_t>());
}
}
else {
for (const auto& elem : _array_data) {
result.emplace(elem.template as<value_t>());
}
}
return result;
}
template <typename string_t>
template <typename... key_then_default_value_t>
inline auto basic_array<string_t>::get(key_then_default_value_t&&... keys_then_default_value) const
{
return get(std::forward_as_tuple(keys_then_default_value...),
std::make_index_sequence<sizeof...(keys_then_default_value) - 1> {});
}
template <typename string_t>
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
inline auto basic_array<string_t>::get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const
{
constexpr unsigned long default_value_index = sizeof...(key_then_default_value_t) - 1;
return get_helper(std::get<default_value_index>(keys_then_default_value),
std::get<keys_indexes_t>(keys_then_default_value)...);
}
template <typename string_t>
template <typename value_t, typename... rest_keys_t>
inline auto basic_array<string_t>::get_helper(const value_t& default_value, size_t pos, rest_keys_t&&... rest) const
{
constexpr bool is_json = std::is_same_v<basic_value<string_t>, value_t> ||
std::is_same_v<basic_array<string_t>, value_t> ||
std::is_same_v<basic_object<string_t>, value_t>;
constexpr bool is_string = std::is_constructible_v<string_t, value_t> && !is_json;
if (!contains(pos)) {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
return at(pos).get_helper(default_value, std::forward<rest_keys_t>(rest)...);
}
template <typename string_t>
template <typename value_t>
inline auto basic_array<string_t>::get_helper(const value_t& default_value, size_t pos) const
{
constexpr bool is_json = std::is_same_v<basic_value<string_t>, value_t> ||
std::is_same_v<basic_array<string_t>, value_t> ||
std::is_same_v<basic_object<string_t>, value_t>;
constexpr bool is_string = std::is_constructible_v<string_t, value_t> && !is_json;
if (!contains(pos)) {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
auto val = _array_data.at(pos);
if (val.template is<value_t>()) {
if constexpr (is_string) {
return val.template as<string_t>();
}
else {
return val.template as<value_t>();
}
}
else {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
}
template <typename string_t>
template <typename value_t>
inline std::optional<value_t> basic_array<string_t>::find(size_t pos) const
{
if (!contains(pos)) {
return std::nullopt;
}
const auto& val = _array_data.at(pos);
return val.template is<value_t>() ? std::optional<value_t>(val.template as<value_t>()) : std::nullopt;
}
template <typename string_t>
inline typename basic_array<string_t>::iterator basic_array<string_t>::begin() noexcept
{
return _array_data.begin();
}
template <typename string_t>
inline typename basic_array<string_t>::iterator basic_array<string_t>::end() noexcept
{
return _array_data.end();
}
template <typename string_t>
inline typename basic_array<string_t>::const_iterator basic_array<string_t>::begin() const noexcept
{
return _array_data.begin();
}
template <typename string_t>
inline typename basic_array<string_t>::const_iterator basic_array<string_t>::end() const noexcept
{
return _array_data.end();
}
template <typename string_t>
inline typename basic_array<string_t>::const_iterator basic_array<string_t>::cbegin() const noexcept
{
return _array_data.cbegin();
}
template <typename string_t>
inline typename basic_array<string_t>::const_iterator basic_array<string_t>::cend() const noexcept
{
return _array_data.cend();
}
template <typename string_t>
inline typename basic_array<string_t>::reverse_iterator basic_array<string_t>::rbegin() noexcept
{
return _array_data.rbegin();
}
template <typename string_t>
inline typename basic_array<string_t>::reverse_iterator basic_array<string_t>::rend() noexcept
{
return _array_data.rend();
}
template <typename string_t>
inline typename basic_array<string_t>::const_reverse_iterator basic_array<string_t>::rbegin() const noexcept
{
return _array_data.rbegin();
}
template <typename string_t>
inline typename basic_array<string_t>::const_reverse_iterator basic_array<string_t>::rend() const noexcept
{
return _array_data.rend();
}
template <typename string_t>
inline typename basic_array<string_t>::const_reverse_iterator basic_array<string_t>::crbegin() const noexcept
{
return _array_data.crbegin();
}
template <typename string_t>
inline typename basic_array<string_t>::const_reverse_iterator basic_array<string_t>::crend() const noexcept
{
return _array_data.crend();
}
template <typename string_t>
inline basic_value<string_t>& basic_array<string_t>::operator[](size_t pos)
{
return _array_data[pos];
}
template <typename string_t>
inline const basic_value<string_t>& basic_array<string_t>::operator[](size_t pos) const
{
return _array_data[pos];
}
template <typename string_t>
inline basic_array<string_t> basic_array<string_t>::operator+(const basic_array<string_t>& rhs) const&
{
basic_array<string_t> temp = *this;
temp._array_data.insert(_array_data.end(), rhs.begin(), rhs.end());
return temp;
}
template <typename string_t>
inline basic_array<string_t> basic_array<string_t>::operator+(basic_array<string_t>&& rhs) const&
{
basic_array<string_t> temp = *this;
temp._array_data.insert(_array_data.end(), std::make_move_iterator(rhs.begin()),
std::make_move_iterator(rhs.end()));
return temp;
}
template <typename string_t>
inline basic_array<string_t> basic_array<string_t>::operator+(const basic_array<string_t>& rhs) &&
{
_array_data.insert(_array_data.end(), rhs.begin(), rhs.end());
return std::move(*this);
}
template <typename string_t>
inline basic_array<string_t> basic_array<string_t>::operator+(basic_array<string_t>&& rhs) &&
{
_array_data.insert(_array_data.end(), std::make_move_iterator(rhs.begin()), std::make_move_iterator(rhs.end()));
return std::move(*this);
}
template <typename string_t>
inline basic_array<string_t>& basic_array<string_t>::operator+=(const basic_array<string_t>& rhs)
{
_array_data.insert(_array_data.end(), rhs.begin(), rhs.end());
return *this;
}
template <typename string_t>
inline basic_array<string_t>& basic_array<string_t>::operator+=(basic_array<string_t>&& rhs)
{
_array_data.insert(_array_data.end(), std::make_move_iterator(rhs.begin()), std::make_move_iterator(rhs.end()));
return *this;
}
template <typename string_t>
inline bool basic_array<string_t>::operator==(const basic_array<string_t>& rhs) const
{
return _array_data == rhs._array_data;
}
template <typename ostream_t, typename string_t,
typename std_ostream_t =
std::basic_ostream<typename string_t::value_type, std::char_traits<typename string_t::value_type>>,
typename enable_t =
std::enable_if_t<std::is_same_v<std_ostream_t, ostream_t> || std::is_base_of_v<std_ostream_t, ostream_t>>>
ostream_t& operator<<(ostream_t& out, const basic_array<string_t>& arr)
{
out << arr.format();
return out;
}
} // namespace json

View File

@@ -1,26 +0,0 @@
#pragma once
#include <exception>
#include <string>
namespace json
{
class exception : public std::exception
{
public:
exception() = default;
exception(const std::string& msg) : _what(msg) {}
exception(const exception&) = default;
exception& operator=(const exception&) = default;
exception(exception&&) = default;
exception& operator=(exception&&) = default;
virtual ~exception() noexcept override = default;
virtual const char* what() const noexcept override { return _what.empty() ? "Unknown exception" : _what.c_str(); }
protected:
std::string _what;
};
}

View File

@@ -1,474 +0,0 @@
#pragma once
#include <initializer_list>
#include <map>
#include <optional>
#include <ostream>
#include <string>
#include <tuple>
#include "exception.hpp"
#include "utils.hpp"
namespace json
{
template <typename string_t>
class basic_object
{
friend class basic_value<string_t>;
friend class basic_array<string_t>;
public:
using raw_object = std::map<string_t, basic_value<string_t>>;
using key_type = typename raw_object::key_type;
using mapped_type = typename raw_object::mapped_type;
using value_type = typename raw_object::value_type;
using iterator = typename raw_object::iterator;
using const_iterator = typename raw_object::const_iterator;
using char_t = typename string_t::value_type;
public:
basic_object() = default;
basic_object(const basic_object<string_t>& rhs) = default;
basic_object(basic_object<string_t>&& rhs) noexcept = default;
basic_object(std::initializer_list<value_type> init_list);
// explicit basic_object(const basic_value<string_t>& val);
// explicit basic_object(basic_value<string_t>&& val);
template <typename map_t, std::enable_if_t<_utils::is_map<map_t> &&
std::is_constructible_v<value_type, _utils::range_value_t<map_t>>,
bool> = true>
basic_object(map_t map) : _object_data(std::make_move_iterator(map.begin()), std::make_move_iterator(map.end()))
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_member<jsonization_t>::value, bool> = true>
basic_object(const jsonization_t& value) : basic_object(value.to_json())
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_templ_spec<jsonization_t>::value, bool> = true>
basic_object(const jsonization_t& value) : basic_object(ext::jsonization<jsonization_t>().to_json(value))
{}
~basic_object() = default;
bool empty() const noexcept { return _object_data.empty(); }
size_t size() const noexcept { return _object_data.size(); }
bool contains(const string_t& key) const;
bool exists(const string_t& key) const { return contains(key); }
const basic_value<string_t>& at(const string_t& key) const;
string_t dumps(std::optional<size_t> indent = std::nullopt) const { return indent ? format(*indent) : to_string(); }
string_t to_string() const;
string_t format(size_t indent = 4) const { return format(indent, 0); }
template <typename value_t>
bool all() const;
template <typename value_t, template <typename...> typename map_t = std::map>
map_t<string_t, value_t> as_map() const;
// Usage: get(key_1, key_2, ..., default_value);
template <typename... key_then_default_value_t>
auto get(key_then_default_value_t&&... keys_then_default_value) const;
template <typename value_t = basic_value<string_t>>
std::optional<value_t> find(const string_t& key) const;
template <typename... args_t>
decltype(auto) emplace(args_t&&... args);
template <typename... args_t>
decltype(auto) insert(args_t&&... args);
void clear() noexcept;
bool erase(const string_t& key);
bool erase(iterator iter);
iterator begin() noexcept;
iterator end() noexcept;
const_iterator begin() const noexcept;
const_iterator end() const noexcept;
const_iterator cbegin() const noexcept;
const_iterator cend() const noexcept;
basic_value<string_t>& operator[](const string_t& key);
basic_value<string_t>& operator[](string_t&& key);
basic_object<string_t> operator|(const basic_object<string_t>& rhs) const&;
basic_object<string_t> operator|(basic_object<string_t>&& rhs) const&;
basic_object<string_t> operator|(const basic_object<string_t>& rhs) &&;
basic_object<string_t> operator|(basic_object<string_t>&& rhs) &&;
basic_object<string_t>& operator|=(const basic_object<string_t>& rhs);
basic_object<string_t>& operator|=(basic_object<string_t>&& rhs);
basic_object<string_t>& operator=(const basic_object<string_t>&) = default;
basic_object<string_t>& operator=(basic_object<string_t>&&) = default;
template <typename value_t, std::enable_if_t<std::is_convertible_v<value_t, basic_object<string_t>>, bool> = true>
basic_object<string_t>& operator=(value_t rhs)
{
return *this = basic_object<string_t>(std::move(rhs));
}
bool operator==(const basic_object<string_t>& rhs) const;
bool operator!=(const basic_object<string_t>& rhs) const { return !(*this == rhs); }
template <typename value_t, template <typename...> typename map_t = std::map,
std::enable_if_t<_utils::is_map<map_t<string_t, value_t>>, bool> = true>
explicit operator map_t<string_t, value_t>() const
{
return as_map<value_t, map_t>();
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_member<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!dst.from_json(*this)) {
throw exception("Wrong JSON");
}
return dst;
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_templ_spec<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!ext::jsonization<jsonization_t>().from_json(*this, dst)) {
throw exception("Wrong JSON");
}
return dst;
}
private:
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
auto get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const;
template <typename value_t, typename... rest_keys_t>
auto get_helper(const value_t& default_value, const string_t& key, rest_keys_t&&... rest) const;
template <typename value_t>
auto get_helper(const value_t& default_value, const string_t& key) const;
string_t format(size_t indent, size_t indent_times) const;
private:
raw_object _object_data;
};
template <typename string_t>
inline basic_object<string_t>::basic_object(std::initializer_list<value_type> init_list)
: _object_data(std::make_move_iterator(init_list.begin()), std::make_move_iterator(init_list.end()))
{}
// template <typename string_t>
// inline basic_object<string_t>::basic_object(const basic_value<string_t>& val) :
// basic_object<string_t>(val.as_object())
//{}
//
// template <typename string_t>
// inline basic_object<string_t>::basic_object(basic_value<string_t>&& val)
// : basic_object<string_t>(std::move(val.as_object()))
//{}
template <typename string_t>
inline bool basic_object<string_t>::contains(const string_t& key) const
{
return _object_data.find(key) != _object_data.cend();
}
template <typename string_t>
inline const basic_value<string_t>& basic_object<string_t>::at(const string_t& key) const
{
return _object_data.at(key);
}
template <typename string_t>
inline void basic_object<string_t>::clear() noexcept
{
_object_data.clear();
}
template <typename string_t>
inline bool basic_object<string_t>::erase(const string_t& key)
{
return _object_data.erase(key) > 0 ? true : false;
}
template <typename string_t>
inline bool basic_object<string_t>::erase(iterator iter)
{
return _object_data.erase(iter) != _object_data.end();
}
template <typename string_t>
template <typename... args_t>
inline decltype(auto) basic_object<string_t>::emplace(args_t&&... args)
{
static_assert(std::is_constructible_v<value_type, args_t...>,
"Parameter can't be used to construct a raw_object::value_type");
return _object_data.emplace(std::forward<args_t>(args)...);
}
template <typename string_t>
template <typename... args_t>
inline decltype(auto) basic_object<string_t>::insert(args_t&&... args)
{
return emplace(std::forward<args_t>(args)...);
}
template <typename string_t>
inline string_t basic_object<string_t>::to_string() const
{
string_t str { '{' };
for (auto iter = _object_data.cbegin(); iter != _object_data.cend();) {
const auto& [key, val] = *iter;
str += char_t('"') + _utils::unescape_string(key) + string_t { '\"', ':' } + val.to_string();
if (++iter != _object_data.cend()) {
str += ',';
}
}
str += char_t('}');
return str;
}
template <typename string_t>
inline string_t basic_object<string_t>::format(size_t indent, size_t indent_times) const
{
const string_t tail_indent(indent * indent_times, ' ');
const string_t body_indent(indent * (indent_times + 1), ' ');
string_t str { '{', '\n' };
for (auto iter = _object_data.cbegin(); iter != _object_data.cend();) {
const auto& [key, val] = *iter;
str += body_indent + char_t('"') + _utils::unescape_string(key) + string_t { '\"', ':', ' ' } +
val.format(indent, indent_times + 1);
if (++iter != _object_data.cend()) {
str += ',';
}
str += '\n';
}
str += tail_indent + char_t('}');
return str;
}
template <typename string_t>
template <typename value_t>
inline bool basic_object<string_t>::all() const
{
for (const auto& [_, val] : _object_data) {
if (!val.template is<value_t>()) {
return false;
}
}
return true;
}
template <typename string_t>
template <typename value_t, template <typename...> typename map_t>
inline map_t<string_t, value_t> basic_object<string_t>::as_map() const
{
map_t<string_t, value_t> result;
for (const auto& [key, val] : _object_data) {
result.emplace(key, val.template as<value_t>());
}
return result;
}
template <typename string_t>
template <typename... key_then_default_value_t>
inline auto basic_object<string_t>::get(key_then_default_value_t&&... keys_then_default_value) const
{
return get(std::forward_as_tuple(keys_then_default_value...),
std::make_index_sequence<sizeof...(keys_then_default_value) - 1> {});
}
template <typename string_t>
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
inline auto basic_object<string_t>::get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const
{
constexpr unsigned long default_value_index = sizeof...(key_then_default_value_t) - 1;
return get_helper(std::get<default_value_index>(keys_then_default_value),
std::get<keys_indexes_t>(keys_then_default_value)...);
}
template <typename string_t>
template <typename value_t, typename... rest_keys_t>
inline auto basic_object<string_t>::get_helper(const value_t& default_value, const string_t& key,
rest_keys_t&&... rest) const
{
constexpr bool is_json = std::is_same_v<basic_value<string_t>, value_t> ||
std::is_same_v<basic_array<string_t>, value_t> ||
std::is_same_v<basic_object<string_t>, value_t>;
constexpr bool is_string = std::is_constructible_v<string_t, value_t> && !is_json;
if (!contains(key)) {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
return at(key).get_helper(default_value, std::forward<rest_keys_t>(rest)...);
}
template <typename string_t>
template <typename value_t>
inline auto basic_object<string_t>::get_helper(const value_t& default_value, const string_t& key) const
{
constexpr bool is_json = std::is_same_v<basic_value<string_t>, value_t> ||
std::is_same_v<basic_array<string_t>, value_t> ||
std::is_same_v<basic_object<string_t>, value_t>;
constexpr bool is_string = std::is_constructible_v<string_t, value_t> && !is_json;
if (!contains(key)) {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
auto val = _object_data.at(key);
if (val.template is<value_t>()) {
if constexpr (is_string) {
return val.template as<string_t>();
}
else {
return val.template as<value_t>();
}
}
else {
if constexpr (is_string) {
return string_t(default_value);
}
else {
return value_t(default_value);
}
}
}
template <typename string_t>
template <typename value_t>
inline std::optional<value_t> basic_object<string_t>::find(const string_t& key) const
{
auto iter = _object_data.find(key);
if (iter == _object_data.end()) {
return std::nullopt;
}
const auto& val = iter->second;
return val.template is<value_t>() ? std::optional<value_t>(val.template as<value_t>()) : std::nullopt;
}
template <typename string_t>
inline typename basic_object<string_t>::iterator basic_object<string_t>::begin() noexcept
{
return _object_data.begin();
}
template <typename string_t>
inline typename basic_object<string_t>::iterator basic_object<string_t>::end() noexcept
{
return _object_data.end();
}
template <typename string_t>
inline typename basic_object<string_t>::const_iterator basic_object<string_t>::begin() const noexcept
{
return _object_data.begin();
}
template <typename string_t>
inline typename basic_object<string_t>::const_iterator basic_object<string_t>::end() const noexcept
{
return _object_data.end();
}
template <typename string_t>
inline typename basic_object<string_t>::const_iterator basic_object<string_t>::cbegin() const noexcept
{
return _object_data.cbegin();
}
template <typename string_t>
inline typename basic_object<string_t>::const_iterator basic_object<string_t>::cend() const noexcept
{
return _object_data.cend();
}
template <typename string_t>
inline basic_value<string_t>& basic_object<string_t>::operator[](const string_t& key)
{
return _object_data[key];
}
template <typename string_t>
inline basic_value<string_t>& basic_object<string_t>::operator[](string_t&& key)
{
return _object_data[std::move(key)];
}
template <typename string_t>
inline basic_object<string_t> basic_object<string_t>::operator|(const basic_object<string_t>& rhs) const&
{
basic_object<string_t> temp = *this;
temp._object_data.insert(rhs.begin(), rhs.end());
return temp;
}
template <typename string_t>
inline basic_object<string_t> basic_object<string_t>::operator|(basic_object<string_t>&& rhs) const&
{
basic_object<string_t> temp = *this;
// temp._object_data.merge(std::move(rhs._object_data));
temp._object_data.insert(std::make_move_iterator(rhs.begin()), std::make_move_iterator(rhs.end()));
return temp;
}
template <typename string_t>
inline basic_object<string_t> basic_object<string_t>::operator|(const basic_object<string_t>& rhs) &&
{
_object_data.insert(rhs.begin(), rhs.end());
return std::move(*this);
}
template <typename string_t>
inline basic_object<string_t> basic_object<string_t>::operator|(basic_object<string_t>&& rhs) &&
{
//_object_data.merge(std::move(rhs._object_data));
_object_data.insert(std::make_move_iterator(rhs.begin()), std::make_move_iterator(rhs.end()));
return std::move(*this);
}
template <typename string_t>
inline basic_object<string_t>& basic_object<string_t>::operator|=(const basic_object<string_t>& rhs)
{
_object_data.insert(rhs.begin(), rhs.end());
return *this;
}
template <typename string_t>
inline basic_object<string_t>& basic_object<string_t>::operator|=(basic_object<string_t>&& rhs)
{
_object_data.insert(std::make_move_iterator(rhs.begin()), std::make_move_iterator(rhs.end()));
return *this;
}
template <typename string_t>
inline bool basic_object<string_t>::operator==(const basic_object<string_t>& rhs) const
{
return _object_data == rhs._object_data;
}
template <typename ostream_t, typename string_t,
typename std_ostream_t =
std::basic_ostream<typename string_t::value_type, std::char_traits<typename string_t::value_type>>,
typename enable_t =
std::enable_if_t<std::is_same_v<std_ostream_t, ostream_t> || std::is_base_of_v<std_ostream_t, ostream_t>>>
ostream_t& operator<<(ostream_t& out, const basic_object<string_t>& obj)
{
out << obj.format();
return out;
}
} // namespace json

View File

@@ -1,170 +0,0 @@
#pragma once
#include <type_traits>
#include "types.hpp"
#include "utils.hpp"
namespace json
{
namespace _serialization_helper
{
template <typename in_t, typename serializer_t>
class is_serializable
{
template <typename U>
static auto test(int) -> decltype(std::declval<serializer_t>()(std::declval<U>()), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<in_t>(0))::value;
};
struct empty_serializer
{
// sample:
// json::value operator()(const type_1&) const { return ...; }
// json::value operator()(const type_2&) const { return ...; }
// json::value operator()(const type_3&) const { return ...; }
};
template <typename T>
void unable_to_serialize()
{
static_assert(!sizeof(T), "Unable to serialize T. "
#ifdef _MSC_VER
"See T below: " __FUNCSIG__
#else
// "See T below: " __PRETTY_FUNCTION__
#endif
);
}
}
namespace _serialization_helper
{
template <typename out_t, typename deserializer_t, typename string_t = default_string_t>
class is_deserializable
{
template <typename U>
static auto test(int)
-> decltype(std::declval<deserializer_t>()(std::declval<basic_value<string_t>>(), std::declval<U&>()),
std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<out_t>(0))::value;
};
struct empty_deserializer
{
// sample:
// bool operator()(const json::value&, type_1&) const { return ...; }
// bool operator()(const json::value&, type_2&) const { return ...; }
// bool operator()(const json::value&, type_3&) const { return ...; }
};
template <typename T>
void unable_to_deserialize()
{
static_assert(!sizeof(T), "Unable to deserialize T. "
#ifdef _MSC_VER
"See T below: " __FUNCSIG__
#else
// "See T below: " __PRETTY_FUNCTION__
#endif
);
}
}
template <typename in_t, typename serializer_t = _serialization_helper::empty_serializer,
typename string_t = default_string_t>
basic_value<string_t> serialize(in_t&& in, const serializer_t& serializer = {})
{
if constexpr (_serialization_helper::is_serializable<in_t, serializer_t>::value) {
return serializer(std::forward<in_t>(in));
}
else if constexpr (std::is_constructible_v<basic_value<string_t>, in_t>) {
return basic_value<string_t>(std::forward<in_t>(in));
}
else if constexpr (_utils::is_collection<std::decay_t<in_t>>) {
basic_array<string_t> arr;
for (auto&& elem : in) {
using elem_t = decltype(elem);
auto j_elem = serialize<elem_t, serializer_t, string_t>(std::forward<elem_t>(elem), serializer);
arr.emplace_back(std::move(j_elem));
}
return arr;
}
else if constexpr (_utils::is_map<std::decay_t<in_t>>) {
basic_object<string_t> obj;
for (auto&& [key, elem] : in) {
using key_t = decltype(key);
using elem_t = decltype(elem);
auto j_elem = serialize<elem_t, serializer_t, string_t>(std::forward<elem_t>(elem), serializer);
obj.emplace(std::forward<key_t>(key), std::move(j_elem));
}
return obj;
}
else {
_serialization_helper::unable_to_serialize<in_t>();
}
}
template <typename out_t, typename deserializer_t = _serialization_helper::empty_deserializer,
typename string_t = default_string_t>
bool deserialize(const basic_value<string_t>& in, out_t& out, const deserializer_t& deserializer = {})
{
if constexpr (_serialization_helper::is_deserializable<out_t, deserializer_t>::value) {
return deserializer(in, out);
}
else if constexpr (std::is_constructible_v<out_t, basic_value<string_t>>) {
out = out_t(in);
return true;
}
else if constexpr (_utils::is_collection<std::decay_t<out_t>>) {
if (!in.is_array()) {
return false;
}
for (auto&& j_elem : in.as_array()) {
using elem_t = typename out_t::value_type;
elem_t elem {};
if (!deserialize<elem_t, deserializer_t, string_t>(j_elem, elem, deserializer)) {
return false;
}
if constexpr (_as_collection_helper::has_emplace_back<out_t>::value) {
out.emplace_back(std::move(elem));
}
else {
out.emplace(std::move(elem));
}
}
return true;
}
else if constexpr (_utils::is_map<std::decay_t<out_t>>) {
if (!in.is_object()) {
return false;
}
for (auto&& [key, j_elem] : in.as_object()) {
using elem_t = typename out_t::value_type;
elem_t elem {};
if (!deserialize<elem_t, deserializer_t, string_t>(j_elem, elem, deserializer)) {
return false;
}
out.emplace(std::move(elem));
}
return true;
}
else {
_serialization_helper::unable_to_deserialize<out_t>();
}
}
} // namespace json

View File

@@ -1,5 +0,0 @@
#pragma once
#include "array.hpp"
#include "object.hpp"
#include "value.hpp"

View File

@@ -1,235 +0,0 @@
#pragma once
#include <string>
#include <type_traits>
namespace json
{
template <typename string_t>
class basic_value;
template <typename string_t>
class basic_array;
template <typename string_t>
class basic_object;
using default_string_t = std::string;
using value = basic_value<default_string_t>;
using array = basic_array<default_string_t>;
using object = basic_object<default_string_t>;
using wvalue = basic_value<std::wstring>;
using warray = basic_array<std::wstring>;
using wobject = basic_object<std::wstring>;
}
namespace json::ext
{
template <typename T>
class jsonization
{
public:
// json::value to_json(const T&) const;
// bool check_json(const json::value&) const;
// bool from_json(const json::value&, T&) const;
};
}
namespace json::_utils
{
template <typename T>
using iterator_t = decltype(std::declval<T&>().begin());
template <typename T>
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
template <typename T>
using iter_value_t = typename std::iterator_traits<remove_cvref_t<T>>::value_type;
template <typename R>
using range_value_t = iter_value_t<iterator_t<R>>;
template <typename T, typename = void>
constexpr bool is_string = false;
template <typename T>
constexpr bool is_string<T, std::void_t<typename T::traits_type>> =
std::is_same_v<typename T::traits_type, std::char_traits<typename T::value_type>>;
template <typename T, typename = void>
constexpr bool is_container = false;
template <typename T>
constexpr bool is_container<T, std::void_t<typename T::value_type, range_value_t<T>>> =
std::is_same_v<typename T::value_type, range_value_t<T>> && !is_string<T>;
template <typename T, typename = void>
constexpr bool is_map = false;
template <typename T>
constexpr bool is_map<T, std::void_t<typename T::key_type, typename T::mapped_type>> = is_container<T>;
template <typename T, typename = void>
constexpr bool is_collection = false;
template <typename T>
constexpr bool is_collection<T> = is_container<T> && !is_map<T>;
template <typename T>
class has_to_json_in_member
{
template <typename U>
static auto test(int) -> decltype(std::declval<U>().to_json(), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename T>
class has_to_json_in_templ_spec
{
template <typename U>
static auto test(int) -> decltype(std::declval<ext::jsonization<U>>().to_json(std::declval<U>()), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename T, typename string_t>
class has_check_json_in_member
{
template <typename U>
static auto test(int)
-> decltype(std::declval<U>().check_json(std::declval<json::basic_value<string_t>>()), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename T, typename string_t>
class has_check_json_in_templ_spec
{
template <typename U>
static auto test(int)
-> decltype(std::declval<ext::jsonization<U>>().check_json(std::declval<json::basic_value<string_t>>()),
std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename T, typename string_t>
class has_from_json_in_member
{
template <typename U>
static auto test(int)
-> decltype(std::declval<U>().from_json(std::declval<json::basic_value<string_t>>()), std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename T, typename string_t>
class has_from_json_in_templ_spec
{
template <typename U>
static auto test(int)
-> decltype(std::declval<ext::jsonization<U>>().from_json(std::declval<json::basic_value<string_t>>(),
std::declval<U&>()),
std::true_type());
template <typename U>
static std::false_type test(...);
public:
static constexpr bool value = decltype(test<T>(0))::value;
};
template <typename string_t>
static constexpr string_t unescape_string(const string_t& str)
{
using char_t = typename string_t::value_type;
string_t result {};
auto cur = str.cbegin();
auto end = str.cend();
auto no_escape_beg = cur;
char_t escape = 0;
for (; cur != end; ++cur) {
switch (*cur) {
case '"':
escape = '"';
break;
case '\\':
escape = '\\';
break;
case '\b':
escape = 'b';
break;
case '\f':
escape = 'f';
break;
case '\n':
escape = 'n';
break;
case '\r':
escape = 'r';
break;
case '\t':
escape = 't';
break;
default:
break;
}
if (escape) {
result += string_t(no_escape_beg, cur) + char_t('\\') + escape;
no_escape_beg = cur + 1;
escape = 0;
}
}
result += string_t(no_escape_beg, cur);
return result;
}
template <typename string_t>
static constexpr string_t true_string()
{
return { 't', 'r', 'u', 'e' };
}
template <typename string_t>
static constexpr string_t false_string()
{
return { 'f', 'a', 'l', 's', 'e' };
}
template <typename string_t>
static constexpr string_t null_string()
{
return { 'n', 'u', 'l', 'l' };
}
template <typename string_t, typename any_t>
string_t to_basic_string(any_t&& arg)
{
if constexpr (std::is_same_v<string_t, std::string>) {
return std::to_string(std::forward<any_t>(arg));
}
else if constexpr (std::is_same_v<string_t, std::wstring>) {
return std::to_wstring(std::forward<any_t>(arg));
}
else {
static_assert(!sizeof(any_t), "Unsupported type");
}
}
} // namespace json::_utils

View File

@@ -1,994 +0,0 @@
#pragma once
#include <cstddef>
#include <initializer_list>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <tuple>
#include <variant>
#include "exception.hpp"
#include "utils.hpp"
namespace json
{
template <typename string_t>
class basic_value
{
using array_ptr = std::unique_ptr<basic_array<string_t>>;
using object_ptr = std::unique_ptr<basic_object<string_t>>;
public:
enum class value_type : char
{
invalid,
null,
boolean,
string,
number,
array,
object
};
using var_t = std::variant<string_t, array_ptr, object_ptr>;
using char_t = typename string_t::value_type;
public:
basic_value();
basic_value(const basic_value<string_t>& rhs);
basic_value(basic_value<string_t>&& rhs) noexcept;
basic_value(bool b);
basic_value(int num);
basic_value(unsigned num);
basic_value(long num);
basic_value(unsigned long num);
basic_value(long long num);
basic_value(unsigned long long num);
basic_value(float num);
basic_value(double num);
basic_value(long double num);
basic_value(const char_t* str);
basic_value(string_t str);
basic_value(std::nullptr_t);
basic_value(basic_array<string_t> arr);
basic_value(basic_object<string_t> obj);
basic_value(std::initializer_list<typename basic_object<string_t>::value_type> init_list);
// Constructed from raw data
template <typename... args_t>
basic_value(value_type type, args_t&&... args);
template <typename collection_t,
std::enable_if_t<_utils::is_collection<collection_t> &&
std::is_constructible_v<typename basic_array<string_t>::value_type,
_utils::range_value_t<collection_t>>,
bool> = true>
basic_value(collection_t&& collection) : basic_value(basic_array<string_t>(std::forward<collection_t>(collection)))
{}
template <typename map_t, std::enable_if_t<_utils::is_map<map_t> &&
std::is_constructible_v<typename basic_object<string_t>::value_type,
_utils::range_value_t<map_t>>,
bool> = true>
basic_value(map_t&& map) : basic_value(basic_object<string_t>(std::forward<map_t>(map)))
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_member<jsonization_t>::value, bool> = true>
basic_value(const jsonization_t& value) : basic_value(value.to_json())
{}
template <typename jsonization_t,
std::enable_if_t<_utils::has_to_json_in_templ_spec<jsonization_t>::value, bool> = true>
basic_value(const jsonization_t& value) : basic_value(ext::jsonization<jsonization_t>().to_json(value))
{}
template <typename value_t, std::enable_if_t<!std::is_convertible_v<value_t, basic_value<string_t>>, bool> = true>
basic_value(value_t) = delete;
// I don't know if you want to convert char to string or number, so I delete these constructors.
basic_value(char) = delete;
basic_value(wchar_t) = delete;
basic_value(char16_t) = delete;
basic_value(char32_t) = delete;
~basic_value();
bool valid() const noexcept { return _type != value_type::invalid; }
bool empty() const noexcept { return is_null(); }
bool is_null() const noexcept { return _type == value_type::null; }
bool is_number() const noexcept { return _type == value_type::number; }
bool is_boolean() const noexcept { return _type == value_type::boolean; }
bool is_string() const noexcept { return _type == value_type::string; }
bool is_array() const noexcept { return _type == value_type::array; }
bool is_object() const noexcept { return _type == value_type::object; }
template <typename value_t>
bool is() const noexcept;
template <typename value_t>
bool all() const;
bool contains(const string_t& key) const;
bool contains(size_t pos) const;
bool exists(const string_t& key) const { return contains(key); }
bool exists(size_t pos) const { return contains(pos); }
value_type type() const noexcept { return _type; }
const basic_value<string_t>& at(size_t pos) const;
const basic_value<string_t>& at(const string_t& key) const;
bool erase(size_t pos);
bool erase(const string_t& key);
// Usage: get(key_1, key_2, ..., default_value);
template <typename... key_then_default_value_t>
auto get(key_then_default_value_t&&... keys_then_default_value) const;
template <typename value_t = basic_value<string_t>>
std::optional<value_t> find(size_t pos) const;
template <typename value_t = basic_value<string_t>>
std::optional<value_t> find(const string_t& key) const;
bool as_boolean() const;
int as_integer() const;
unsigned as_unsigned() const;
long as_long() const;
unsigned long as_unsigned_long() const;
long long as_long_long() const;
unsigned long long as_unsigned_long_long() const;
float as_float() const;
double as_double() const;
long double as_long_double() const;
string_t as_string() const;
const basic_array<string_t>& as_array() const;
const basic_object<string_t>& as_object() const;
template <typename value_t, template <typename...> typename collection_t = std::vector>
collection_t<value_t> as_collection() const;
template <typename value_t, template <typename...> typename map_t = std::map>
map_t<string_t, value_t> as_map() const;
template <typename value_t>
value_t as() const;
basic_array<string_t>& as_array();
basic_object<string_t>& as_object();
template <typename... args_t>
decltype(auto) emplace(args_t&&... args);
void clear() noexcept;
string_t dumps(std::optional<size_t> indent = std::nullopt) const { return indent ? format(*indent) : to_string(); }
// return raw string
string_t to_string() const;
string_t format(size_t indent = 4) const { return format(indent, 0); }
basic_value<string_t>& operator=(const basic_value<string_t>& rhs);
basic_value<string_t>& operator=(basic_value<string_t>&&) noexcept;
template <typename value_t, std::enable_if_t<std::is_convertible_v<value_t, basic_value<string_t>>, bool> = true>
basic_value<string_t>& operator=(value_t rhs)
{
return *this = basic_value<string_t>(std::move(rhs));
}
bool operator==(const basic_value<string_t>& rhs) const;
bool operator!=(const basic_value<string_t>& rhs) const { return !(*this == rhs); }
const basic_value<string_t>& operator[](size_t pos) const;
basic_value<string_t>& operator[](size_t pos);
basic_value<string_t>& operator[](const string_t& key);
basic_value<string_t>& operator[](string_t&& key);
basic_value<string_t> operator|(const basic_object<string_t>& rhs) const&;
basic_value<string_t> operator|(basic_object<string_t>&& rhs) const&;
basic_value<string_t> operator|(const basic_object<string_t>& rhs) &&;
basic_value<string_t> operator|(basic_object<string_t>&& rhs) &&;
basic_value<string_t>& operator|=(const basic_object<string_t>& rhs);
basic_value<string_t>& operator|=(basic_object<string_t>&& rhs);
basic_value<string_t> operator+(const basic_array<string_t>& rhs) const&;
basic_value<string_t> operator+(basic_array<string_t>&& rhs) const&;
basic_value<string_t> operator+(const basic_array<string_t>& rhs) &&;
basic_value<string_t> operator+(basic_array<string_t>&& rhs) &&;
basic_value<string_t>& operator+=(const basic_array<string_t>& rhs);
basic_value<string_t>& operator+=(basic_array<string_t>&& rhs);
explicit operator bool() const { return as_boolean(); }
explicit operator int() const { return as_integer(); }
explicit operator unsigned() const { return as_unsigned(); }
explicit operator long() const { return as_long(); }
explicit operator unsigned long() const { return as_unsigned_long(); }
explicit operator long long() const { return as_long_long(); }
explicit operator unsigned long long() const { return as_unsigned_long_long(); }
explicit operator float() const { return as_float(); }
explicit operator double() const { return as_double(); }
explicit operator long double() const { return as_long_double(); }
explicit operator string_t() const { return as_string(); }
explicit operator basic_array<string_t>() const { return as_array(); }
explicit operator basic_object<string_t>() const { return as_object(); }
template <typename value_t, template <typename...> typename collection_t = std::vector,
std::enable_if_t<_utils::is_collection<collection_t<value_t>>, bool> = true>
explicit operator collection_t<value_t>() const
{
return as_collection<value_t, collection_t>();
}
template <typename value_t, template <typename...> typename map_t = std::map,
std::enable_if_t<_utils::is_map<map_t<string_t, value_t>>, bool> = true>
explicit operator map_t<string_t, value_t>() const
{
return as_map<value_t, map_t>();
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_member<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!dst.from_json(*this)) {
throw exception("Wrong JSON");
}
return dst;
}
template <typename jsonization_t,
std::enable_if_t<_utils::has_from_json_in_templ_spec<jsonization_t, string_t>::value, bool> = true>
explicit operator jsonization_t() const
{
jsonization_t dst {};
if (!ext::jsonization<jsonization_t>().from_json(*this, dst)) {
throw exception("Wrong JSON");
}
return dst;
}
private:
friend class basic_array<string_t>;
friend class basic_object<string_t>;
string_t format(size_t indent, size_t indent_times) const;
static var_t deep_copy(const var_t& src);
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
auto get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const;
template <typename value_t, typename first_key_t, typename... rest_keys_t>
auto get_helper(const value_t& default_value, first_key_t&& first, rest_keys_t&&... rest) const;
template <typename value_t, typename unique_key_t>
auto get_helper(const value_t& default_value, unique_key_t&& first) const;
const string_t& as_basic_type_str() const;
string_t& as_basic_type_str();
value_type _type = value_type::null;
var_t _raw_data;
};
template <typename string_t>
inline basic_value<string_t>::basic_value() = default;
template <typename string_t>
inline basic_value<string_t>::basic_value(const basic_value<string_t>& rhs)
: _type(rhs._type), _raw_data(deep_copy(rhs._raw_data))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(basic_value<string_t>&& rhs) noexcept = default;
template <typename string_t>
inline basic_value<string_t>::basic_value(bool b)
: _type(value_type::boolean),
_raw_data(string_t(b ? _utils::true_string<string_t>() : _utils::false_string<string_t>()))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(int num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(unsigned num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(long num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(unsigned long num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(long long num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(unsigned long long num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(float num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(double num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(long double num)
: _type(value_type::number), _raw_data(_utils::to_basic_string<string_t>(num))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(const char_t* str) : _type(value_type::string), _raw_data(string_t(str))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(string_t str) : _type(value_type::string), _raw_data(std::move(str))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(std::nullptr_t) : _type(value_type::null)
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(basic_array<string_t> arr)
: _type(value_type::array), _raw_data(std::make_unique<basic_array<string_t>>(std::move(arr)))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(basic_object<string_t> obj)
: _type(value_type::object), _raw_data(std::make_unique<basic_object<string_t>>(std::move(obj)))
{}
template <typename string_t>
inline basic_value<string_t>::basic_value(std::initializer_list<typename basic_object<string_t>::value_type> init_list)
: _type(value_type::object), _raw_data(std::make_unique<basic_object<string_t>>(init_list))
{}
// for Pimpl
template <typename string_t>
inline basic_value<string_t>::~basic_value() = default;
template <typename string_t>
template <typename value_t>
inline bool basic_value<string_t>::is() const noexcept
{
if constexpr (std::is_same_v<basic_value<string_t>, value_t>) {
return true;
}
else if constexpr (_utils::has_check_json_in_member<value_t, string_t>::value) {
return value_t().check_json(*this);
}
else if constexpr (_utils::has_check_json_in_templ_spec<value_t, string_t>::value) {
return ext::jsonization<value_t>().check_json(*this);
}
else if constexpr (std::is_same_v<bool, value_t>) {
return is_boolean();
}
else if constexpr (std::is_arithmetic_v<value_t>) {
return is_number();
}
else if constexpr (std::is_constructible_v<string_t, value_t>) {
return is_string();
}
else if constexpr (std::is_same_v<basic_array<string_t>, value_t>) {
return is_array();
}
else if constexpr (_utils::is_collection<value_t>) {
return is_array() && all<typename value_t::value_type>();
}
else if constexpr (std::is_same_v<basic_object<string_t>, value_t>) {
return is_object();
}
else if constexpr (_utils::is_map<value_t>) {
return is_object() && std::is_constructible_v<string_t, typename value_t::key_type> &&
all<typename value_t::mapped_type>();
}
else {
static_assert(!sizeof(value_t), "Unsupported type");
}
}
template <typename string_t>
inline bool basic_value<string_t>::contains(const string_t& key) const
{
return is_object() && as_object().contains(key);
}
template <typename string_t>
inline bool basic_value<string_t>::contains(size_t pos) const
{
return is_array() && as_array().contains(pos);
}
template <typename string_t>
inline const basic_value<string_t>& basic_value<string_t>::at(size_t pos) const
{
return as_array().at(pos);
}
template <typename string_t>
inline const basic_value<string_t>& basic_value<string_t>::at(const string_t& key) const
{
return as_object().at(key);
}
template <typename string_t>
inline bool basic_value<string_t>::erase(size_t pos)
{
return as_array().erase(pos);
}
template <typename string_t>
inline bool basic_value<string_t>::erase(const string_t& key)
{
return as_object().erase(key);
}
template <typename string_t>
template <typename... key_then_default_value_t>
inline auto basic_value<string_t>::get(key_then_default_value_t&&... keys_then_default_value) const
{
return get(std::forward_as_tuple(keys_then_default_value...),
std::make_index_sequence<sizeof...(keys_then_default_value) - 1> {});
}
template <typename string_t>
template <typename... key_then_default_value_t, size_t... keys_indexes_t>
inline auto basic_value<string_t>::get(std::tuple<key_then_default_value_t...> keys_then_default_value,
std::index_sequence<keys_indexes_t...>) const
{
constexpr unsigned long default_value_index = sizeof...(key_then_default_value_t) - 1;
return get_helper(std::get<default_value_index>(keys_then_default_value),
std::get<keys_indexes_t>(keys_then_default_value)...);
}
template <typename string_t>
template <typename value_t, typename first_key_t, typename... rest_keys_t>
inline auto basic_value<string_t>::get_helper(const value_t& default_value, first_key_t&& first,
rest_keys_t&&... rest) const
{
if constexpr (std::is_constructible_v<string_t, first_key_t>) {
return is_object() ? as_object().get_helper(default_value, std::forward<first_key_t>(first),
std::forward<rest_keys_t>(rest)...)
: default_value;
}
else if constexpr (std::is_integral_v<std::decay_t<first_key_t>>) {
return is_array() ? as_array().get_helper(default_value, std::forward<first_key_t>(first),
std::forward<rest_keys_t>(rest)...)
: default_value;
}
else {
static_assert(!sizeof(first_key_t), "Parameter must be integral or string_t constructible");
}
}
template <typename string_t>
template <typename value_t, typename unique_key_t>
inline auto basic_value<string_t>::get_helper(const value_t& default_value, unique_key_t&& first) const
{
if constexpr (std::is_constructible_v<string_t, unique_key_t>) {
return is_object() ? as_object().get_helper(default_value, std::forward<unique_key_t>(first)) : default_value;
}
else if constexpr (std::is_integral_v<std::decay_t<unique_key_t>>) {
return is_array() ? as_array().get_helper(default_value, std::forward<unique_key_t>(first)) : default_value;
}
else {
static_assert(!sizeof(unique_key_t), "Parameter must be integral or string_t constructible");
}
}
template <typename string_t>
template <typename value_t>
inline std::optional<value_t> basic_value<string_t>::find(size_t pos) const
{
return is_array() ? as_array().template find<value_t>(pos) : std::nullopt;
}
template <typename string_t>
template <typename value_t>
inline std::optional<value_t> basic_value<string_t>::find(const string_t& key) const
{
return is_object() ? as_object().template find<value_t>(key) : std::nullopt;
}
template <typename string_t>
inline bool basic_value<string_t>::as_boolean() const
{
if (is_boolean()) {
if (const string_t& b_str = as_basic_type_str(); b_str == _utils::true_string<string_t>()) {
return true;
}
else if (b_str == _utils::false_string<string_t>()) {
return false;
}
else {
throw exception("Unknown Parse Error");
}
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline int basic_value<string_t>::as_integer() const
{
if (is_number()) {
return std::stoi(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline unsigned basic_value<string_t>::as_unsigned() const
{
// I don't know why there is no std::stou.
return static_cast<unsigned>(as_unsigned_long());
}
template <typename string_t>
inline long basic_value<string_t>::as_long() const
{
if (is_number()) {
return std::stol(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline unsigned long basic_value<string_t>::as_unsigned_long() const
{
if (is_number()) {
return std::stoul(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline long long basic_value<string_t>::as_long_long() const
{
if (is_number()) {
return std::stoll(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline unsigned long long basic_value<string_t>::as_unsigned_long_long() const
{
if (is_number()) {
return std::stoull(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline float basic_value<string_t>::as_float() const
{
if (is_number()) {
return std::stof(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline double basic_value<string_t>::as_double() const
{
if (is_number()) {
return std::stod(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline long double basic_value<string_t>::as_long_double() const
{
if (is_number()) {
return std::stold(as_basic_type_str());
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline string_t basic_value<string_t>::as_string() const
{
if (is_string()) {
return as_basic_type_str();
}
else {
throw exception("Wrong Type");
}
}
template <typename string_t>
inline const basic_array<string_t>& basic_value<string_t>::as_array() const
{
if (is_array()) {
return *std::get<array_ptr>(_raw_data);
}
throw exception("Wrong Type");
}
template <typename string_t>
inline const basic_object<string_t>& basic_value<string_t>::as_object() const
{
if (is_object()) {
return *std::get<object_ptr>(_raw_data);
}
throw exception("Wrong Type or data empty");
}
template <typename string_t>
inline basic_array<string_t>& basic_value<string_t>::as_array()
{
if (empty()) {
*this = basic_array<string_t>();
}
if (is_array()) {
return *std::get<array_ptr>(_raw_data);
}
throw exception("Wrong Type");
}
template <typename string_t>
inline basic_object<string_t>& basic_value<string_t>::as_object()
{
if (empty()) {
*this = basic_object<string_t>();
}
if (is_object()) {
return *std::get<object_ptr>(_raw_data);
}
throw exception("Wrong Type or data empty");
}
template <typename string_t>
template <typename value_t>
inline value_t basic_value<string_t>::as() const
{
if constexpr (std::is_same_v<basic_value<string_t>, value_t>) {
return *this;
}
else if constexpr (_utils::has_from_json_in_member<value_t, string_t>::value) {
value_t dst {};
if (!dst.from_json(*this)) {
throw exception("Wrong JSON");
}
return dst;
}
else if constexpr (_utils::has_from_json_in_templ_spec<value_t, string_t>::value) {
value_t dst {};
if (!ext::jsonization<value_t>().from_json(*this, dst)) {
throw exception("Wrong JSON");
}
return dst;
}
else {
return static_cast<value_t>(*this);
}
}
template <typename string_t>
inline const string_t& basic_value<string_t>::as_basic_type_str() const
{
return std::get<string_t>(_raw_data);
}
template <typename string_t>
inline string_t& basic_value<string_t>::as_basic_type_str()
{
return std::get<string_t>(_raw_data);
}
template <typename string_t>
template <typename... args_t>
inline decltype(auto) basic_value<string_t>::emplace(args_t&&... args)
{
constexpr bool is_array_args = std::is_constructible_v<typename basic_array<string_t>::value_type, args_t...>;
constexpr bool is_object_args = std::is_constructible_v<typename basic_object<string_t>::value_type, args_t...>;
static_assert(is_array_args || is_object_args, "Args can not constructure a array or object value");
if constexpr (is_array_args) {
return as_array().emplace_back(std::forward<args_t>(args)...);
}
else if constexpr (is_object_args) {
return as_object().emplace(std::forward<args_t>(args)...);
}
}
template <typename string_t>
inline void basic_value<string_t>::clear() noexcept
{
*this = basic_value<string_t>();
}
template <typename string_t>
inline string_t basic_value<string_t>::to_string() const
{
switch (_type) {
case value_type::null:
return _utils::null_string<string_t>();
case value_type::boolean:
case value_type::number:
return as_basic_type_str();
case value_type::string:
return char_t('"') + _utils::unescape_string(as_basic_type_str()) + char_t('"');
case value_type::array:
return as_array().to_string();
case value_type::object:
return as_object().to_string();
default:
throw exception("Unknown basic_value Type");
}
}
template <typename string_t>
inline string_t basic_value<string_t>::format(size_t indent, size_t indent_times) const
{
switch (_type) {
case value_type::null:
case value_type::boolean:
case value_type::number:
case value_type::string:
return to_string();
case value_type::array:
return as_array().format(indent, indent_times);
case value_type::object:
return as_object().format(indent, indent_times);
default:
throw exception("Unknown basic_value Type");
}
}
template <typename string_t>
template <typename value_t>
inline bool basic_value<string_t>::all() const
{
if (is_array()) {
return as_array().template all<value_t>();
}
else if (is_object()) {
return as_object().template all<value_t>();
}
else {
return false;
}
}
template <typename string_t>
template <typename value_t, template <typename...> typename collection_t>
inline collection_t<value_t> basic_value<string_t>::as_collection() const
{
return as_array().template as_collection<value_t, collection_t>();
}
template <typename string_t>
template <typename value_t, template <typename...> typename map_t>
inline map_t<string_t, value_t> basic_value<string_t>::as_map() const
{
return as_object().template as_map<value_t, map_t>();
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator=(const basic_value<string_t>& rhs)
{
_type = rhs._type;
_raw_data = deep_copy(rhs._raw_data);
return *this;
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator=(basic_value<string_t>&& rhs) noexcept = default;
template <typename string_t>
inline bool basic_value<string_t>::operator==(const basic_value<string_t>& rhs) const
{
if (_type != rhs._type) return false;
switch (_type) {
case value_type::null:
return rhs.is_null();
case value_type::boolean:
case value_type::number:
case value_type::string:
return _raw_data == rhs._raw_data;
case value_type::array:
return as_array() == rhs.as_array();
case value_type::object:
return as_object() == rhs.as_object();
default:
throw exception("Unknown basic_value Type");
}
}
template <typename string_t>
inline const basic_value<string_t>& basic_value<string_t>::operator[](size_t pos) const
{
// basic_array not support to create by operator[]
return as_array()[pos];
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator[](size_t pos)
{
// basic_array not support to create by operator[]
return as_array()[pos];
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator[](const string_t& key)
{
if (empty()) {
*this = basic_object<string_t>();
}
return as_object()[key];
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator[](string_t&& key)
{
if (empty()) {
*this = basic_object<string_t>();
}
return as_object()[std::move(key)];
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator|(const basic_object<string_t>& rhs) const&
{
return as_object() | rhs;
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator|(basic_object<string_t>&& rhs) const&
{
return as_object() | std::move(rhs);
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator|(const basic_object<string_t>& rhs) &&
{
return std::move(as_object()) | rhs;
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator|(basic_object<string_t>&& rhs) &&
{
return std::move(as_object()) | std::move(rhs);
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator|=(const basic_object<string_t>& rhs)
{
as_object() |= rhs;
return *this;
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator|=(basic_object<string_t>&& rhs)
{
as_object() |= std::move(rhs);
return *this;
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator+(const basic_array<string_t>& rhs) const&
{
return as_array() + rhs;
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator+(basic_array<string_t>&& rhs) const&
{
return as_array() + std::move(rhs);
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator+(const basic_array<string_t>& rhs) &&
{
return std::move(as_array()) + rhs;
}
template <typename string_t>
inline basic_value<string_t> basic_value<string_t>::operator+(basic_array<string_t>&& rhs) &&
{
return std::move(as_array()) + std::move(rhs);
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator+=(const basic_array<string_t>& rhs)
{
as_array() += rhs;
return *this;
}
template <typename string_t>
inline basic_value<string_t>& basic_value<string_t>::operator+=(basic_array<string_t>&& rhs)
{
as_array() += std::move(rhs);
return *this;
}
template <typename string_t>
template <typename... args_t>
inline basic_value<string_t>::basic_value(value_type type, args_t&&... args)
: _type(type), _raw_data(std::forward<args_t>(args)...)
{
static_assert(std::is_constructible_v<var_t, args_t...>, "Parameter can't be used to construct a var_t");
}
template <typename string_t>
inline typename basic_value<string_t>::var_t basic_value<string_t>::deep_copy(const var_t& src)
{
var_t dst;
if (const auto string_ptr = std::get_if<string_t>(&src)) {
dst = *string_ptr;
}
else if (const auto arr_ptr = std::get_if<array_ptr>(&src)) {
dst = std::make_unique<basic_array<string_t>>(**arr_ptr);
}
else if (const auto obj_ptr = std::get_if<object_ptr>(&src)) {
dst = std::make_unique<basic_object<string_t>>(**obj_ptr);
}
else {
// maybe invalid_value
}
return dst;
}
template <typename ostream_t, typename string_t,
typename std_ostream_t =
std::basic_ostream<typename string_t::value_type, std::char_traits<typename string_t::value_type>>,
typename =
std::enable_if_t<std::is_same_v<std_ostream_t, ostream_t> || std::is_base_of_v<std_ostream_t, ostream_t>>>
ostream_t& operator<<(ostream_t& out, const basic_value<string_t>& val)
{
out << val.format();
return out;
}
} // namespace json

View File

@@ -1,6 +0,0 @@
#pragma once
#include "common/serialization.hpp"
#include "common/types.hpp"
#include "parser/parser.hpp"
#include "reflection/jsonization.hpp"

View File

@@ -1,4 +0,0 @@
#pragma once
#include "common/types.hpp"
#include "parser5/parser5.hpp"

View File

@@ -1,112 +0,0 @@
#pragma once
#if __cplusplus >= 202002L || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)
#include <bit>
namespace json::_bitops
{
using std::countl_one;
using std::countl_zero;
using std::countr_one;
using std::countr_zero;
inline constexpr bool is_little_endian()
{
return std::endian::native == std::endian::little;
}
}
#else
#include <cstdint>
namespace json::_bitops
{
#if defined(__GNUC__) || defined(__clang__)
inline constexpr int countl_zero(uint32_t x)
{
if constexpr (sizeof(uint32_t) == sizeof(unsigned int)) return x == 0 ? 32 : __builtin_clz(x);
if constexpr (sizeof(uint32_t) == sizeof(unsigned long)) return x == 0 ? 32 : __builtin_clzl(x);
return x == 0 ? 32 : __builtin_clzll(x);
}
inline constexpr int countr_zero(uint32_t x)
{
if constexpr (sizeof(uint32_t) == sizeof(unsigned int)) return x == 0 ? 32 : __builtin_ctz(x);
if constexpr (sizeof(uint32_t) == sizeof(unsigned long)) return x == 0 ? 32 : __builtin_ctzl(x);
return x == 0 ? 32 : __builtin_ctzll(x);
}
inline constexpr int countl_zero(uint64_t x)
{
return x == 0 ? 64 : __builtin_clzll(x);
}
inline constexpr int countr_zero(uint64_t x)
{
return x == 0 ? 64 : __builtin_ctzll(x);
}
#elif defined(_MSC_VER)
#ifdef __AVX2__
// lzcnt intrinsics is not constexpr
inline int countl_zero(uint32_t x)
{
return __lzcnt(x);
}
inline int countr_zero(uint32_t x)
{
return _tzcnt_u32(x);
}
inline int countl_zero(uint64_t x)
{
return (int)__lzcnt64(x);
}
inline int countr_zero(uint64_t x)
{
return (int)_tzcnt_u64(x);
}
#else
inline constexpr int countl_zero(uint32_t x)
{
unsigned long index = 0;
return _BitScanReverse(&index, x) ? 31 - index : 32;
}
inline constexpr int countr_zero(uint32_t x)
{
unsigned long index = 0;
return _BitScanForward(&index, x) ? index : 32;
}
inline constexpr int countl_zero(uint64_t x)
{
unsigned long index = 0;
return _BitScanReverse64(&index, x) ? 63 - index : 64;
}
inline constexpr int countr_zero(uint64_t x)
{
unsigned long index = 0;
return _BitScanForward64(&index, x) ? index : 64;
}
#endif // __AVX2__
#else // compiler
#error "bring your own bit counting implementation"
#endif
inline int countl_one(uint32_t x)
{
return countl_zero(~x);
}
inline int countr_one(uint32_t x)
{
return countr_zero(~x);
}
inline int countl_one(uint64_t x)
{
return countl_zero(~x);
}
inline int countr_one(uint64_t x)
{
return countr_zero(~x);
}
// no constexpr endian awareness before C++20
inline bool is_little_endian()
{
union {
uint32_t u32;
uint8_t u8;
} u = { 0x01020304 };
return u.u8 == 4;
}
} // namespace json::_bitops
#endif // C++20

View File

@@ -1,141 +0,0 @@
#pragma once
#include <cstdint>
#include <cstring>
#include <type_traits>
#include "bitops.hpp"
#if defined(__GNUC__) || defined(__clang__)
#define __packed_bytes_strong_inline __attribute__((always_inline))
#elif defined(_MSC_VER)
#define __packed_bytes_strong_inline __forceinline
#else
#define __packed_bytes_strong_inline inline
#endif
namespace json::_packed_bytes
{
struct packed_bytes_trait_none
{
static constexpr bool available = false;
};
template <size_t N>
struct packed_bytes
{
using traits = packed_bytes_trait_none;
};
}
#if defined(__SSE2__) || defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP)
#include "packed_bytes_x86.hpp"
#elif defined(__ARM_NEON) || defined(_M_ARM) || defined(_M_ARM64)
#include "packed_bytes_arm.hpp"
#endif
namespace json::_packed_bytes
{
struct packed_bytes_trait_uint64
{
static constexpr bool available = sizeof(void*) >= 8;
static constexpr auto step = 8;
using value_type = uint64_t;
__packed_bytes_strong_inline static value_type load_unaligned(const void* ptr)
{
value_type result;
memcpy((void*)&result, ptr, 8);
return result;
}
__packed_bytes_strong_inline static value_type less(value_type x, uint8_t n)
{
return (((x)-UINT64_C(0x0101010101010101) * (n)) & ~(x)&UINT64_C(0x8080808080808080));
}
__packed_bytes_strong_inline static value_type is_zero_memberwise(value_type v)
{
return (((v)-UINT64_C(0x0101010101010101)) & ~(v)&UINT64_C(0x8080808080808080));
}
__packed_bytes_strong_inline static bool is_all_zero(value_type v) { return v == UINT64_C(0); }
__packed_bytes_strong_inline static value_type equal(value_type x, uint8_t n)
{
return is_zero_memberwise((x) ^ (UINT64_C(0x0101010101010101) * (n)));
}
__packed_bytes_strong_inline static value_type bitwise_or(value_type a, value_type b) { return a | b; }
__packed_bytes_strong_inline static size_t first_nonzero_byte(value_type x)
{
if (_bitops::is_little_endian())
return _bitops::countr_zero(x) / 8;
else
return _bitops::countl_zero(x) / 8;
}
};
struct packed_bytes_trait_uint32
{
static constexpr bool available = true;
static constexpr auto step = 4;
using value_type = uint32_t;
__packed_bytes_strong_inline static value_type load_unaligned(const void* ptr)
{
value_type result;
memcpy((void*)&result, ptr, 4);
return result;
}
__packed_bytes_strong_inline static value_type less(value_type x, uint8_t n)
{
return (((x) - ~UINT32_C(0) / 255 * (n)) & ~(x) & ~UINT32_C(0) / 255 * 128);
}
__packed_bytes_strong_inline static value_type is_zero_memberwise(value_type v)
{
return (((v)-UINT32_C(0x01010101)) & ~(v)&UINT32_C(0x80808080));
;
}
__packed_bytes_strong_inline static bool is_all_zero(value_type v) { return v == UINT32_C(0); }
__packed_bytes_strong_inline static value_type equal(value_type x, uint8_t n)
{
return is_zero_memberwise((x) ^ (~UINT32_C(0) / 255 * (n)));
}
__packed_bytes_strong_inline static value_type bitwise_or(value_type a, value_type b) { return a | b; }
__packed_bytes_strong_inline static size_t first_nonzero_byte(value_type x)
{
if (_bitops::is_little_endian())
return _bitops::countr_zero(x) / 8;
else
return _bitops::countl_zero(x) / 8;
}
};
template <>
struct packed_bytes<8>
{
using traits = packed_bytes_trait_uint64;
};
template <>
struct packed_bytes<4>
{
using traits = packed_bytes_trait_uint32;
};
template <size_t N>
using packed_bytes_trait = typename packed_bytes<N>::traits;
using packed_bytes_trait_max =
std::conditional_t<packed_bytes_trait<32>::available, packed_bytes_trait<32>,
std::conditional_t<packed_bytes_trait<16>::available, packed_bytes_trait<16>,
std::conditional_t<packed_bytes_trait<8>::available, packed_bytes_trait<8>,
packed_bytes_trait<4>>>>;
} // namespace json::_packed_bytes

View File

@@ -1,62 +0,0 @@
#pragma once
// current NEON implementation doesn't outperform 64-bit scalar implementation
#ifdef MEOJSON_ENABLE_NEON
#include "packed_bytes.hpp"
#include <arm_neon.h>
#if defined(__aarch64__) || defined(__arm64__) || defined(_M_ARM64)
#define __packed_bytes_trait_arm64
#endif
namespace json::_packed_bytes
{
struct packed_bytes_trait_neon
{
static constexpr bool available = true;
static constexpr auto step = 16;
using value_type = uint8x16_t;
__packed_bytes_strong_inline static value_type load_unaligned(const void* ptr) { return vld1q_u8((uint8_t*)ptr); }
__packed_bytes_strong_inline static value_type less(value_type x, uint8_t n)
{
auto bcast = vdupq_n_u8(n);
auto is_less = vcltq_u8(x, bcast);
return is_less;
}
__packed_bytes_strong_inline static value_type equal(value_type x, uint8_t n) { return vceqq_u8(x, vdupq_n_u8(n)); }
__packed_bytes_strong_inline static value_type equal(value_type x, value_type y) { return vceqq_u8(x, y); }
__packed_bytes_strong_inline static value_type bitwise_or(value_type a, value_type b) { return vorrq_u8(a, b); }
__packed_bytes_strong_inline static bool is_all_zero(value_type x)
{
#ifdef __packed_bytes_trait_arm64
return vmaxvq_u8(x) == 0;
#else
auto fold64 = vorr_u64(vget_high_u64(vreinterpretq_u8_u64(x), 0), vget_low_u64(vreinterpretq_u8_u64(x), 1));
auto fold32 = vget_lane_u32(vreinterpret_u64_u32(fold64), 0) | vget_lane_u32(vreinterpret_u64_u32(fold64), 1);
return fold32 == 0;
#endif
}
__packed_bytes_strong_inline static size_t first_nonzero_byte(value_type x)
{
// https://community.arm.com/arm-community-blogs/b/infrastructure-solutions-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon
auto cmp = equal(x, 0);
auto res = vshrn_n_u16(cmp, 4);
auto mask64 = vget_lane_u64(vreinterpret_u64_u8(res), 0);
return _bitops::countr_one(mask64) >> 2;
}
};
template <>
struct packed_bytes<16>
{
using traits = packed_bytes_trait_neon;
};
}
#endif

View File

@@ -1,125 +0,0 @@
#pragma once
#include "packed_bytes.hpp"
#include <emmintrin.h>
#if defined(__SSE4_1__) || defined(__AVX2__) || defined(_MSC_VER)
// MSVC enables all SSE4.1 intrinsics by default
#include <smmintrin.h>
#endif
namespace json::_packed_bytes
{
struct packed_bytes_trait_sse
{
static constexpr bool available = true;
static constexpr auto step = 16;
using value_type = __m128i;
__packed_bytes_strong_inline static value_type load_unaligned(const void* ptr)
{
return _mm_loadu_si128(reinterpret_cast<const __m128i*>(ptr));
}
__packed_bytes_strong_inline static value_type less(value_type x, uint8_t n)
{
auto bcast = _mm_set1_epi8(static_cast<char>(n));
auto all1 = _mm_set1_epi8(-1);
auto max_with_n = _mm_max_epu8(x, bcast);
auto is_greater_or_equal = _mm_cmpeq_epi8(max_with_n, x);
auto is_less = _mm_andnot_si128(is_greater_or_equal, all1);
return is_less;
}
__packed_bytes_strong_inline static value_type equal(value_type x, uint8_t n)
{
return _mm_cmpeq_epi8(x, _mm_set1_epi8(static_cast<char>(n)));
}
__packed_bytes_strong_inline static value_type equal(value_type x, value_type y) { return _mm_cmpeq_epi8(x, y); }
__packed_bytes_strong_inline static value_type bitwise_or(value_type a, value_type b) { return _mm_or_si128(a, b); }
__packed_bytes_strong_inline static bool is_all_zero(value_type x)
{
#if defined(__SSE4_1__) || defined(__AVX2__) || defined(_MSC_VER)
// SSE4.1 path
return !!_mm_testz_si128(x, x);
#else
// SSE2 path
auto cmp = _mm_cmpeq_epi8(x, _mm_set1_epi8(0));
auto mask = (uint16_t)_mm_movemask_epi8(cmp);
return mask == UINT16_C(0xFFFF);
#endif
}
__packed_bytes_strong_inline static size_t first_nonzero_byte(value_type x)
{
auto cmp = _mm_cmpeq_epi8(x, _mm_set1_epi8(0));
auto mask = (uint16_t)_mm_movemask_epi8(cmp);
return _bitops::countr_one((uint32_t)mask);
}
};
template <>
struct packed_bytes<16>
{
using traits = packed_bytes_trait_sse;
};
}
#ifdef __AVX2__
#include <immintrin.h>
namespace json::_packed_bytes
{
struct packed_bytes_trait_avx2
{
static constexpr bool available = true;
static constexpr auto step = 32;
using value_type = __m256i;
__packed_bytes_strong_inline static value_type load_unaligned(const void* ptr)
{
return _mm256_loadu_si256(reinterpret_cast<const __m256i*>(ptr));
}
__packed_bytes_strong_inline static value_type less(value_type x, uint8_t n)
{
auto bcast = _mm256_set1_epi8(static_cast<char>(n));
auto all1 = _mm256_set1_epi8(-1);
auto max_with_n = _mm256_max_epu8(x, bcast);
auto is_greater_or_equal = _mm256_cmpeq_epi8(max_with_n, x);
auto is_less = _mm256_andnot_si256(is_greater_or_equal, all1);
return is_less;
}
__packed_bytes_strong_inline static value_type equal(value_type x, uint8_t n)
{
return _mm256_cmpeq_epi8(x, _mm256_set1_epi8(static_cast<char>(n)));
}
__packed_bytes_strong_inline static value_type equal(value_type x, value_type y) { return _mm256_cmpeq_epi8(x, y); }
__packed_bytes_strong_inline static value_type bitwise_or(value_type a, value_type b)
{
return _mm256_or_si256(a, b);
}
__packed_bytes_strong_inline static bool is_all_zero(value_type x) { return (bool)_mm256_testz_si256(x, x); }
__packed_bytes_strong_inline static size_t first_nonzero_byte(value_type x)
{
auto cmp = _mm256_cmpeq_epi8(x, _mm256_set1_epi8(0));
auto mask = (uint32_t)_mm256_movemask_epi8(cmp);
// AVX512 alternative: _mm_cmpeq_epi8_mask
return _bitops::countr_one(mask);
}
};
template <>
struct packed_bytes<32>
{
using traits = packed_bytes_trait_avx2;
};
}
#endif

View File

@@ -1,627 +0,0 @@
#pragma once
#include <fstream>
#include <optional>
#include <ostream>
#include <string>
#include <tuple>
#include "../common/types.hpp"
#include "packed_bytes.hpp"
namespace json
{
// ****************************
// * parser declare *
// ****************************
template <typename string_t = default_string_t, typename parsing_t = void,
typename accel_traits = _packed_bytes::packed_bytes_trait_max>
class parser
{
public:
using parsing_iter_t = typename parsing_t::const_iterator;
public:
~parser() noexcept = default;
static std::optional<basic_value<string_t>> parse(const parsing_t& content);
private:
parser(parsing_iter_t cbegin, parsing_iter_t cend) noexcept : _cur(cbegin), _end(cend) { ; }
std::optional<basic_value<string_t>> parse();
basic_value<string_t> parse_value();
basic_value<string_t> parse_null();
basic_value<string_t> parse_boolean();
basic_value<string_t> parse_number();
// parse and return a basic_value<string_t> whose type is value_type::string
basic_value<string_t> parse_string();
basic_value<string_t> parse_array();
basic_value<string_t> parse_object();
// parse and return a string_t
std::optional<string_t> parse_stdstring();
bool skip_string_literal_with_accel();
bool skip_whitespace() noexcept;
bool skip_digit();
private:
parsing_iter_t _cur;
parsing_iter_t _end;
};
// ***************************
// * utils declare *
// ***************************
template <typename parsing_t>
auto parse(const parsing_t& content);
template <typename char_t>
auto parse(char_t* content);
template <typename istream_t,
typename = std::enable_if_t<std::is_base_of_v<std::basic_istream<typename istream_t::char_type>, istream_t>>>
auto parse(istream_t& istream, bool check_bom);
template <typename ifstream_t = std::ifstream, typename path_t = void>
auto open(const path_t& path, bool check_bom = false);
namespace literals
{
value operator""_json(const char* str, size_t len);
wvalue operator""_json(const wchar_t* str, size_t len);
value operator""_jvalue(const char* str, size_t len);
wvalue operator""_jvalue(const wchar_t* str, size_t len);
array operator""_jarray(const char* str, size_t len);
warray operator""_jarray(const wchar_t* str, size_t len);
object operator""_jobject(const char* str, size_t len);
wobject operator""_jobject(const wchar_t* str, size_t len);
}
template <typename string_t = default_string_t>
const basic_value<string_t> invalid_value();
// *************************
// * parser impl *
// *************************
template <typename string_t, typename parsing_t, typename accel_traits>
inline std::optional<basic_value<string_t>> parser<string_t, parsing_t, accel_traits>::parse(const parsing_t& content)
{
return parser<string_t, parsing_t, accel_traits>(content.cbegin(), content.cend()).parse();
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline std::optional<basic_value<string_t>> parser<string_t, parsing_t, accel_traits>::parse()
{
if (!skip_whitespace()) {
return std::nullopt;
}
basic_value<string_t> result_value;
switch (*_cur) {
case '[':
result_value = parse_array();
break;
case '{':
result_value = parse_object();
break;
default: // A JSON payload should be an basic_object or basic_array
return std::nullopt;
}
if (!result_value.valid()) {
return std::nullopt;
}
// After the parsing is complete, there should be no more content other than
// spaces behind
if (skip_whitespace()) {
return std::nullopt;
}
return result_value;
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_value()
{
switch (*_cur) {
case 'n':
return parse_null();
case 't':
case 'f':
return parse_boolean();
case '-':
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
return parse_number();
case '"':
return parse_string();
case '[':
return parse_array();
case '{':
return parse_object();
default:
return invalid_value<string_t>();
}
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_null()
{
for (const auto& ch : _utils::null_string<string_t>()) {
if (_cur != _end && *_cur == ch) {
++_cur;
}
else {
return invalid_value<string_t>();
}
}
return basic_value<string_t>();
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_boolean()
{
switch (*_cur) {
case 't':
for (const auto& ch : _utils::true_string<string_t>()) {
if (_cur != _end && *_cur == ch) {
++_cur;
}
else {
return invalid_value<string_t>();
}
}
return true;
case 'f':
for (const auto& ch : _utils::false_string<string_t>()) {
if (_cur != _end && *_cur == ch) {
++_cur;
}
else {
return invalid_value<string_t>();
}
}
return false;
default:
return invalid_value<string_t>();
}
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_number()
{
const auto first = _cur;
if (*_cur == '-') {
++_cur;
}
// numbers cannot have leading zeroes
if (_cur != _end && *_cur == '0' && _cur + 1 != _end && std::isdigit(*(_cur + 1))) {
return invalid_value<string_t>();
}
if (!skip_digit()) {
return invalid_value<string_t>();
}
if (*_cur == '.') {
++_cur;
if (!skip_digit()) {
return invalid_value<string_t>();
}
}
if (*_cur == 'e' || *_cur == 'E') {
if (++_cur == _end) {
return invalid_value<string_t>();
}
if (*_cur == '+' || *_cur == '-') {
++_cur;
}
if (!skip_digit()) {
return invalid_value<string_t>();
}
}
return basic_value<string_t>(basic_value<string_t>::value_type::number, string_t(first, _cur));
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_string()
{
auto string_opt = parse_stdstring();
if (!string_opt) {
return invalid_value<string_t>();
}
return basic_value<string_t>(basic_value<string_t>::value_type::string, std::move(string_opt).value());
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_array()
{
if (*_cur == '[') {
++_cur;
}
else {
return invalid_value<string_t>();
}
if (!skip_whitespace()) {
return invalid_value<string_t>();
}
else if (*_cur == ']') {
++_cur;
// empty basic_array
return basic_array<string_t>();
}
typename basic_array<string_t>::raw_array result;
while (true) {
if (!skip_whitespace()) {
return invalid_value<string_t>();
}
basic_value<string_t> val = parse_value();
if (!val.valid() || !skip_whitespace()) {
return invalid_value<string_t>();
}
result.emplace_back(std::move(val));
if (*_cur == ',') {
++_cur;
}
else {
break;
}
}
if (skip_whitespace() && *_cur == ']') {
++_cur;
}
else {
return invalid_value<string_t>();
}
return basic_array<string_t>(std::move(result));
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline basic_value<string_t> parser<string_t, parsing_t, accel_traits>::parse_object()
{
if (*_cur == '{') {
++_cur;
}
else {
return invalid_value<string_t>();
}
if (!skip_whitespace()) {
return invalid_value<string_t>();
}
else if (*_cur == '}') {
++_cur;
// empty basic_object
return basic_object<string_t>();
}
typename basic_object<string_t>::raw_object result;
while (true) {
if (!skip_whitespace()) {
return invalid_value<string_t>();
}
auto key_opt = parse_stdstring();
if (key_opt && skip_whitespace() && *_cur == ':') {
++_cur;
}
else {
return invalid_value<string_t>();
}
if (!skip_whitespace()) {
return invalid_value<string_t>();
}
basic_value<string_t> val = parse_value();
if (!val.valid() || !skip_whitespace()) {
return invalid_value<string_t>();
}
result.emplace(std::move(*key_opt), std::move(val));
if (*_cur == ',') {
++_cur;
}
else {
break;
}
}
if (skip_whitespace() && *_cur == '}') {
++_cur;
}
else {
return invalid_value<string_t>();
}
return basic_object<string_t>(std::move(result));
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline std::optional<string_t> parser<string_t, parsing_t, accel_traits>::parse_stdstring()
{
if (*_cur == '"') {
++_cur;
}
else {
return std::nullopt;
}
string_t result;
auto no_escape_beg = _cur;
while (_cur != _end) {
if constexpr (sizeof(*_cur) == 1 && accel_traits::available) {
if (!skip_string_literal_with_accel()) {
return std::nullopt;
}
}
switch (*_cur) {
case '\t':
case '\r':
case '\n':
return std::nullopt;
case '\\': {
result += string_t(no_escape_beg, _cur++);
if (_cur == _end) {
return std::nullopt;
}
switch (*_cur) {
case '"':
result.push_back('"');
break;
case '\\':
result.push_back('\\');
break;
case '/':
result.push_back('/');
break;
case 'b':
result.push_back('\b');
break;
case 'f':
result.push_back('\f');
break;
case 'n':
result.push_back('\n');
break;
case 'r':
result.push_back('\r');
break;
case 't':
result.push_back('\t');
break;
// case 'u':
// result.push_back('\u');
// break;
default:
// Illegal backslash escape
return std::nullopt;
}
no_escape_beg = ++_cur;
break;
}
case '"': {
result += string_t(no_escape_beg, _cur++);
return result;
}
default:
++_cur;
break;
}
}
return std::nullopt;
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline bool parser<string_t, parsing_t, accel_traits>::skip_string_literal_with_accel()
{
if constexpr (sizeof(*_cur) != 1) {
return false;
}
while (_end - _cur >= accel_traits::step) {
auto pack = accel_traits::load_unaligned(&(*_cur));
auto result = accel_traits::less(pack, 32);
result = accel_traits::bitwise_or(result, accel_traits::equal(pack, static_cast<uint8_t>('"')));
result = accel_traits::bitwise_or(result, accel_traits::equal(pack, static_cast<uint8_t>('\\')));
if (accel_traits::is_all_zero(result)) {
_cur += accel_traits::step;
}
else {
auto index = accel_traits::first_nonzero_byte(result);
_cur += index;
break;
}
}
return _cur != _end;
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline bool parser<string_t, parsing_t, accel_traits>::skip_whitespace() noexcept
{
while (_cur != _end) {
switch (*_cur) {
case ' ':
case '\t':
case '\r':
case '\n':
++_cur;
break;
case '\0':
return false;
default:
return true;
}
}
return false;
}
template <typename string_t, typename parsing_t, typename accel_traits>
inline bool parser<string_t, parsing_t, accel_traits>::skip_digit()
{
// At least one digit
if (_cur != _end && std::isdigit(*_cur)) {
++_cur;
}
else {
return false;
}
while (_cur != _end && std::isdigit(*_cur)) {
++_cur;
}
if (_cur != _end) {
return true;
}
else {
return false;
}
}
// *************************
// * utils impl *
// *************************
template <typename parsing_t>
auto parse(const parsing_t& content)
{
using string_t = std::basic_string<typename parsing_t::value_type>;
return parser<string_t, parsing_t>::parse(content);
}
template <typename char_t>
auto parse(char_t* content)
{
return parse(std::basic_string_view<std::decay_t<char_t>> { content });
}
template <typename istream_t, typename _>
auto parse(istream_t& ifs, bool check_bom)
{
using string_t = std::basic_string<typename istream_t::char_type>;
ifs.seekg(0, std::ios::end);
auto file_size = ifs.tellg();
ifs.seekg(0, std::ios::beg);
string_t str(file_size, '\0');
ifs.read(str.data(), file_size);
if (check_bom) {
using uchar = unsigned char;
static constexpr uchar Bom_0 = 0xEF;
static constexpr uchar Bom_1 = 0xBB;
static constexpr uchar Bom_2 = 0xBF;
if (str.size() >= 3 && static_cast<uchar>(str.at(0)) == Bom_0 && static_cast<uchar>(str.at(1)) == Bom_1 &&
static_cast<uchar>(str.at(2)) == Bom_2) {
str.assign(str.begin() + 3, str.end());
}
}
return parse(str);
}
template <typename ifstream_t, typename path_t>
auto open(const path_t& filepath, bool check_bom)
{
using char_t = typename ifstream_t::char_type;
using string_t = std::basic_string<char_t>;
using json_t = json::basic_value<string_t>;
using return_t = std::optional<json_t>;
ifstream_t ifs(filepath, std::ios::in);
if (!ifs.is_open()) {
return return_t(std::nullopt);
}
auto opt = parse(ifs, check_bom);
ifs.close();
return opt;
}
namespace literals
{
inline value operator""_json(const char* str, size_t len)
{
return operator""_jvalue(str, len);
}
inline wvalue operator""_json(const wchar_t* str, size_t len)
{
return operator""_jvalue(str, len);
}
inline value operator""_jvalue(const char* str, size_t len)
{
return parse(std::string_view(str, len)).value_or(value());
}
inline wvalue operator""_jvalue(const wchar_t* str, size_t len)
{
return parse(std::wstring_view(str, len)).value_or(wvalue());
}
inline array operator""_jarray(const char* str, size_t len)
{
auto val = parse(std::string_view(str, len)).value_or(value());
return val.is_array() ? val.as_array() : array();
}
inline warray operator""_jarray(const wchar_t* str, size_t len)
{
auto val = parse(std::wstring_view(str, len)).value_or(wvalue());
return val.is_array() ? val.as_array() : warray();
}
inline object operator""_jobject(const char* str, size_t len)
{
auto val = parse(std::string_view(str, len)).value_or(value());
return val.is_object() ? val.as_object() : object();
}
inline wobject operator""_jobject(const wchar_t* str, size_t len)
{
auto val = parse(std::wstring_view(str, len)).value_or(wvalue());
return val.is_object() ? val.as_object() : wobject();
}
} // namespace literals
template <typename string_t>
const basic_value<string_t> invalid_value()
{
return basic_value<string_t>(basic_value<string_t>::value_type::invalid, typename basic_value<string_t>::var_t());
}
} // namespace json

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,241 +0,0 @@
#pragma once
#include <string>
#include <type_traits>
#include "../common/types.hpp"
namespace json::_jsonization_helper
{
struct next_is_optional_t
{};
struct va_arg_end
{};
struct dumper
{
template <typename var_t, typename... rest_t>
json::value _to_json(const char* key, const var_t& var, rest_t&&... rest) const
{
json::value result = _to_json(std::forward<rest_t>(rest)...);
result.emplace(key, var);
return result;
}
template <typename... rest_t>
json::value _to_json(const char*, next_is_optional_t, rest_t&&... rest) const
{
return _to_json(std::forward<rest_t>(rest)...);
}
json::value _to_json(va_arg_end) const { return {}; }
};
struct checker
{
template <typename var_t, typename... rest_t>
bool _check_json(const json::value& in, std::string& error_key, const char* key, const var_t&,
rest_t&&... rest) const
{
auto opt = in.find(key);
if (!opt || !opt->is<var_t>()) {
error_key = key;
return false;
}
return _check_json(in, error_key, std::forward<rest_t>(rest)...);
}
template <typename var_t, typename... rest_t>
bool _check_json(const json::value& in, std::string& error_key, const char*, next_is_optional_t, const char* key,
const var_t&, rest_t&&... rest) const
{
auto opt = in.find(key);
if (opt) {
if (!opt->is<var_t>()) {
error_key = key;
return false;
}
} // next_is_optional_t, ignore key not found
return _check_json(in, error_key, std::forward<rest_t>(rest)...);
}
bool _check_json(const json::value&, std::string&, va_arg_end) const { return true; }
};
struct loader
{
template <typename var_t, typename... rest_t>
bool _from_json(const json::value& in, std::string& error_key, const char* key, var_t& var, rest_t&&... rest) const
{
auto opt = in.find(key);
if (!opt || !opt->is<var_t>()) {
error_key = key;
return false;
}
var = std::move(opt)->as<var_t>();
return _from_json(in, error_key, std::forward<rest_t>(rest)...);
}
template <typename var_t, typename... rest_t>
bool _from_json(const json::value& in, std::string& error_key, const char*, next_is_optional_t, const char* key,
var_t& var, rest_t&&... rest) const
{
auto opt = in.find(key);
if (opt) {
if (!opt->is<var_t>()) {
error_key = key;
return false;
}
var = std::move(opt)->as<var_t>();
} // next_is_optional_t, ignore key not found
return _from_json(in, error_key, std::forward<rest_t>(rest)...);
}
bool _from_json(const json::value&, std::string&, va_arg_end) const { return true; }
};
} // namespace json::_jsonization_helper
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
#endif
namespace json::_private_macro
{
#define _MEOJSON_STRINGIZE(arg) _MEOJSON_STRINGIZE1(arg)
#define _MEOJSON_STRINGIZE1(arg) _MEOJSON_STRINGIZE2(arg)
#define _MEOJSON_STRINGIZE2(arg) #arg
#define _MEOJSON_CONCATENATE(arg1, arg2) _MEOJSON_CONCATENATE1(arg1, arg2)
#define _MEOJSON_CONCATENATE1(arg1, arg2) _MEOJSON_CONCATENATE2(arg1, arg2)
#define _MEOJSON_CONCATENATE2(arg1, arg2) arg1##arg2
#define _MEOJSON_EXPAND(x) x
#define _MEOJSON_FOR_EACH_0(pred, ...)
#define _MEOJSON_FOR_EACH_1(pred, x, ...) pred(x)
#define _MEOJSON_FOR_EACH_2(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_1(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_3(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_2(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_4(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_3(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_5(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_4(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_6(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_5(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_7(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_6(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_8(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_7(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_9(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_8(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_10(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_9(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_11(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_10(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_12(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_11(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_13(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_12(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_14(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_13(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_15(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_14(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_16(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_15(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_17(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_16(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_18(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_17(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_19(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_18(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_20(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_19(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_21(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_20(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_22(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_21(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_23(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_22(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_24(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_23(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_25(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_24(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_26(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_25(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_27(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_26(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_28(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_27(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_29(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_28(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_30(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_29(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_31(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_30(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_32(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_31(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_33(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_32(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_34(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_33(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_35(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_34(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_36(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_35(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_37(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_36(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_38(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_37(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_39(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_38(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_40(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_39(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_41(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_40(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_42(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_41(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_43(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_42(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_44(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_43(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_45(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_44(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_46(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_45(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_47(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_46(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_48(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_47(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_49(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_48(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_50(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_49(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_51(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_50(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_52(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_51(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_53(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_52(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_54(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_53(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_55(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_54(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_56(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_55(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_57(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_56(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_58(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_57(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_59(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_58(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_60(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_59(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_61(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_60(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_62(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_61(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_63(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_62(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH_64(pred, x, ...) pred(x) _MEOJSON_EXPAND(_MEOJSON_FOR_EACH_63(pred, __VA_ARGS__))
#define _MEOJSON_ARG_COUNT(...) \
_MEOJSON_EXPAND(_MEOJSON_ARG_COUNT1(0, ##__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, \
49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, \
30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, \
11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0))
#define _MEOJSON_ARG_COUNT1(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, _62, _63, _64, N, ...) \
N
#define _MEOJSON_FOR_EACH_(N, pred, ...) _MEOJSON_EXPAND(_MEOJSON_CONCATENATE(_MEOJSON_FOR_EACH_, N)(pred, __VA_ARGS__))
#define _MEOJSON_FOR_EACH(pred, ...) \
_MEOJSON_EXPAND(_MEOJSON_FOR_EACH_(_MEOJSON_EXPAND(_MEOJSON_ARG_COUNT(__VA_ARGS__)), pred, __VA_ARGS__))
#define _MEOJSON_VARNAME(x) _MEOJSON_CONCATENATE(_meojson_jsonization_, x)
#define _MEOJSON_KEY_VALUE(x) _MEOJSON_STRINGIZE(x), x,
} // namespace json::_private_macro
#define MEO_TOJSON(...) \
json::value to_json() const \
{ \
return json::_jsonization_helper::dumper()._to_json(_MEOJSON_EXPAND( \
_MEOJSON_FOR_EACH(_MEOJSON_KEY_VALUE, __VA_ARGS__)) json::_jsonization_helper::va_arg_end {}); \
}
#define MEO_CHECKJSON(...) \
bool check_json(const json::value& _MEOJSON_VARNAME(in)) const \
{ \
std::string _MEOJSON_VARNAME(error_key); \
return check_json(_MEOJSON_VARNAME(in), _MEOJSON_VARNAME(error_key)); \
} \
bool check_json(const json::value& _MEOJSON_VARNAME(in), std::string& _MEOJSON_VARNAME(error_key)) const \
{ \
return json::_jsonization_helper::checker()._check_json( \
_MEOJSON_VARNAME(in), _MEOJSON_VARNAME(error_key), \
_MEOJSON_EXPAND(_MEOJSON_FOR_EACH(_MEOJSON_KEY_VALUE, __VA_ARGS__)) \
json::_jsonization_helper::va_arg_end {}); \
}
#define MEO_FROMJSON(...) \
bool from_json(const json::value& _MEOJSON_VARNAME(in)) \
{ \
std::string _MEOJSON_VARNAME(error_key); \
return from_json(_MEOJSON_VARNAME(in), _MEOJSON_VARNAME(error_key)); \
} \
bool from_json(const json::value& _MEOJSON_VARNAME(in), std::string& _MEOJSON_VARNAME(error_key)) \
{ \
return json::_jsonization_helper::loader()._from_json( \
_MEOJSON_VARNAME(in), _MEOJSON_VARNAME(error_key), \
_MEOJSON_EXPAND(_MEOJSON_FOR_EACH(_MEOJSON_KEY_VALUE, __VA_ARGS__)) \
json::_jsonization_helper::va_arg_end {}); \
}
#define MEO_JSONIZATION(...) \
_MEOJSON_EXPAND(MEO_TOJSON(__VA_ARGS__)) \
_MEOJSON_EXPAND(MEO_CHECKJSON(__VA_ARGS__)) \
_MEOJSON_EXPAND(MEO_FROMJSON(__VA_ARGS__))
#define MEO_OPT json::_jsonization_helper::next_is_optional_t {},
#if defined(__clang__)
#pragma clang diagnostic pop // -Wgnu-zero-variadic-macro-arguments
#endif

View File

@@ -1,57 +1,56 @@
## v5.13.0-beta.2
## v6.0.0
### Highlights
#### .NET 10 升级
MAA 已升级至 .NET 10带来性能与开发体验改进取消单文件发布同时将第三方依赖移至子文件夹在保持目录清爽的同时有效减少更新包的体积。 (PR #14971, #14984) @SherkeyXD @ABA2396
#### 关卡导航与小游戏优化
重构关卡导航 API小游戏列表可通过 API 动态获取并支持配置小游戏开放时间,增强灵活性与可配置性。 (PR #14997) @ABA2396
----
#### .NET 10 Upgrade
MAA has been upgraded to .NET 10, improving performance and the developer experience. Cancel the single file release and move third-party dependencies to subfolders, effectively reducing update package size while keeping the directory clean. (PR #14971) @SherkeyXD @ABA2396
#### Stage Navigation and Mini-game Optimization
Refactored the stage navigation API. Mini-game lists can be retrieved via API and opening times configured, improving flexibility. (PR #14997, #14984) @ABA2396
----
以下是详细内容:
## v6.0.0
### 新增 | New
* 添加 MirrorChyan 资源更新方式 (#11669) @ABA2396 @MistEO
* discord link for website docs (#11687) @Constrat @momomochi987 @Rbqwow
* Discord link in About Us @Constrat
* 适配新 ui 未进驻选项 @ABA2396
* en announcement wpf logic @Constrat
* `LocalizationHelper` 支持 `TryGetString``HasTranslation` @ABA2396
* 将第三方依赖移至子文件夹以减小更新包体积 (PR #14984) @ABA2396
### 改进 | Improved
* mirrorchyan toast @MistEO
* 简化肉鸽任务使用助战参数内部存储流程 @status102
* 添加资源更新提示翻译 @ABA2396
* 将Sarkaz开局添加负荷干员的进入任务改为范围点击 (#11100) @Daydreamer114
* 萨卡兹肉鸽不期而遇统一使用默认策略 (#11512) @Daydreamer114
* 小工具-仓库识别 隐藏黑边 @ABA2396
* 重构关卡导航 API小游戏列表通过 API 获取并支持配置开放时间 (PR #14997) @ABA2396
* RoguelikeStageTrader 与 OCR 兼容性与 UI 优化,改进多区域支持 (PR #15047, #15026) @Manicsteiner @HX3N
* 将部分 P/Invoke 从 `DllImport` 切换为 `LibraryImport`,提高跨平台兼容性 @status102
### 修复 | Fix
* mirror-chyan notify error @MistEO
* missing `user_agent` param for mirrorchyan query @MistEO
* Wpf肉鸽烧水时使用分队UI为空 @status102
* 肉鸽临时招募预备干员时, 不额外提升权重 (#11442) @Daydreamer114
* 公告窗口触控板滚动异常 (#11684) @Rbqwow
* styling @Constrat
* 添加不期而遇新事件空无前兆 (#11573) @DavidWang19
* Attempt retry once screencap for MumuExtras (#11550) @teldd1
* 肉鸽作战编队截图过快导致截图与实际不符 (#11527) @Daydreamer114
* 肉鸽烧水未获得目标奖励逻辑补漏 @status102
* 幸运墙领取奖励界面识别过早 @status102
* 临时处理肉鸽烧水flag异常 @status102
* 修复 nightly OTA dotnet 构建问题 (PR #14996) @Manicsteiner
* 修复资源更新时创建 ToolTip 失败的问题 @ABA2396
* 修复自动编队/助战模块中 retry 与标记导致的重复或遗漏问题 @status102
* 修复多活动同时开放时被错误折叠的问题 @ABA2396
### 文档 | Docs
* Auto Update Changelogs of v5.13.0-beta.1 (#11703) @github-actions[bot] @Constrat
* 推荐分辨率720P或1080P (#11651) @Rbqwow
* 替换.NET8 桌面运行时下载链接为直链 (#11693) @wryx166
* 肉鸽推荐开局策略 (#11570) @Rbqwow @Constrat
* 在 VS Code 扩展中补充日志查看说明 (PR #14696) @NtskwK
* 在文档中更新 .NET 版本说明为 10 (PR #15023) @wryx166
### 其他 | Other
* Mirror酱说明调整 @status102
* NoSkland 放到 wpf 内部 @ABA2396
* 任务执行期间Log Rotate增加检查并上调阈值至64MiB (#11670) @status102
* 密钥改成 PasswordBox @ABA2396
* remove chinese punctuation from en @Constrat
* JP 艾雅法拉 ocrReplace (#11685) @Saratoga-Official @status102 @Daydreamer114
* 调整肉鸽选择烧水奖励任务链重新将Roguelike@LastRewardConfirm并入主任务链 (#11689) @status102
* add discord link to main readme @Constrat
* 修改划火柴设置界面布局 (#11682) @Rbqwow
* WpfGui划火柴相关说明调整 @status102
* Revert "perf: 肉鸽优先拿美愿 (#11558)" (#11565) @Daydreamer114
* 繁中服「懷黍離」導航入口更動 (#11662) @momomochi987
* 调整基建办公室阈值 @ABA2396
* 调整 InfrastBottomLeftTab 的 specificRect @ABA2396
* 移除废弃的右键添加作业集行为 @status102
* 移除不再使用的 `report` 与相关引用 @status102
* 若干 OCR 与文本替换的局部改进 YostarKR / YostarJP @HX3N @Manicsteiner

View File

@@ -1,194 +1,50 @@
cmake_minimum_required(VERSION 3.21)
project(MaaAssistantArknights)
cmake_minimum_required(VERSION 3.28)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
endif ()
project(MAA)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
option(BUILD_TEST "build a demo" OFF)
option(BUILD_WPF_GUI "build MaaWpfGui" ${WIN32})
option(BUILD_DEBUG_DEMO "build debug demo" OFF)
option(BUILD_XCFRAMEWORK "build xcframework for macOS app" OFF)
option(BUILD_UNIVERSAL "build both arm64 and x86_64 on macOS" OFF)
option(BUILD_SMOKE_TEST "build smoke_test" OFF)
option(INSTALL_PYTHON "install python ffi" OFF)
option(INSTALL_RESOURCE "install resource" OFF)
option(INSTALL_DEVEL "install development files" OFF)
option(INSTALL_FLATTEN "do not use bin lib include directory" ON)
option(INSTALL_THIRD_LIBS "install third party libraries" ON)
option(USE_MAADEPS "use third-party libraries built by MaaDeps" ON)
option(USE_RANGE_V3 "use range-v3" OFF)
option(WITH_EMULATOR_EXTRAS "build with emulator extras" ${WIN32})
option(WITH_THRIFT "build with thrift" OFF)
option(WITH_ASST_DEBUG "build with ASST_DEBUG defined" OFF)
include(${PROJECT_SOURCE_DIR}/cmake/utils.cmake)
include(${PROJECT_SOURCE_DIR}/cmake/thrift-gen.cmake)
if(USE_MAADEPS)
include(${PROJECT_SOURCE_DIR}/MaaDeps/maadeps.cmake)
endif()
add_library(header_only_libraries INTERFACE)
target_include_directories(header_only_libraries INTERFACE 3rdparty/include 3rdparty/EmulatorExtras)
file(GLOB_RECURSE maa_src src/MaaCore/*.cpp)
add_library(MaaCore SHARED ${maa_src})
if (MSVC)
target_compile_options(MaaCore PRIVATE "/utf-8")
target_compile_options(MaaCore PRIVATE "/MP")
target_compile_options(MaaCore PRIVATE "/W4;/WX")
target_compile_options(MaaCore PRIVATE "/wd4127") # conditional expression is constant
target_compile_options(MaaCore PRIVATE "/Wv:19.35.32217") # disable warning introduced after this version
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
else ()
target_compile_options(MaaCore PRIVATE "-Wall;-Wextra;-Wpedantic")
# LLVM clang 16 will failed with `error: no member named 'join' in namespace 'std::ranges::views'`, but Apple clang 16 won't
# value defined in https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
if ((CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)
OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 17))
target_compile_options(MaaCore PRIVATE "-fexperimental-library")
endif ()
endif ()
if (WIN32)
#注意相比VS版本缺少了 -D_CONSOLE -D_WINDLL 两项
target_compile_definitions(MaaCore PRIVATE ASST_DLL_EXPORTS _UNICODE UNICODE)
endif ()
target_include_directories(MaaCore PUBLIC include PRIVATE src/MaaCore)
set(MaaCore_PUBLIC_HEADERS include/AsstCaller.h include/AsstPort.h)
target_sources(MaaCore PUBLIC ${MaaCore_PUBLIC_HEADERS})
set_target_properties(MaaCore PROPERTIES
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
PUBLIC_HEADER "${MaaCore_PUBLIC_HEADERS}"
)
if(APPLE)
set_target_properties(MaaCore PROPERTIES INSTALL_RPATH "@loader_path/")
elseif(UNIX)
set_target_properties(MaaCore PROPERTIES INSTALL_RPATH "$ORIGIN/")
endif()
if (BUILD_TEST)
add_executable(test src/Cpp/main.cpp)
set_target_properties(test PROPERTIES
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
)
target_link_libraries(test MaaCore)
endif (BUILD_TEST)
find_package(OpenCV REQUIRED COMPONENTS core imgproc imgcodecs videoio)
find_package(ZLIB REQUIRED)
find_package(cpr CONFIG REQUIRED)
list(APPEND maa_libs ${OpenCV_LIBS} ZLIB::ZLIB cpr::cpr header_only_libraries)
if(USE_MAADEPS)
find_package(asio REQUIRED)
list(APPEND maa_libs asio::asio)
endif()
find_package(onnxruntime CONFIG REQUIRED) # provided by onnxruntime>=1.16
list(APPEND maa_libs onnxruntime::onnxruntime)
if(DEFINED fastdeploy_SOURCE_DIR)
# TODO: FetchContent github.com/MaaAssistantArknights/FastDeploy
if(NOT DEFINED fastdeploy_BINARY_DIR)
set(fastdeploy_BINARY_DIR ${CMAKE_BINARY_DIR}/fastdeploy)
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_subdirectory(${fastdeploy_SOURCE_DIR} ${fastdeploy_BINARY_DIR} EXCLUDE_FROM_ALL SYSTEM)
if(NOT DEFINED fastdeploy_INCLUDE_DIRS)
set(fastdeploy_INCLUDE_DIRS ${fastdeploy_SOURCE_DIR})
endif()
target_include_directories(MaaCore SYSTEM PRIVATE ${fastdeploy_INCLUDE_DIRS})
get_target_property(fastdeploy_type fastdeploy_ppocr TYPE)
if(fastdeploy_type STREQUAL "SHARED_LIBRARY")
install(TARGETS fastdeploy_ppocr)
endif()
else()
find_package(fastdeploy_ppocr REQUIRED)
endif()
list(APPEND maa_libs fastdeploy_ppocr)
target_link_libraries(MaaCore ${maa_libs})
if(WITH_EMULATOR_EXTRAS AND NOT EXISTS ${PROJECT_SOURCE_DIR}/3rdparty/EmulatorExtras/Mumu)
message(WARNING "EmulatorExtras not found, please run `git submodule update --init 3rdparty/EmulatorExtras`")
set(WITH_EMULATOR_EXTRAS OFF)
endif()
target_compile_definitions(MaaCore PRIVATE ASST_WITH_EMULATOR_EXTRAS=$<BOOL:${WITH_EMULATOR_EXTRAS}>)
if(WITH_THRIFT)
find_package(Thrift CONFIG REQUIRED)
add_subdirectory(src/MaaThriftController)
target_link_libraries(MaaCore MaaThriftController)
endif(WITH_THRIFT)
if (WITH_ASST_DEBUG)
target_compile_definitions(MaaCore PRIVATE ASST_DEBUG)
endif ()
if(WIN32)
target_link_libraries(MaaCore ws2_32)
endif()
if (USE_RANGE_V3)
target_compile_definitions(MaaCore PRIVATE ASST_USE_RANGES_RANGE_V3)
find_package(range-v3 REQUIRED)
target_link_libraries(MaaCore range-v3::range-v3)
endif ()
if(INSTALL_DEVEL)
set(MaaCore_install_extra_args PUBLIC_HEADER DESTINATION devel/include ARCHIVE DESTINATION devel/lib)
endif()
option(WITH_HASH_VERSION "generate version from git hash" OFF)
if(INSTALL_FLATTEN)
set(RPATH_LIBRARY_INSTALL_DIR .)
set(MaaCore_install_flatten_args RUNTIME DESTINATION . LIBRARY DESTINATION . PUBLIC_HEADER DESTINATION .)
endif()
install(TARGETS MaaCore ${MaaCore_install_flatten_args} ${MaaCore_install_extra_args})
include(src/MaaUtils/MaaUtils.cmake)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules")
include(${PROJECT_SOURCE_DIR}/cmake/config.cmake)
include(${PROJECT_SOURCE_DIR}/cmake/utils.cmake)
if(INSTALL_THIRD_LIBS AND USE_MAADEPS)
maadeps_install()
if(APPLE)
include(${PROJECT_SOURCE_DIR}/cmake/macos.cmake)
endif()
if (INSTALL_PYTHON)
add_library(HeaderOnlyLibraries INTERFACE)
target_include_directories(HeaderOnlyLibraries INTERFACE 3rdparty/include)
add_subdirectory(src/MaaCore)
if(BUILD_WPF_GUI)
include_external_msproject(MaaWpfGui ${PROJECT_SOURCE_DIR}/src/MaaWpfGui/MaaWpfGui.csproj)
add_dependencies(MaaWpfGui MaaCore)
endif()
if(INSTALL_PYTHON)
install(DIRECTORY src/Python DESTINATION .)
endif (INSTALL_PYTHON)
if (INSTALL_RESOURCE)
endif()
if(INSTALL_RESOURCE)
install(DIRECTORY resource DESTINATION .)
endif (INSTALL_RESOURCE)
endif()
if (APPLE)
include(${PROJECT_SOURCE_DIR}/cmake/macos.cmake)
endif (APPLE)
# define MAA_VERSION from git
if (NOT DEFINED MAA_VERSION)
find_package(Git)
endif ()
if (NOT DEFINED MAA_VERSION AND GIT_FOUND)
execute_process(
COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
RESULT_VARIABLE result
OUTPUT_VARIABLE output
ERROR_VARIABLE err
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if (result EQUAL 0)
set(MAA_VERSION "${output}")
else ()
message(WARNING "git rev-parse returning ${result}, output:\n${err}")
endif ()
endif ()
if (NOT MAA_VERSION)
set(MAA_VERSION "DEBUG VERSION")
endif ()
message(STATUS "MAA_VERSION=${MAA_VERSION}")
add_compile_definitions(MAA_VERSION="${MAA_VERSION}")
if(BUILD_DEBUG_DEMO OR BUILD_SMOKE_TEST)
add_subdirectory(src/Cpp)
endif()

View File

@@ -1,18 +0,0 @@
@echo off
chcp 65001
setlocal enabledelayedexpansion
openfiles >nul 2>&1
if %errorlevel% neq 0 (
echo 正在获取管理员权限...
echo Obtaining administrator privileges...
powershell -Command "Start-Process cmd.exe -ArgumentList '/c %~dpnx0' -Verb RunAs"
exit /b
)
winget install "Microsoft.VCRedist.2015+.x64" --override "/repair /passive /norestart" --uninstall-previous --accept-package-agreements --force
winget install "Microsoft.DotNet.DesktopRuntime.8" --override "/repair /passive /norestart" --uninstall-previous --accept-package-agreements --force
echo 运行库修复完成,请重启电脑后再次尝试运行 MAA。
echo The runtime library repair is complete. Please restart your computer and try running MAA again.
pause

View File

@@ -1,15 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Arknights/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Bilibili/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Infrast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=oper/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=opers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pallas/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pormpt/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Rougelike/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=templ/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=thres/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Todays/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=txwy/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vuvm/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=XYAZ/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

106
MAA.sln
View File

@@ -1,106 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32616.157
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MaaWpfGui", "src\MaaWpfGui\MaaWpfGui.csproj", "{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}"
ProjectSection(ProjectDependencies) = postProject
{362D1E30-F5AE-4279-9985-65C27B3BA300} = {362D1E30-F5AE-4279-9985-65C27B3BA300}
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC} = {F860C043-4D86-41B6-A97E-4A75C9A6C4EC}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MaaCore", "src\MaaCore\MaaCore.vcxproj", "{362D1E30-F5AE-4279-9985-65C27B3BA300}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MaaThriftController", "src\MaaThriftController\MaaThriftController.vcxproj", "{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{11F02235-5785-408B-9651-8A4B41FF36F4}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SyncRes", "src\SyncRes\SyncRes.csproj", "{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Sample", "src\Cpp\MaaSample.vcxproj", "{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}"
ProjectSection(ProjectDependencies) = postProject
{362D1E30-F5AE-4279-9985-65C27B3BA300} = {362D1E30-F5AE-4279-9985-65C27B3BA300}
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC} = {F860C043-4D86-41B6-A97E-4A75C9A6C4EC}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
RelWithDebInfo|ARM64 = RelWithDebInfo|ARM64
RelWithDebInfo|x64 = RelWithDebInfo|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Debug|ARM64.ActiveCfg = Debug|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Debug|ARM64.Build.0 = Debug|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Debug|x64.ActiveCfg = Debug|x64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Debug|x64.Build.0 = Debug|x64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Release|ARM64.ActiveCfg = Release|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Release|ARM64.Build.0 = Release|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Release|x64.ActiveCfg = Release|x64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.Release|x64.Build.0 = Release|x64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|ARM64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{FFDC8F49-8EAF-45BE-B0A8-7EF0DB9875A2}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Debug|ARM64.ActiveCfg = Debug|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Debug|ARM64.Build.0 = Debug|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Debug|x64.ActiveCfg = Debug|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Debug|x64.Build.0 = Debug|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Release|ARM64.ActiveCfg = Release|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Release|ARM64.Build.0 = Release|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Release|x64.ActiveCfg = Release|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.Release|x64.Build.0 = Release|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|ARM64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{362D1E30-F5AE-4279-9985-65C27B3BA300}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Debug|ARM64.ActiveCfg = Debug|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Debug|ARM64.Build.0 = Debug|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Debug|x64.ActiveCfg = Debug|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Debug|x64.Build.0 = Debug|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Release|ARM64.ActiveCfg = Release|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Release|ARM64.Build.0 = Release|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Release|x64.ActiveCfg = Release|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.Release|x64.Build.0 = Release|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|ARM64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{8238EDB1-19BF-4E3B-AF5B-016120D59D7B}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Debug|ARM64.ActiveCfg = Debug|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Debug|ARM64.Build.0 = Debug|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Debug|x64.ActiveCfg = Debug|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Debug|x64.Build.0 = Debug|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Release|ARM64.ActiveCfg = Release|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Release|ARM64.Build.0 = Release|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Release|x64.ActiveCfg = Release|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.Release|x64.Build.0 = Release|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|ARM64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{F860C043-4D86-41B6-A97E-4A75C9A6C4EC}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Debug|ARM64.ActiveCfg = Debug|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Debug|ARM64.Build.0 = Debug|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Debug|x64.ActiveCfg = Debug|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Debug|x64.Build.0 = Debug|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Release|ARM64.ActiveCfg = Release|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Release|ARM64.Build.0 = Release|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Release|x64.ActiveCfg = Release|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.Release|x64.Build.0 = Release|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|ARM64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{63B4F1A2-291C-4C85-91E1-A1F6DAE30D64}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4F2C0E4B-4FE9-47C6-A878-6BD2FAD8B9B2}
EndGlobalSection
EndGlobal

View File

@@ -1,155 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=EN/@EntryIndexedValue">EN</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=KR/@EntryIndexedValue">KR</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=JP/@EntryIndexedValue">JP</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GUI/@EntryIndexedValue">GUI</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SWMINIMIZE/@EntryIndexedValue">SWMINIMIZE</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=AP/@EntryIndexedValue">AP</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=AP_002D/@EntryIndexedValue">AP-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=CA/@EntryIndexedValue">CA</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=CA_002D/@EntryIndexedValue">CA-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=CE/@EntryIndexedValue">CE</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=CE_002D/@EntryIndexedValue">CE-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=EN/@EntryIndexedValue">EN</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=IS/@EntryIndexedValue">IS</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=JP/@EntryIndexedValue">JP</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=KR/@EntryIndexedValue">KR</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=LD/@EntryIndexedValue">LD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=LS/@EntryIndexedValue">LS</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=LS_002D/@EntryIndexedValue">LS-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DA/@EntryIndexedValue">PR-A</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DA_002D/@EntryIndexedValue">PR-A-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DB/@EntryIndexedValue">PR-B</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DB_002D/@EntryIndexedValue">PR-B-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DC/@EntryIndexedValue">PR-C</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DC_002D/@EntryIndexedValue">PR-C-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DD/@EntryIndexedValue">PR-D</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=PR_002DD_002D/@EntryIndexedValue">PR-D-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=SK/@EntryIndexedValue">SK</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=SK_002D/@EntryIndexedValue">SK-</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=SSS/@EntryIndexedValue">SSS</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=WSA/@EntryIndexedValue">WSA</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/Abbreviations/=XYAZ/@EntryIndexedValue">XYAZ</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acfend/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acguad/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acpion/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acspec/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=acsupo/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=advapi/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Aero/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Affero/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=aguard/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=amedic/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=amiya/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=apionr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=arget/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Arknights/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=arkplanner/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=asnipe/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=autofill/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Bilibili/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Bluestacks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=bsconsole/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ccast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cdfend/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cguard/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Chyan/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cmedic/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Collapsal/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cpione/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=csnipe/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cspec/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=csuppo/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ctrler/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=desp/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dnplayer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Ehem/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=esource/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Favourite/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=filetime/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=findstr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=FLASHW/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=FLASHWINFO/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=foldartal/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Foldartals/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=framerate/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=furni/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Gacha/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Gavial/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Grandet/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Hotkey/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=hwnd/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Infrast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Inited/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=iter/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=jsend/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ldconsole/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ldplayer/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=LD_0027s/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=leidian/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Lolicon/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=lpwndpl/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ls_005B_0022sub/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=luestacks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=maatouch/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=memuc/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Minitouch/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Mizuki/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Mumu/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nemu/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Netease/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=netstat/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nonfriend/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=notstationed/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=objstr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=oper/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=opers/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Originite/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Originium/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=originiums/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Orundum/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Orundums/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=o_FF9Fv_FF9F/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pallas/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=pidl/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pormpt/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=powrprof/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ppidl/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Prts/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=pwfi/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=qmsg/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Raidian/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rcast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rdfend/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rguard/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rmean/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rmedic/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Roguelike/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rsnipe/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sami/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sarkaz/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Screencap/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=sctp/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=serilog/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Showminimized/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Shownormal/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=specialaccess/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SSS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=STGM/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Stormeye/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=strlen/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Stylet/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=subtask/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Suppressions/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SWMINIMIZE/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=taskchain/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Todays/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=txwy/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ucrtbase/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=XYAZ/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Yahei/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=yituliu/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=_0020_0020_0020wp_002ELength_0020/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=_0020_003D_0020stri/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@@ -4,7 +4,7 @@
<img alt="LOGO" src="./docs/.vuepress/public/images/maa-logo_512x512.png" width="256" height="256" />
# MaaAssistantArknights
# MAA
<br>
<div>
@@ -21,11 +21,14 @@
<img alt="stars" src="https://img.shields.io/github/stars/MaaAssistantArknights/MaaAssistantArknights?style=social">
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/MaaAssistantArknights/MaaAssistantArknights/total?style=social">
</div>
<div>
<a href="https://deepwiki.com/MaaAssistantArknights/MaaAssistantArknights"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
</div>
<br>
<!-- markdownlint-restore -->
[简体中文](https://maa.plus/docs/zh-cn/) | [繁體中文](https://maa.plus/docs/zh-tw/) | [English](https://maa.plus/docs/en-us/) | [日本語](https://maa.plus/docs/ja-jp/) | [한국어](https://maa.plus/docs/ko-kr/)
[简体中文](https://docs.maa.plus/zh-cn/) | [繁體中文](https://docs.maa.plus/zh-tw/) | [English](https://docs.maa.plus/en-us/) | [日本語](https://docs.maa.plus/ja-jp/) | [한국어](https://docs.maa.plus/ko-kr/)
MAA 的意思是 MAA Assistant Arknights
@@ -33,20 +36,20 @@ MAA 的意思是 MAA Assistant Arknights
基于图像识别技术,一键完成全部日常任务!
绝赞更新中 ✿✿ヽ(°▽°)ノ✿
绝赞更新中 ✿✿ヽ(°▽°)ノ✿
</div>
## 下载与安装
请阅读[文档](https://maa.plus/docs/zh-cn/manual/newbie.html)后前往 [官网](https://maa.plus) 或 [Releases](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases) 下载,并参考[新手上路](https://maa.plus/docs/zh-cn/manual/newbie.html)进行安装。
请阅读 [文档](https://docs.maa.plus/zh-cn/manual/newbie.html) 后前往 [官网](https://maa.plus) 或 [Releases](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases) 下载,并参考 [新手上路](https://docs.maa.plus/zh-cn/manual/newbie.html) 进行安装。
## 亮点功能
- 刷理智,掉落识别及上传 [企鹅物流](https://penguin-stats.cn/)[一图流](https://ark.yituliu.cn/)
- 智能基建换班,自动计算干员效率,单设施内最优解;同时也支持 [自定义排班](https://maa.plus/docs/zh-cn/protocol/base-scheduling-schema.html)
- 智能基建换班,自动计算干员效率,单设施内最优解;同时也支持 [自定义排班](https://docs.maa.plus/zh-cn/protocol/base-scheduling-schema.html)
- 自动公招,可选使用加急许可,一次全部刷完!公招数据自动上传 [企鹅物流](https://penguin-stats.cn/result/stage/recruit/recruit)[一图流](https://ark.yituliu.cn/survey/maarecruitdata)
- 支持手动识别公招界面,方便对高星公招做出选择 ~~(你的这个高姿回费出的是推王呢还是推王呢)~~
- 支持手动识别公招界面,方便对高星公招做出选择 ~~(你的这个高回费出的是推王呢还是推王呢)~~
- 支持识别干员列表,统计已有和未有干员及潜能,并在公招识别显示
- 支持识别养成材料,并导出至 [企鹅物流刷图规划](https://penguin-stats.cn/planner)、[明日方舟工具箱](https://arkntools.app/#/material)、[ARK-NIGHTS 干员培养表](https://ark-nights.com/settings)
- 访问好友、收取信用及购物、领取日常奖励等,一键全日常自动长草
@@ -83,48 +86,36 @@ MAA 的意思是 MAA Assistant Arknights
### 功能介绍
请参阅 [用户手册](https://maa.plus/docs/zh-cn/manual/)。
请参阅 [用户手册](https://docs.maa.plus/zh-cn/manual/)。
### 外服支持
目前国际服(美服)、日服、韩服、繁中服的绝大部分功能均已支持。但由于外服用户较少及项目人手不足,很多功能并没有进行全面的测试,所以请自行体验。
若您遇到了 Bug或对某个功能有强需求欢迎在 [Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues) 和 [讨论区](https://github.com/MaaAssistantArknights/MaaAssistantArknights/discussions) 催更;或加入我们一起建设 MAA请参阅 [外服适配教程](https://maa.plus/docs/zh-cn/develop/overseas-client-adaptation.html)
若您遇到了 Bug或对某个功能有强需求欢迎在 [Issues](https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues) 和 [讨论区](https://github.com/MaaAssistantArknights/MaaAssistantArknights/discussions) 催更;或加入我们一起建设 MAA请参阅 [外服适配教程](https://docs.maa.plus/zh-cn/develop/overseas-client-adaptation.html)
### CLI 支持
MAA 支持命令行界面CLI操作支持 LinuxmacOS 和 Windows可用于自动化脚本或在无图形界面的服务器上使用。请参阅 [CLI 使用指南](https://maa.plus/docs/zh-cn/manual/cli/)
MAA 支持命令行界面CLI操作支持 LinuxmacOS 和 Windows可用于自动化脚本或在无图形界面的服务器上使用。请参阅 [CLI 使用指南](https://docs.maa.plus/zh-cn/manual/cli/)
## 加入我们
### 主要关联项目
**目前项目组非常缺前端大佬,若您有相关经验,欢迎加入我们!**
- 全新框架:[MaaFramework](https://github.com/MaaXYZ/MaaFramework)
- [作业站](https://prts.plus) 前端:[maa-copilot-frontend](https://github.com/MaaAssistantArknights/maa-copilot-frontend)
- [作业站](https://prts.plus) 后端:[MaaBackendCenter](https://github.com/MaaAssistantArknights/MaaBackendCenter)
- [官网](https://maa.plus)[前端](website)
- [作业站](https://prts.plus) 前端:[zoot-plus-frontend](https://github.com/ZOOT-Plus/zoot-plus-frontend)
- [作业站](https://prts.plus) 后端:[ZootPlusBackend](https://github.com/ZOOT-Plus/ZootPlusBackend)
- [官网](https://maa.plus)[前端](https://github.com/MaaAssistantArknights/maa-website)
- 深度学习:[MaaAI](https://github.com/MaaAssistantArknights/MaaAI)
### 多语言 (i18n)
MAA 支持多国语言,并使用 Weblate 进行本地化管理。如果您通晓多门语言,欢迎前往 [MAA Weblate](https://weblate.maa-org.net) 帮助我们进行翻译。
MAA 以中文(简体)为第一语言,翻译词条均以中文(简体)为准。
[![Weblate](https://weblate.maa-org.net/widget/maa/wpf-gui/multi-auto.svg)](https://weblate.maa-org.net/engage/maa/)
### 参与开发
#### Windows
请参阅 [开发指南](https://docs.maa.plus/zh-cn/develop/development.html)。
请参阅 [开始开发](https://maa.plus/docs/zh-cn/develop/development.html)。
#### Linux | macOS
请参阅 [Linux 编译教程](https://maa.plus/docs/zh-cn/develop/linux-tutorial.html)。
#### API
### API
- [C 接口](include/AsstCaller.h)[集成示例](src/Cpp/main.cpp)
- [Python 接口](src/Python/asst/asst.py)[集成示例](src/Python/sample.py)
@@ -135,22 +126,18 @@ MAA 以中文(简体)为第一语言,翻译词条均以中文(简体)
- [Rust 接口](src/Rust/src/maa_sys)[HTTP 接口](src/Rust)
- [TypeScript 接口](https://github.com/MaaAssistantArknights/MaaX/tree/main/packages/main/coreLoader)
- [Woolang 接口](src/Woolang/maa.wo)[集成示例](src/Woolang/demo.wo)
- [集成文档](https://maa.plus/docs/zh-cn/protocol/integration.html)
- [回调消息协议](https://maa.plus/docs/zh-cn/protocol/callback-schema.html)
- [任务流程协议](https://maa.plus/docs/zh-cn/protocol/task-schema.html)
- [自动抄作业协议](https://maa.plus/docs/zh-cn/protocol/copilot-schema.html)
- [集成文档](https://docs.maa.plus/zh-cn/protocol/integration.html)
- [回调消息协议](https://docs.maa.plus/zh-cn/protocol/callback-schema.html)
- [任务流程协议](https://docs.maa.plus/zh-cn/protocol/task-schema.html)
- [自动抄作业协议](https://docs.maa.plus/zh-cn/protocol/copilot-schema.html)
#### 外服适配
### 外服适配
请参阅 [外服适配教程](https://maa.plus/docs/zh-cn/develop/overseas-client-adaptation.html),对于国服已支持的功能,绝大部分的外服适配工作仅需要截图 + 简单的 JSON 修改即可。
请参阅 [外服适配教程](https://docs.maa.plus/zh-cn/develop/overseas-client-adaptation.html),对于国服已支持的功能,绝大部分的外服适配工作仅需要截图 + 简单的 JSON 修改即可。
#### 想参与开发,但不太会用 GitHub?
### Issue bot
[GitHub Pull Request 流程简述](https://maa.plus/docs/zh-cn/develop/development.html#github-pull-request-流程简述)
#### Issue bot
请参阅 [Issue Bot 使用方法](https://maa.plus/docs/zh-cn/develop/issue-bot-usage.html)
请参阅 [Issue Bot 使用方法](https://docs.maa.plus/zh-cn/develop/issue-bot-usage.html)
## 致谢
@@ -182,7 +169,7 @@ MAA 以中文(简体)为第一语言,翻译词条均以中文(简体)
- ~~干员及基建数据:[PRTS Wiki](http://prts.wiki/)~~
- 关卡数据:[企鹅物流数据统计](https://penguin-stats.cn/)
- 游戏数据及资源:[明日方舟客户端素材](https://github.com/yuanyan3060/ArknightsGameResource)
- 游戏数据:[《明日方舟》Yostar游戏数据](https://github.com/Kengxxiao/ArknightsGameData_YoStar)
- 游戏数据:[《明日方舟》Yostar游戏数据](https://github.com/ArknightsAssets/ArknightsGamedata)
### 贡献/参与者
@@ -192,33 +179,23 @@ MAA 以中文(简体)为第一语言,翻译词条均以中文(简体)
## 声明
- 本软件使用 [GNU Affero General Public License v3.0 only](https://spdx.org/licenses/AGPL-3.0-only.html) 开源。
- 本软件 logo 并非使用 AGPL 3.0 协议开源,[耗毛](https://weibo.com/u/3251357314)、vie 两位画师及软件全体开发者保留所有权利。不得以 AGPL 3.0 协议已授权为由在未经授权的情况下使用本软件 logo不得在未经授权的情况下将本软件 logo 用于任何用途。
- 本软件开源、免费,仅供学习交流使用。若您遇到商家使用本软件进行代练并收费,可能由于设备时间等原因,产生的任何问题及后果与本软件无关。
- 本软件使用 [GNU Affero General Public License v3.0 only](https://spdx.org/licenses/AGPL-3.0-only.html) 开源,并附带额外 [用户协议](https://github.com/MaaAssistantArknights/MaaAssistantArknights/blob/dev/terms-of-service.md)
- 本软件 logo 并非使用 AGPL 3.0 协议开源,[耗毛](https://weibo.com/u/3251357314)、vie 两位画师及软件全体开发者保留所有权利。不得以 AGPL 3.0 协议已授权为由在未经授权的情况下使用本软件 logo不得在未经授权的情况下将本软件 logo 用于任何商业用途。
- 本软件开源、免费,仅供学习交流使用。若您遇到商家使用本软件进行代练并收费,可能设备时间等费用,产生的问题及后果与本软件无关。
### DirectML 支持说明
本软件支持 GPU 加速功能,但 GPU 加速依赖于 Microsoft 提供的 DirectMLMicrosoft.AI.DirectML。为方便用户,我们随安装包附带了一个未修改的 DirectML.dll 文件。
#### 关于 DirectML.dll
- 来源Microsoft 官方
- 许可证:请参考 Microsoft 的 DirectML 使用条款
[DirectML 官方文档](https://learn.microsoft.com/en-us/windows/ai/directml/)
DirectML.dll 是 Microsoft 提供的独立组件,不属于本软件的开源部分,也不受 AGPL-3.0 的约束。
如果您不需要 GPU 支持,可以安全地删除该 DLL 文件,软件核心功能仍然可以正常运行。
本软件支持 GPU 加速功能,其在 Windows 平台上依赖于 Microsoft 提供的独立组件 [DirectML](https://learn.microsoft.com/en-us/windows/ai/directml/)。DirectML 并非本项目的开源部分,也不受 AGPL 3.0 的约束。为方便用户,我们随安装包附带了一个未修改的 DirectML.dll 文件。如果您无需 GPU 加速功能,可安全删除该 DLL 文件,软件的核心功能仍可正常运行。
## 广告
用户交流 QQ 群:[MAA 使用 & 粥游交流 QQ 群](https://ota.maa.plus/MaaAssistantArknights/api/qqgroup/index.html)
用户交流 QQ 群:[MAA 使用 & 粥游交流 QQ 群](https://api.maa.plus/MaaAssistantArknights/api/qqgroup/index.html)
Discord 服务器: [邀请链接](https://discord.gg/23DfZ9uA4V)
用户交流 TG 群:[Telegram 群](https://t.me/+Mgc2Zngr-hs3ZjU1)
自动战斗 JSON 作业分享:[prts.plus](https://prts.plus)
Bilibili 直播间:[MrEO 直播间](https://live.bilibili.com/2808861) 直播敲代码 & [MAA-Official 直播间](https://live.bilibili.com/27548877) 游戏/杂谈
Bilibili 直播间:[MrEO 直播间](https://live.bilibili.com/2808861) 直播敲代码 & [MAA-Official 直播间](https://live.bilibili.com/27548877) 游戏/杂谈
技术群(舟无关、禁水):[内卷地狱!(QQ 群)](https://jq.qq.com/?_wv=1027&k=ypbzXcA2)
开发者群:[QQ 群](https://jq.qq.com/?_wv=1027&k=JM9oCk3C)
开发者群:[QQ 群](https://jq.qq.com/?_wv=1027&k=JM9oCk3C)
如果觉得软件对你有帮助,帮忙点个 Star 吧!~(网页最上方右上角的小星星),这就是对我们最大的支持了!

View File

@@ -2,11 +2,11 @@
## 受支持的版本 / Supported Versions
我们仅对 v4 和 v5 两个大版本的最新稳定版提供安全支持,如有安全问题,我们将会尽可能快地发布新的稳定版解决。
我们仅对 v6 的最新稳定版提供安全支持,如有安全问题,我们将会尽可能快地发布新的稳定版解决。
内测版、公测版仅供测试,我们不会对其提供安全支持。
We only provide security support for the latest Stable Release versions of v4 and v5. If there are security issues, we will release a new stable version as soon as possible to solve them.
We only provide security support for the latest Stable Release versions of v6. If there are security issues, we will release a new stable version as soon as possible to solve them.
The Nightly Release version and the Beta Release version are for testing only, and we will not provide security support for them.

View File

@@ -1,7 +0,0 @@
:; set -eo pipefail
:; SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
:; ${SCRIPT_DIR}/build.sh "$@"
:; exit $?
@ECHO OFF
powershell -ExecutionPolicy ByPass -NoProfile -File "%~dp0build.ps1" %*

View File

@@ -1,69 +0,0 @@
[CmdletBinding()]
Param(
[Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)]
[string[]]$BuildArguments
)
Write-Output "PowerShell $($PSVersionTable.PSEdition) version $($PSVersionTable.PSVersion)"
Set-StrictMode -Version 2.0; $ErrorActionPreference = "Stop"; $ConfirmPreference = "None"; trap { Write-Error $_ -ErrorAction Continue; exit 1 }
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
###########################################################################
# CONFIGURATION
###########################################################################
$BuildProjectFile = "$PSScriptRoot\tools\MaaBuilder\MaaBuilder.csproj"
$TempDirectory = "$PSScriptRoot\\.nuke\temp"
$DotNetGlobalFile = "$PSScriptRoot\\global.json"
$DotNetInstallUrl = "https://dot.net/v1/dotnet-install.ps1"
$DotNetChannel = "Current"
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
$env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
$env:DOTNET_MULTILEVEL_LOOKUP = 0
###########################################################################
# EXECUTION
###########################################################################
function ExecSafe([scriptblock] $cmd) {
& $cmd
if ($LASTEXITCODE) { exit $LASTEXITCODE }
}
# If dotnet CLI is installed globally and it matches requested version, use for execution
if ($null -ne (Get-Command "dotnet" -ErrorAction SilentlyContinue) -and `
$(dotnet --version) -and $LASTEXITCODE -eq 0) {
$env:DOTNET_EXE = (Get-Command "dotnet").Path
}
else {
# Download install script
$DotNetInstallFile = "$TempDirectory\dotnet-install.ps1"
New-Item -ItemType Directory -Path $TempDirectory -Force | Out-Null
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(New-Object System.Net.WebClient).DownloadFile($DotNetInstallUrl, $DotNetInstallFile)
# If global.json exists, load expected version
if (Test-Path $DotNetGlobalFile) {
$DotNetGlobal = $(Get-Content $DotNetGlobalFile | Out-String | ConvertFrom-Json)
if ($DotNetGlobal.PSObject.Properties["sdk"] -and $DotNetGlobal.sdk.PSObject.Properties["version"]) {
$DotNetVersion = $DotNetGlobal.sdk.version
}
}
# Install by channel or version
$DotNetDirectory = "$TempDirectory\dotnet-win"
if (!(Test-Path variable:DotNetVersion)) {
ExecSafe { & powershell $DotNetInstallFile -InstallDir $DotNetDirectory -Channel $DotNetChannel -NoPath }
} else {
ExecSafe { & powershell $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath }
}
$env:DOTNET_EXE = "$DotNetDirectory\dotnet.exe"
}
Write-Output "Microsoft (R) .NET SDK version $(& $env:DOTNET_EXE --version)"
ExecSafe { & $env:DOTNET_EXE build $BuildProjectFile /nodeReuse:false /p:UseSharedCompilation=false -nologo -clp:NoSummary --verbosity quiet }
ExecSafe { & $env:DOTNET_EXE run --project $BuildProjectFile --no-build -- $BuildArguments }

View File

@@ -1,62 +0,0 @@
#!/usr/bin/env bash
bash --version 2>&1 | head -n 1
set -eo pipefail
SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
###########################################################################
# CONFIGURATION
###########################################################################
BUILD_PROJECT_FILE="$SCRIPT_DIR/tools/MaaBuilder/MaaBuilder.csproj"
TEMP_DIRECTORY="$SCRIPT_DIR//.nuke/temp"
DOTNET_GLOBAL_FILE="$SCRIPT_DIR//global.json"
DOTNET_INSTALL_URL="https://dot.net/v1/dotnet-install.sh"
DOTNET_CHANNEL="Current"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
export DOTNET_MULTILEVEL_LOOKUP=0
###########################################################################
# EXECUTION
###########################################################################
function FirstJsonValue {
perl -nle 'print $1 if m{"'"$1"'": "([^"]+)",?}' <<< "${@:2}"
}
# If dotnet CLI is installed globally and it matches requested version, use for execution
if [ -x "$(command -v dotnet)" ] && dotnet --version &>/dev/null; then
export DOTNET_EXE="$(command -v dotnet)"
else
# Download install script
DOTNET_INSTALL_FILE="$TEMP_DIRECTORY/dotnet-install.sh"
mkdir -p "$TEMP_DIRECTORY"
curl -Lsfo "$DOTNET_INSTALL_FILE" "$DOTNET_INSTALL_URL"
chmod +x "$DOTNET_INSTALL_FILE"
# If global.json exists, load expected version
if [[ -f "$DOTNET_GLOBAL_FILE" ]]; then
DOTNET_VERSION=$(FirstJsonValue "version" "$(cat "$DOTNET_GLOBAL_FILE")")
if [[ "$DOTNET_VERSION" == "" ]]; then
unset DOTNET_VERSION
fi
fi
# Install by channel or version
DOTNET_DIRECTORY="$TEMP_DIRECTORY/dotnet-unix"
if [[ -z ${DOTNET_VERSION+x} ]]; then
"$DOTNET_INSTALL_FILE" --install-dir "$DOTNET_DIRECTORY" --channel "$DOTNET_CHANNEL" --no-path
else
"$DOTNET_INSTALL_FILE" --install-dir "$DOTNET_DIRECTORY" --version "$DOTNET_VERSION" --no-path
fi
export DOTNET_EXE="$DOTNET_DIRECTORY/dotnet"
fi
echo "Microsoft (R) .NET SDK version $("$DOTNET_EXE" --version)"
"$DOTNET_EXE" build "$BUILD_PROJECT_FILE" /nodeReuse:false /p:UseSharedCompilation=false -nologo -clp:NoSummary --verbosity quiet
"$DOTNET_EXE" run --project "$BUILD_PROJECT_FILE" --no-build -- "$@"

2
cmake/config.cmake Normal file
View File

@@ -0,0 +1,2 @@
set(debug_comp_defs "_DEBUG;ASST_DEBUG")
add_compile_definitions("$<$<CONFIG:Debug>:${debug_comp_defs}>")

View File

@@ -4,27 +4,30 @@ if (BUILD_XCFRAMEWORK)
COMMAND xcodebuild -create-xcframework -library libMaaCore.dylib -headers ${PROJECT_SOURCE_DIR}/include -output MaaCore.xcframework
DEPENDS MaaCore
)
add_custom_command(OUTPUT MaaUtils.xcframework
COMMAND rm -rf MaaUtils.xcframework
COMMAND xcodebuild -create-xcframework -library libMaaUtils.dylib -output MaaUtils.xcframework
DEPENDS MaaUtils
)
add_custom_command(OUTPUT OpenCV.xcframework
COMMAND rm -rf OpenCV.xcframework
COMMAND xcodebuild -create-xcframework -library "${PROJECT_SOURCE_DIR}/MaaDeps/runtime/${MAADEPS_TRIPLET}/libopencv_world4.408.dylib" -output OpenCV.xcframework
COMMAND xcodebuild -create-xcframework -library "${MAADEPS_DIR}/runtime/${MAADEPS_TRIPLET}/libopencv_world4.408.dylib" -output OpenCV.xcframework
)
add_custom_command(OUTPUT ONNXRuntime.xcframework
COMMAND rm -rf ONNXRuntime.xcframework
COMMAND xcodebuild -create-xcframework -library "${PROJECT_SOURCE_DIR}/MaaDeps/runtime/${MAADEPS_TRIPLET}/libonnxruntime.1.18.0.dylib" -output ONNXRuntime.xcframework
COMMAND xcodebuild -create-xcframework -library "${MAADEPS_DIR}/runtime/${MAADEPS_TRIPLET}/libonnxruntime.1.18.0.dylib" -output ONNXRuntime.xcframework
)
add_custom_command(OUTPUT fastdeploy_ppocr.xcframework
COMMAND rm -rf fastdeploy_ppocr.xcframework
COMMAND xcodebuild -create-xcframework -library "${PROJECT_SOURCE_DIR}/MaaDeps/runtime/${MAADEPS_TRIPLET}/libfastdeploy_ppocr.dylib" -output fastdeploy_ppocr.xcframework
COMMAND xcodebuild -create-xcframework -library "${MAADEPS_DIR}/runtime/${MAADEPS_TRIPLET}/libfastdeploy_ppocr.dylib" -output fastdeploy_ppocr.xcframework
)
add_custom_target(MaaXCFramework ALL
DEPENDS MaaCore MaaCore.xcframework OpenCV.xcframework ONNXRuntime.xcframework fastdeploy_ppocr.xcframework
DEPENDS MaaCore MaaCore.xcframework MaaUtils MaaUtils.xcframework OpenCV.xcframework ONNXRuntime.xcframework fastdeploy_ppocr.xcframework
)
endif (BUILD_XCFRAMEWORK)
target_compile_options(MaaCore PRIVATE
-Wno-deprecated-declarations
-Wno-gnu-zero-variadic-macro-arguments)

View File

@@ -1,54 +0,0 @@
set(OPENCV_URL_PREFIX "https://github.com/MaaAssistantArknights/build-opencv/releases/download")
set(OPENCV_TAG "4.5.3")
set(COMPRESSED_SUFFIX ".tar.gz")
if(WIN32)
set(OPENCV_FILENAME "OpenCV-Windows")
set(OPENCV_CHECKSUM "bf736b243bbdaa020f139e4dfa1e4f15633f4ce7a8ad885524645e660de47a8b")
elseif(APPLE)
if (CURRENT_OSX_ARCH STREQUAL "arm64")
set(OPENCV_FILENAME "OpenCV-macOS-arm64")
set(OPENCV_CHECKSUM "31beb633c033dd4ee789ffa50911c29c9580860f9a91f334f03d8aa9c85e9700")
else()
set(OPENCV_FILENAME "OpenCV-macOS-x86_64")
set(OPENCV_CHECKSUM "249c5c97cc52257b68d35acf499b1cf1037f5e6f3b40752f82ad5abe7884bea9")
endif()
else(UNIX)
set(OPENCV_FILENAME "OpenCV-Linux")
set(OPENCV_CHECKSUM "edc4138456189c9e8bdf29114ad2be8ec152e8e31087d98e633f6cda59b141ea")
endif(WIN32)
set(OPENCV_URL ${OPENCV_URL_PREFIX}/${OPENCV_TAG}/${OPENCV_FILENAME}${COMPRESSED_SUFFIX})
if(OPENCV_DIRECTORY)
set(OpenCV_DIR ${OPENCV_DIRECTORY})
find_package(OpenCV REQUIRED PATHS ${OpenCV_DIR})
include_directories(${OpenCV_INCLUDE_DIRS})
list(APPEND DEPEND_LIBS ${OpenCV_LIBS})
else()
download_and_decompress(${OPENCV_URL}
${CMAKE_CURRENT_BINARY_DIR}/${OPENCV_FILENAME}${COMPRESSED_SUFFIX}
${OPENCV_CHECKSUM}
${THIRD_PARTY_PATH}/install/)
set(OPENCV_FILENAME opencv)
set(OpenCV_DIR ${THIRD_PARTY_PATH}/install/${OPENCV_FILENAME})
set(OPENCV_DIRECTORY ${OpenCV_DIR})
if (WIN32)
set(OpenCV_DIR ${OpenCV_DIR}/lib)
endif()
find_package(OpenCV REQUIRED PATHS ${OpenCV_DIR} NO_DEFAULT_PATH)
include_directories(${OpenCV_INCLUDE_DIRS})
list(APPEND DEPEND_LIBS ${OpenCV_LIBS})
endif(OPENCV_DIRECTORY)
if (INSTALL_THIRD_LIBS)
if (OpenCV_SHARED)
install(DIRECTORY ${OpenCV_INSTALL_PATH}/lib/
DESTINATION .
USE_SOURCE_PERMISSIONS PATTERN "cmake" EXCLUDE)
endif (OpenCV_SHARED)
endif (INSTALL_THIRD_LIBS)

View File

@@ -1,44 +0,0 @@
macro(GENERATE_THRIFT_LIB LIB_NAME FILENAME OUTPUTDIR SOURCES)
file(MAKE_DIRECTORY ${OUTPUTDIR})
detect_host_triplet(HOST_TRIPLET)
if (CMAKE_CROSSCOMPILING)
if (CMAKE_HOST_WIN32)
set(_host_executable_suffix ".exe")
else()
set(_host_executable_suffix "")
endif()
else()
set(_host_executable_suffix ${CMAKE_EXECUTABLE_SUFFIX})
endif()
if(EXISTS ${PROJECT_SOURCE_DIR}/MaaDeps/vcpkg/installed/maa-${HOST_TRIPLET}/tools/thrift/thrift${_host_executable_suffix})
set(THRIFT_COMPILER ${PROJECT_SOURCE_DIR}/MaaDeps/vcpkg/installed/maa-${HOST_TRIPLET}/tools/thrift/thrift${_host_executable_suffix})
else()
find_program(THRIFT_COMPILER thrift)
endif()
if(NOT THRIFT_COMPILER)
message(FATAL_ERROR "Thrift compiler not found")
endif()
get_filename_component(THRIFT_IDL_NAME ${FILENAME} NAME_WE)
set(THRIFT_IDL_TARGET "${LIB_NAME}_${THRIFT_IDL_NAME}_idl")
set("${THRIFT_IDL_NAME}-gen-cpp"
${OUTPUTDIR}/${THRIFT_IDL_NAME}.cpp
${OUTPUTDIR}/${THRIFT_IDL_NAME}.h
${OUTPUTDIR}/${THRIFT_IDL_NAME}_types.cpp
${OUTPUTDIR}/${THRIFT_IDL_NAME}_types.h)
add_custom_command(OUTPUT ${${THRIFT_IDL_NAME}-gen-cpp}
DEPENDS ${FILENAME}
COMMAND ${THRIFT_COMPILER} --gen cpp:no_skeleton -out ${OUTPUTDIR} ${FILENAME}
VERBATIM)
add_custom_target(${THRIFT_IDL_TARGET} DEPENDS ${${THRIFT_IDL_NAME}-gen-cpp})
add_library(${LIB_NAME} STATIC ${${THRIFT_IDL_NAME}-gen-cpp})
add_dependencies(${LIB_NAME} ${THRIFT_IDL_TARGET})
set_target_properties(${LIB_NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_link_libraries(${LIB_NAME} PUBLIC thrift::thrift)
target_include_directories(${LIB_NAME} PUBLIC ${OUTPUTDIR})
set(${SOURCES} ${${SOURCES}} ${GENERATED_SOURCES} PARENT_SCOPE)
endmacro(GENERATE_THRIFT_LIB)
if (WITH_THRIFT)
add_compile_definitions(WITH_THRIFT)
endif (WITH_THRIFT)

View File

@@ -1,50 +1,26 @@
function(download_and_decompress url filename sha256_checksum decompress_dir)
if(EXISTS ${filename})
file(SHA256 ${filename} CHECKSUM_VARIABLE)
endif()
if(NOT EXISTS ${filename} OR NOT CHECKSUM_VARIABLE STREQUAL sha256_checksum)
message("Downloading file from ${url} to ${filename} ...")
file(DOWNLOAD ${url} "${filename}.tmp" SHOW_PROGRESS EXPECTED_HASH SHA256=${sha256_checksum})
file(RENAME "${filename}.tmp" ${filename})
endif()
if(NOT EXISTS ${decompress_dir})
file(MAKE_DIRECTORY ${decompress_dir})
endif()
message("Decompress file ${filename} ...")
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xf ${filename} WORKING_DIRECTORY ${decompress_dir})
# 创建资源目录链接的函数
function(create_resource_link TARGET_NAME OUTPUT_DIR)
if(WIN32)
# Windows 使用 mklink /J 创建目录链接(不需要管理员权限)
add_custom_command(
TARGET ${TARGET_NAME}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Creating resource directory link for ${TARGET_NAME}..."
COMMAND ${CMAKE_COMMAND} -E remove_directory "${OUTPUT_DIR}/resource"
COMMAND cmd /c "mklink /J \"${OUTPUT_DIR}/resource\" \"${PROJECT_SOURCE_DIR}/resource\""
COMMAND ${CMAKE_COMMAND} -E echo "Resource directory link created successfully"
COMMENT "Creating junction for resource directory for ${TARGET_NAME}"
)
else()
# Unix/Linux/macOS 使用符号链接
add_custom_command(
TARGET ${TARGET_NAME}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Creating resource directory link for ${TARGET_NAME}..."
COMMAND ${CMAKE_COMMAND} -E remove "${OUTPUT_DIR}/resource"
COMMAND ${CMAKE_COMMAND} -E create_symlink "${PROJECT_SOURCE_DIR}/resource" "${OUTPUT_DIR}/resource"
COMMAND ${CMAKE_COMMAND} -E echo "Resource directory link created successfully"
COMMENT "Creating symlink for resource directory for ${TARGET_NAME}"
)
endif()
endfunction()
function(get_osx_architecture)
if (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
set(CURRENT_OSX_ARCH "arm64" PARENT_SCOPE)
elseif(CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
set(CURRENT_OSX_ARCH "x86_64" PARENT_SCOPE)
else()
set(CURRENT_OSX_ARCH ${CMAKE_HOST_SYSTEM_PROCESSOR} PARENT_SCOPE)
endif()
endfunction()
function(detect_host_triplet outvar)
string(TOLOWER "${CMAKE_HOST_SYSTEM_NAME}" host_triplet_system)
string(TOLOWER "${CMAKE_HOST_SYSTEM_PROCESSOR}" host_triplet_arch)
if(host_triplet_system STREQUAL "darwin")
set(host_triplet_system "osx")
endif()
message("host_triplet_system: ${host_triplet_system}")
message("host_triplet_arch: ${host_triplet_arch}")
if(host_triplet_arch MATCHES "(amd64|x86_64)")
set(host_triplet_arch "x64")
elseif(host_triplet_arch MATCHES "i[3456]86")
set(host_triplet_arch "x86")
elseif(host_triplet_arch MATCHES "(aarch64|armv8l|arm64)")
set(host_triplet_arch "arm64")
else()
message(FATAL_ERROR "Unrecognized CMAKE_HOST_SYSTEM_PROCESSOR: ${CMAKE_HOST_SYSTEM_PROCESSOR}")
endif()
set(${outvar} "${host_triplet_arch}-${host_triplet_system}" PARENT_SCOPE)
endfunction()
if (APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET 12.0)
get_osx_architecture()
endif (APPLE)

View File

@@ -224,3 +224,38 @@ MD052: true
MD053:
# Ignored definitions
ignored_definitions: ["//"]
# MD054/link-image-style - Link and image style
MD054:
# Allow autolinks
autolink: true
# Allow collapsed reference links and images
collapsed: true
# Allow full reference links and images
full: true
# Allow inline links and images
inline: true
# Allow shortcut reference links and images
shortcut: true
# Allow URLs as inline links
url_inline: true
# MD055/table-pipe-style - Table pipe style
MD055:
# Table pipe style
style: "consistent"
# MD056/table-column-count - Table column count
MD056: true
# MD057 - Table column count inconsistencies with table header column count
# (Not documented in official rules list - MD057 appears to be missing or deprecated)
# MD058/blanks-around-tables - Tables should be surrounded by blank lines
MD058: true
# MD059/descriptive-link-text - Link text should be descriptive
MD059:
false
# Prohibited link texts
#prohibited_texts: ["click here", "here", "link", "more"]

1
docs/.prettierignore Normal file
View File

@@ -0,0 +1 @@
**/pnpm-lock.yaml

40
docs/.prettierrc.cjs Normal file
View File

@@ -0,0 +1,40 @@
module.exports = {
printWidth: 120,
tabWidth: 2,
useTabs: false,
bracketSpacing: true,
bracketSameLine: false,
endOfLine: 'auto',
semi: false,
singleQuote: true,
trailingComma: 'all',
arrowParens: 'always',
overrides: [
{
files: ['**/*.*css'],
options: {
singleQuote: false,
},
},
{
files: ['**/*.yml', '**/*.yaml'],
options: {
parser: 'yaml',
singleQuote: false,
},
},
{
files: ['**/*.json'],
options: {
tabWidth: 4,
},
},
{
files: ['**/*.md'],
options: {
embeddedLanguageFormatting: 'off',
},
},
],
}

View File

@@ -1,12 +1,21 @@
import { defineClientConfig } from "vuepress/client";
import Image1 from "../components/Image1.vue";
import Image2 from "../components/Image2.vue";
import Image4 from "../components/Image4.vue";
import { defineClientConfig } from 'vuepress/client'
import { getAsciiArt } from './plugins/asciiArt'
import AsciiArt from './components/AsciiArt.vue'
import ImageGrid from './components/ImageGrid.vue'
import Redirect from './components/Redirect.vue'
import './styles/index.scss'
export default defineClientConfig({
enhance: ({ app }) => {
app.component("Image1", Image1);
app.component("Image2", Image2);
app.component("Image4", Image4);
app.component('AsciiArt', AsciiArt)
app.component('ImageGrid', ImageGrid)
app.component('Redirect', Redirect)
// 输出一个随机的字符画
const asciiArtData = getAsciiArt(undefined, 'auto', 'console')
console.log('%c' + asciiArtData.text, 'white-space: pre;')
},
});
})

View File

@@ -0,0 +1,106 @@
<template>
<div ref="asciiArtWrapperElement" class="ascii-art-wrapper">
<pre ref="asciiArtContentElement" class="ascii-art-content">{{ asciiArtText }}</pre>
</div>
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount } from 'vue'
import { getAsciiArt, ThemeType, AsciiArtScope } from '../plugins/asciiArt'
// -------- Props --------
interface AsciiArtProps {
name?: string
theme?: ThemeType
scope?: AsciiArtScope
}
const props = defineProps<AsciiArtProps>()
// -------- Refs --------
const asciiArtWrapperElement = ref<HTMLElement>()
const asciiArtContentElement = ref<HTMLElement>()
// -------- Data --------
let asciiArtNameInUse = props.name
const asciiArtText = ref('')
let layoutObserver: ResizeObserver
let themeObserver: MutationObserver
let isScaleUpLocked = false
let lastScaleRatio = 1
function refreshAsciiArt() {
const asciiArtData = getAsciiArt(asciiArtNameInUse, props.theme, props.scope)
asciiArtNameInUse = asciiArtData.name
asciiArtText.value = asciiArtData.text
}
function scaleAsciiArt() {
if (!asciiArtWrapperElement.value || !asciiArtContentElement.value) return
// 原始高度和宽度无视scale
const contentWidth = asciiArtContentElement.value.scrollWidth
const contentHeight = asciiArtContentElement.value.scrollHeight
if (contentWidth === 0 || contentHeight === 0) return
const targetWidth = asciiArtWrapperElement.value.clientWidth
const targetHeight = window.innerHeight
const scaleRatio = Math.min(targetWidth / contentWidth, targetHeight / contentHeight)
// 锁定状态不允许放大
if (scaleRatio > lastScaleRatio && isScaleUpLocked) return
lastScaleRatio = scaleRatio
isScaleUpLocked = true
asciiArtContentElement.value.style.transform = `scale(${scaleRatio})`
asciiArtWrapperElement.value.style.height = `${contentHeight * scaleRatio}px`
}
function forceScaleAsciiArt() {
isScaleUpLocked = false
scaleAsciiArt()
}
onMounted(() => {
if (!asciiArtWrapperElement.value || !asciiArtContentElement.value) return
layoutObserver = new ResizeObserver(scaleAsciiArt)
layoutObserver.observe(asciiArtContentElement.value)
layoutObserver.observe(asciiArtWrapperElement.value)
themeObserver = new MutationObserver(refreshAsciiArt)
themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['data-theme'] })
window.addEventListener('resize', forceScaleAsciiArt)
refreshAsciiArt()
})
onBeforeUnmount(() => {
if (layoutObserver) {
layoutObserver.disconnect()
}
if (themeObserver) {
themeObserver.disconnect()
}
window.removeEventListener('resize', forceScaleAsciiArt)
})
</script>
<style scoped>
.ascii-art-wrapper {
display: flex;
justify-content: center;
align-items: flex-start;
}
.ascii-art-content {
display: block;
white-space: pre;
margin: 0 auto;
transform-origin: top;
line-height: 1;
font-family: 'JetBrains Mono', monospace;
}
</style>

View File

@@ -0,0 +1,72 @@
<template>
<CardGrid>
<ImageCard v-for="(item, index) of displayImageList" :key="index" :image="item" />
</CardGrid>
</template>
<script lang="ts">
import { PropType, defineComponent, computed, ref, onMounted, onUnmounted } from 'vue'
import { withBase } from 'vuepress/client'
export default defineComponent({
name: 'ImageCardGrid',
props: {
imageList: {
type: Array as PropType<Array<{ light: string; dark: string } | string>>,
required: true,
},
},
setup(props) {
const isDarkMode = ref(false)
let observer: MutationObserver | null = null
let mediaQuery: MediaQueryList | null = null
const updateDarkMode = () => {
if (typeof window !== 'undefined') {
const html = document.documentElement
isDarkMode.value =
html.classList.contains('dark') ||
html.getAttribute('data-theme') === 'dark' ||
window.matchMedia('(prefers-color-scheme: dark)').matches
}
}
onMounted(() => {
updateDarkMode()
if (typeof window !== 'undefined') {
// 监听DOM变化主题切换通常会改变class或data-theme属性
observer = new MutationObserver(updateDarkMode)
observer.observe(document.documentElement, {
attributes: true,
attributeFilter: ['class', 'data-theme'],
})
// 监听系统主题变化
mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
mediaQuery.addEventListener('change', updateDarkMode)
}
})
onUnmounted(() => {
if (observer) {
observer.disconnect()
}
if (mediaQuery) {
mediaQuery.removeEventListener('change', updateDarkMode)
}
})
const displayImageList = computed(() => {
return props.imageList.map((item) => {
const src = typeof item === 'string' ? item : isDarkMode.value ? item.dark : item.light
return withBase(src)
})
})
return {
displayImageList,
}
},
})
</script>

View File

@@ -0,0 +1,25 @@
<template />
<script setup lang="ts">
import { onMounted } from 'vue'
import { useRouter, useRoute } from 'vuepress/client'
interface Props {
to?: string
}
const props = defineProps<Props>()
const route = useRoute()
const router = useRouter()
function resolvePath(to: string) {
const target = new URL(to, 'http://example.com' + route.path) // 使用一个虚拟的基础 URL
return target.pathname
}
onMounted(() => {
if (!props.to) return
const targetPath = resolvePath(props.to)
router.replace(targetPath)
})
</script>

View File

@@ -1,77 +1,46 @@
import { defineUserConfig } from "vuepress";
import { viteBundler } from "@vuepress/bundler-vite";
import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics";
import Theme from "./theme";
import { viteBundler } from '@vuepress/bundler-vite'
import { defineUserConfig } from 'vuepress'
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { plumeTheme } from 'vuepress-theme-plume'
import { genSiteLocales } from './navigation/genLocales'
import DocSearchConfig from './plugins/search'
const isProd = process.env.NODE_ENV === 'production'
export default defineUserConfig({
base: "/docs/",
lang: "zh-CN",
title: "MaaAssistantArknights",
description: "MAA",
base: '/',
lang: 'zh-CN',
title: 'MAA 文档站',
description: 'MAA —「明日方舟」小助手',
host: '0.0.0.0',
port: 3001,
locales: {
"/zh-cn/": {
lang: "zh-CN",
description: "文档",
},
"/zh-tw/": {
lang: "zh-TW",
description: "文件",
},
"/en-us/": {
lang: "en-US",
description: "Documentation",
},
"/ja-jp/": {
lang: "ja-JP",
description: "ドキュメンテーション",
},
"/ko-kr/": {
lang: "ko-KR",
description: "선적 서류 비치",
},
},
markdown: {
headers: {
level: [2, 3, 4, 5],
},
},
theme: Theme,
plugins: [
googleAnalyticsPlugin({
id: "G-FJQDKG394Z",
}),
],
locales: genSiteLocales(),
head: [
["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }],
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
[
"link",
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
],
[
"link",
'link',
{
href: "https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap",
rel: "stylesheet",
href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap',
rel: 'stylesheet',
},
],
[
"link",
'link',
{
href: "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&display=swap",
rel: "stylesheet",
href: 'https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&display=swap',
rel: 'stylesheet',
},
],
[
"link",
'link',
{
href: "https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap",
rel: "stylesheet",
href: 'https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap',
rel: 'stylesheet',
},
],
],
@@ -80,4 +49,62 @@ export default defineUserConfig({
viteOptions: {},
vuePluginOptions: {},
}),
});
shouldPrefetch: false,
theme: plumeTheme({
hostname: 'https://docs.maa.plus',
docsRepo: 'MaaAssistantArknights/MaaAssistantArknights',
docsDir: '/docs',
docsBranch: 'dev',
editLink: true,
lastUpdated: false,
contributors: false,
changelog: false,
cache: 'filesystem',
search: DocSearchConfig,
codeHighlighter: {
themes: { light: 'snazzy-light', dark: 'night-owl' },
},
markdown: {
annotation: true,
image: {
lazyload: true,
mark: true,
size: true,
},
icon: { provider: 'iconify' },
plot: true,
field: true,
bilibili: true,
},
watermark: false,
comment: {
provider: 'Giscus',
repo: 'MaaAssistantArknights/maa-website',
repoId: 'R_kgDOHY7Gyg',
category: 'Comments',
categoryId: 'DIC_kwDOHY7Gys4CgoVH',
mapping: 'pathname',
strict: false,
lazyLoading: true,
},
//replaceAssets: isProd ? "https://cdn.maa.plus" : false,
}),
plugins: [
googleAnalyticsPlugin({
id: 'G-FJQDKG394Z',
}),
],
})

View File

@@ -1,29 +0,0 @@
import { navbar } from "vuepress-theme-hope";
export const enusNavbar = navbar([
{
text: "Home",
icon: "ic:round-home",
link: "/en-us/",
},
{
text: "User Manual",
icon: "mdi:user",
link: "/en-us/manual/",
},
{
text: "Development Docs",
icon: "ph:code-bold",
link: "/en-us/develop/",
},
{
text: "Protocol Docs",
icon: "basil:document-solid",
link: "/en-us/protocol/",
},
{
text: "MAA Website",
icon: "mdi:cow",
link: "https://maa.plus",
},
]);

View File

@@ -1,5 +0,0 @@
export * from "./zh-cn";
export * from "./zh-tw";
export * from "./en-us";
export * from "./ja-jp";
export * from "./ko-kr";

View File

@@ -1,29 +0,0 @@
import { navbar } from "vuepress-theme-hope";
export const jajpNavbar = navbar([
{
text: "ホームページ",
icon: "ic:round-home",
link: "/ja-jp/",
},
{
text: "使用説明",
icon: "mdi:user",
link: "/ja-jp/manual/",
},
{
text: "開発関連",
icon: "ph:code-bold",
link: "/ja-jp/develop/",
},
{
text: "プロトコルドキュメント",
icon: "basil:document-solid",
link: "/ja-jp/protocol/",
},
{
text: "MAA 公式サイト",
icon: "mdi:cow",
link: "https://maa.plus",
},
]);

View File

@@ -1,29 +0,0 @@
import { navbar } from "vuepress-theme-hope";
export const kokrNavbar = navbar([
{
text: "홈페이지",
icon: "ic:round-home",
link: "/ko-kr/",
},
{
text: "사용자 설명서",
icon: "mdi:user",
link: "/ko-kr/manual/",
},
{
text: "개발 문서",
icon: "ph:code-bold",
link: "/ko-kr/develop/",
},
{
text: "프로토콜 문서",
icon: "basil:document-solid",
link: "/ko-kr/protocol/",
},
{
text: "MAA 공식 홈페이지",
icon: "mdi:cow",
link: "https://maa.plus",
},
]);

View File

@@ -1,29 +0,0 @@
import { navbar } from "vuepress-theme-hope";
export const zhcnNavbar = navbar([
{
text: "主页",
icon: "ic:round-home",
link: "/zh-cn/",
},
{
text: "用户手册",
icon: "mdi:user",
link: "/zh-cn/manual/",
},
{
text: "开发文档",
icon: "ph:code-bold",
link: "/zh-cn/develop/",
},
{
text: "协议文档",
icon: "basil:document-solid",
link: "/zh-cn/protocol/",
},
{
text: "MAA 官网",
icon: "mdi:cow",
link: "https://maa.plus",
},
]);

Some files were not shown because too many files have changed in this diff Show More