feat(connection): support native Win32 clients - #575
Draft
hwJinny wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AsstAsyncAttachWindowwrapper and Windows-only exact-window discoveryWin32connection preset with PID/executable disambiguation and PC platform resourcesmaa runtasks through native window attachment without ADB and disable StartUp game launchingmaa connection test --profile <name> --screencap --jsonfor ADB, PlayCover, and Win32 onboarding probesMaaWin32ControlUnit.dllin the Windows MaaCore installationSafety
Tests
-D warningsmaa-core: 22 passedmaa-cli: 297 passed, 26 ignoredLive verification still required
Summary by Sourcery
为官方 Windows 客户端新增原生 Win32 连接支持,并加入 CLI 连接测试流程;将基于窗口的附着能力集成到 MaaCore 和 maa-cli 中,同时更新配置、安装程序和文档。
New Features:
Assistant::async_attach_windowAPI 和窗口分辨率工具,以支持对可见的顶层 Win32 窗口进行安全附着,并可选通过 PID 和可执行文件进行区分。maa connection testCLI 命令,支持截图探测和可选的 JSON 输出,用于验证各预设下已配置连接的有效性。Enhancements:
StartUp.start_game_enabled。MaaWin32ControlUnit.dll与 MaaCore 一同存在,并在安装程序/测试中加入对其存在性的校验。Tests:
Original summary in English
Summary by Sourcery
Add native Win32 connection support for the official Windows client and a CLI connection test flow, integrating window-based attachment into MaaCore and maa-cli while updating configuration, installer, and docs.
New Features:
maa connection testCLI command with screenshot probing and optional JSON output to validate configured connections across presets.Enhancements:
Tests: