Aliothmoon
c6f930a60d
feat: support native android ( #16179 )
...
* feat: add android controller support
* feat: add android compile options and add core static options
* fix: add __ANDROID__ macro for Android platform
* fix: move switch break into macro conditional block
* ci: add Android CMake presets (arm64, x64)
* fix: add missing Android TouchMode handling
* fix: remove unnecessary pre-check in android
* fix: restore unnecessary modifications
* fix: unified use __ANDROID__
* refactor: use interpolate_swipe_with_pause in AndroidController
* feat: add Android crash logcat output and native backtrace
* feat: only copy once from external lib screencap
* feat: add Android JNI AttachThread/DetachThread to working_proc
* fix: break control in switch
* fix: update click interval & swipe interval
* ci: restore Android build job with MaaFramework download
* fix: remove thread attach
* ci: temporarily remove MaaAndroidNativeControlUnit.so
* feat(android-ctrl): SWIPE_WITH_PAUSE 由 InstanceOption DeploymentWithPause 控制
* feat: SWIPE_WITH_PAUSE 默认启用
* feat: add android compile options and add core static options
* feat: use maafw controll unit
* fix: minor adjustments
* refactor: adapt maafw android lib
* fix: remove screencap when connect
* chore: change maafw lib use
* feat: adapt maafw control unit click & click_key
* fix: address critical issues in Android native controller
- Restore InstanceOptionKey::ClientType case in set_instance_option,
which was accidentally removed and broke client type setting on all platforms
- Enable libMaaAndroidNativeControlUnit.so copy step in CI (was commented out),
so Android artifacts actually include the required control unit library
- Fail connect() early when screen_resolution is missing or invalid in config,
preventing silent {0,0} resolution that would break swipe and screencap
- Check touch_down() return value in swipe() and abort on failure
* fix: correct bounds_check off-by-one and extract KEYCODE_ESCAPE constant
- bounds_check used <= which allowed coordinates equal to screen width/height
(off-screen); use < to match the valid range [0, dimension-1]
- Extract magic number 111 into KEYCODE_ESCAPE constexpr in press_esc()
* fix: avoid heap allocation in noexcept terminate/signal handlers
format_signal_reason was returning std::string and using std::format in
its default branch. Called from noexcept custom_terminate_handler before
the outer try block, any allocation failure would throw std::bad_alloc,
triggering recursive std::terminate and aborting crash reporting.
- Change return type to const char* noexcept, returning string literals
- Replace std::format("Signal {}", sig) with "Unknown Signal" (only the
four registered signals are ever passed, so this branch is unreachable)
- Change signal_info in custom_terminate_handler from std::string to
const char*, eliminating all allocations on the pre-try path
* fix: suppress unused-variable warning for signal_reason on non-Android
2026-05-12 22:15:15 +08:00
Constrat
cccbef1637
ci: fix icon post design structure change
2026-05-11 14:38:19 +02:00
status102
3c20e21182
ci: 限定.Net SDK为10.0.203
2026-05-05 04:03:08 +08:00
dependabot[bot]
f733530b67
ci: bump the github-actions group in /.github/workflows with 2 updates ( #16344 )
...
Bumps the github-actions group in /.github/workflows with 2 updates: [apple-actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs ) and [apple-actions/download-provisioning-profiles](https://github.com/apple-actions/download-provisioning-profiles ).
Updates `apple-actions/import-codesign-certs` from 6 to 7
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases )
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v6...v7 )
Updates `apple-actions/download-provisioning-profiles` from 5 to 6
- [Release notes](https://github.com/apple-actions/download-provisioning-profiles/releases )
- [Commits](https://github.com/apple-actions/download-provisioning-profiles/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: apple-actions/import-codesign-certs
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: apple-actions/download-provisioning-profiles
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>
2026-04-27 15:12:47 +08:00
Rbqwow
3d29fcb8ed
ci: 发版打包时移除 *.bak 文件
2026-04-22 14:27:20 +08:00
dependabot[bot]
3e5691fe1b
ci: bump the github-actions group across 1 directory with 4 updates ( #16301 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucien Shaw <myxlc55@outlook.com >
2026-04-22 13:13:56 +08:00
uye
b7598d8f66
ci: ci 和 nightly 打出来的包不带 updater
2026-04-22 03:40:12 +08:00
uye
b355c6cbc5
ci: 单引号
2026-04-21 05:43:03 +08:00
Frog Chen
50000b988a
feat: AVD截图增强的售后(文档、CI变更等) ( #16031 )
...
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com >
Co-authored-by: MistEO <mistereo@hotmail.com >
2026-04-17 22:38:56 +08:00
Halo
98dd6f7ba1
feat(Avalonia): V0.2 新构建跨平台前端界面MAAUnified,合并代码请求 ( #16048 )
...
* feat(MaaUnified): MaaUnified构建完成,作为submodule加入
* fix(MaaUnified): 修复自动构建时 submodule拉取错误问题
* feat(MaaUnified): MaaUnified submodule更换为组织仓库
* ci: do not fetch useless module
---------
Co-authored-by: MistEO <mistereo@hotmail.com >
2026-04-17 22:33:33 +08:00
status102
9ce2794841
ci: 将.Net SDK限制置于CI内, 以便于本地开发
2026-04-16 09:42:08 +08:00
MistEO
c373f49656
ci: 临时固定一下maafw版本
2026-04-06 21:52:00 +08:00
MistEO
5d55091a52
Revert "ci: 临时禁用 macos build"
...
This reverts commit b8db5f34c4 .
2026-04-02 17:40:35 +08:00
MistEO
b8db5f34c4
ci: 临时禁用 macos build
2026-04-01 00:17:06 +08:00
AnnAngela
6c20cb52fa
fix: 更新 MaaFramework 文件名格式和 .NET SDK 版本
2026-03-25 11:18:24 +08:00
uye
2a1f15b027
ci: 尝试固定运行库版本
2026-03-25 01:44:34 +08:00
dependabot[bot]
7dc4b315d6
ci: bump the github-actions group in /.github/workflows with 5 updates ( #16058 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-21 23:58:17 +08:00
MistEO
177437c1dc
Revert "ci: 临时糊一下发版"
...
This reverts commit 41295335b7 .
2026-03-14 20:07:08 +08:00
MistEO
41295335b7
ci: 临时糊一下发版
2026-03-14 17:52:54 +08:00
MistEO
4f54ded57b
fix: bad replace for dev-v2
2026-03-14 02:37:59 +08:00
MistEO
a5495f8803
chore: update branch dev to dev-v2
2026-03-14 02:29:11 +08:00
dependabot[bot]
20db680fc8
ci: bump the github-actions group in /.github/workflows with 2 updates ( #15897 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 23:48:59 +08:00
MistEO
0135d6ccbf
ci: only handle push on dev
2026-02-11 10:58:29 +08:00
uye
756cfa72ac
Revert: "feat: 发布时minify resource文件下的json ( #15567 )"
2026-02-10 02:18:56 +08:00
soundofautumn
84f1bf490c
build: Adopt CMake presets for CI and add clangd/VSCode integration ( #15595 )
...
* feat: clangd support
* feat: 完善CMakePresets
* docs: 更新cmake命令
* fix: smoke test run
* docs: 更新vscode开发文档
* feat: 添加执行MaaWpf到cmake中
* feat: 支持全部的presets
* chore: 重新安排顺序
* chore: add some comment
* chore: add more comments
* feat: 简化res-update-game
* chore: 移除多余build
* chore: 统一x64和arm64
* chore: 修正重复忽略.vscode
* feat: vscode cmaketool乱码
* docs: 添加提示
2026-02-06 23:05:41 +08:00
soundofautumn
47ee218c7d
feat: 发布时minify resource文件下的json ( #15567 )
...
* feat: 添加json压缩脚本
* feat: 添加cmake install时进行压缩
* feat: 添加压缩成功时日志
* feat: 添加日志
* feat: 修正install路径
* fix: 确保数据写入
* revert: CMakeList.txt
* feat: 在CI中进行minify json的调用
2026-02-06 17:10:33 +08:00
MistEO
a11660cbac
feat(PC): 支持 PC 端明日方舟 ( #15407 )
...
* feat(controller): 集成 MaaWin32ControlUnit 支持 Win32 窗口截图与控制
- 提取公共滑动插值逻辑到 SwipeHelper.hpp,重构 Minitouch/PlayTools 控制器
- 新增 Win32ControlUnitLoader 动态加载 MaaWin32ControlUnit.dll
- 新增 Win32Controller 实现 ControllerAPI,适配 touch_down/move/up 接口
- 添加 AsstAsyncAttachWindow 公开 API 用于绑定 Win32 窗口
- 添加 Win32 截图/输入方式的类型定义和枚举常量
* feat(api): 增加同步版本的 AsstAttachWindow 接口
模仿 AsstConnect 实现同步绑定 Win32 窗口的接口,方便简单场景下直接调用。
该接口标记为 deprecated,建议使用异步版本 AsstAsyncAttachWindow。
* fix: can build MaaCore
* feat: 完成整体适配
* feat(ci): 添加 MaaFramework Win32ControlUnit 下载步骤
使用 robinraju/release-downloader 从 MaaFramework 最新 release 下载
win-x64 版本并提取 MaaWin32ControlUnit 到构建产物中
* docs: 添加 Win32Controller 调试所需 MaaWin32ControlUnit 的说明
在开发文档的环境配置步骤中说明调试 Win32Controller 需要手动下载
MaaWin32ControlUnit.dll,并欢迎社区贡献自动下载脚本
* fix(i18n): 修改 UseAttachWindowWarning 措辞为"仅供尝鲜"
* fix: 小细节修复
* ci: fix maafw filename
* feat: PC 移至连接配置
* feat: 调整描述
* chore: 调整 PC 在连接配置中的顺序
* feat: 设置指引和开始唤醒界面 PC 选项绑定
---------
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com >
2026-01-18 21:17:59 +08:00
Loong
79417a45a3
ci: use git2/vendored-openssl feature flag for cli ( #15279 )
2026-01-02 23:40:11 +08:00
MistEO
0d46f8f3e2
ci: fix concurrency group ( #15269 )
2026-01-02 02:28:55 +08:00
MistEO
2f71207fb8
ci: fix linux build ( #15268 )
2026-01-02 02:16:31 +08:00
MistEO
599148cfe3
ci: try to fix linux arm64 build
2026-01-02 01:24:39 +08:00
MistEO
31e3e0c36a
ci: limit CI in PRs within the same branch
2026-01-02 01:18:30 +08:00
MistEO
712541e0e6
ci: try to fix linux build
2026-01-02 01:03:13 +08:00
dependabot[bot]
e4d5d1999c
ci: bump the github-actions group in /.github/workflows with 4 updates ( #15091 )
...
Bumps the github-actions group in /.github/workflows with 4 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [actions/cache](https://github.com/actions/cache ), [actions/download-artifact](https://github.com/actions/download-artifact ) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ).
Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
Updates `peter-evans/create-pull-request` from 7 to 8
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
dependency-version: '8'
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-12-15 18:44:55 +01:00
dependabot[bot]
e0e6eb4dc4
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
status102
779b2eb5e2
fix: 压缩win平台的pdb文件
2025-11-28 23:37:48 +08:00
status102
a922de5484
fix: 收集遗漏的MaaCore.pdb和MaaUtils/pdb
2025-11-28 14:36:11 +08:00
dependabot[bot]
8b2a694412
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
MistEO
641a673f14
ci: continue on error for all actions/cache
2025-11-22 22:23:36 +08:00
MistEO
cba17c9499
ci: continue on cache maadeps error
2025-11-22 22:19:06 +08:00
Lucien Shaw
9b2993091b
ci: 修正一个cli相关的action的输入 ( #14730 )
...
ci: 修正cli使用的一个action的输入
2025-11-12 09:08:51 +01:00
Weiyou Wang
a685cf7820
fix: build WpfGui for ARM architecture ( #14722 )
2025-11-12 12:27:02 +08:00
Lucien Shaw
f67c2c8f74
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
dependabot[bot]
51298411e2
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
MistEO
0f44ebf9c5
ci: 提供调试符号 ( #14675 )
2025-11-09 16:07:25 +08:00
MistEO
add62b81da
ci: 更好的 CI 并发控制 ( #14645 )
2025-11-06 13:42:44 +08:00
MistEO
e1590c7545
ci: 算了你还是取消吧
2025-11-01 19:04:22 +08:00
MistEO
0791326713
ci: fix cancel
2025-11-01 19:01:07 +08:00
MistEO
920339c877
ci: dev do not auto cancel build
2025-11-01 18:54:31 +08:00
Lucien Shaw
0711c822c2
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