MaaFw 4.4.0b1__py3-none-win_arm64.whl → 4.4.1__py3-none-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of MaaFw might be problematic. Click here for more details.

maa/bin/DirectML.dll CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
maa/bin/MaaFramework.dll CHANGED
Binary file
maa/bin/MaaToolkit.dll CHANGED
Binary file
maa/bin/MaaUtils.dll CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
maa/custom_action.py CHANGED
@@ -88,5 +88,8 @@ class CustomAction(ABC):
88
88
  elif isinstance(result, bool):
89
89
  return int(result)
90
90
 
91
+ elif result is None:
92
+ return int(True)
93
+
91
94
  else:
92
95
  raise TypeError(f"Invalid return type: {result!r}")
maa/custom_recognition.py CHANGED
@@ -95,9 +95,6 @@ class CustomRecognition(ABC):
95
95
  detail_buffer.set(result.detail)
96
96
  return int(result.box is not None)
97
97
 
98
- elif result is None:
99
- return int(False)
100
-
101
98
  # RectType
102
99
  elif (
103
100
  isinstance(result, Rect)
@@ -108,5 +105,8 @@ class CustomRecognition(ABC):
108
105
  rect_buffer.set(result)
109
106
  return int(True)
110
107
 
108
+ elif result is None:
109
+ return int(False)
110
+
111
111
  else:
112
- raise ValueError("Invalid return type")
112
+ raise TypeError(f"Invalid return type: {result!r}")
maa/tasker.py CHANGED
@@ -156,17 +156,6 @@ class Tasker:
156
156
  )
157
157
  )
158
158
 
159
- @staticmethod
160
- def set_show_hit_draw(show_hit_draw: bool) -> bool:
161
- cbool = ctypes.c_bool(show_hit_draw)
162
- return bool(
163
- Library.framework().MaaSetGlobalOption(
164
- MaaOption(MaaGlobalOptionEnum.ShowHitDraw),
165
- ctypes.pointer(cbool),
166
- ctypes.sizeof(ctypes.c_bool),
167
- )
168
- )
169
-
170
159
  @staticmethod
171
160
  def set_debug_mode(debug_mode: bool) -> bool:
172
161
  cbool = ctypes.c_bool(debug_mode)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MaaFw
3
- Version: 4.4.0b1
3
+ Version: 4.4.1
4
4
  Summary: An automation black-box testing framework based on image recognition
5
5
  Project-URL: Homepage, https://github.com/MaaXYZ/MaaFramework
6
6
  Author: MaaXYZ
@@ -66,8 +66,8 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
66
66
  - [MFAWPF](https://github.com/SweetSmellFox/MFAWPF) ![csharp](https://img.shields.io/badge/C%23-239120?logo=csharp&logoColor=white) ![license](https://img.shields.io/github/license/SweetSmellFox/MFAWPF) ![activity](https://img.shields.io/github/commit-activity/m/SweetSmellFox/MFAWPF?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/SweetSmellFox/MFAWPF?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
67
67
  基于 MAA 全新架构的 通用 GUI。由 MaaFramework 强力驱动!
68
68
 
69
- - [MFW-PyQt6](https://github.com/overflow65537/MFW-PyQt6) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MFW-PyQt6) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MFW-PyQt6?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MFW-PyQt6?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
70
- 基于PyQt6的通用GUI。由 MaaFramework 强力驱动!
69
+ - [MFW-CFA](https://github.com/overflow65537/MFW-PyQt6) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MFW-PyQt6) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MFW-PyQt6?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MFW-PyQt6?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
70
+ 基于PySide6的通用GUI。由 MaaFramework 强力驱动!
71
71
 
72
72
  - [MFAAvalonia](https://github.com/SweetSmellFox/MFAAvalonia) ![csharp](https://img.shields.io/badge/C%23-239120?logo=csharp&logoColor=white) ![license](https://img.shields.io/github/license/SweetSmellFox/MFAAvalonia) ![activity](https://img.shields.io/github/commit-activity/m/SweetSmellFox/MFAAvalonia?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/SweetSmellFox/MFAAvalonia?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
73
73
  基于 Avalonia 的 通用 GUI。由 MaaFramework 强力驱动!
@@ -94,7 +94,7 @@ _✨ 基于图像识别的自动化黑盒测试框架 ✨_
94
94
  - [MAS](https://github.com/MaaXYZ/MaaAssistantSkland) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF) ![license](https://img.shields.io/github/license/MaaXYZ/MaaAssistantSkland) ![activity](https://img.shields.io/github/commit-activity/m/MaaXYZ/MaaAssistantSkland?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/MaaXYZ/MaaAssistantSkland?style=social)
95
95
  森空岛 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
96
96
 
97
- - [MSBA](https://github.com/overflow65537/MAA_SnowBreak) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF) ![license](https://img.shields.io/github/license/overflow65537/MAA_SnowBreak) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MAA_SnowBreak?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MAA_SnowBreak?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
97
+ - [MSBA](https://github.com/overflow65537/MAA_SnowBreak) ![Pipeline](https://img.shields.io/badge/Pipeline-%23876f69?logo=paddypower&logoColor=%23FFFFFF)![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![license](https://img.shields.io/github/license/overflow65537/MAA_SnowBreak) ![activity](https://img.shields.io/github/commit-activity/m/overflow65537/MAA_SnowBreak?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/overflow65537/MAA_SnowBreak?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
98
98
  尘白禁区 小助手。图像技术 + 模拟控制,解放双手!由 MaaFramework 强力驱动!
99
99
 
100
100
  - [MaaYYs](https://github.com/TanyaShue/MaaYYs) ![python](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=white) ![qt](https://img.shields.io/badge/Qt6-41CD52?logo=Qt&logoColor=white) ![license](https://img.shields.io/github/license/TanyaShue/MaaYYs) ![activity](https://img.shields.io/github/commit-activity/m/TanyaShue/MaaYYs?color=%23ff69b4) ![stars](https://img.shields.io/github/stars/TanyaShue/MaaYYs?style=social) [![mirrorc](https://img.shields.io/badge/Mirror%E9%85%B1-%239af3f6?logo=countingworkspro&logoColor=4f46e5)](https://mirrorchyan.com/zh/projects?source=maafw-badge)
@@ -0,0 +1,32 @@
1
+ maa/__init__.py,sha256=t2Z9yJWrSZfH16xYN67bKpiPEHDf7iaiw4wi0PjmU8U,250
2
+ maa/agent_client.py,sha256=qx1-3VGp97JB_UMlbkvK-O_GTigbdqD6U4gGKi2yQW4,4049
3
+ maa/buffer.py,sha256=XFr1MnWt-xmZkhQ_2ZzGfiqSJJwmphY4U07EEzMNYQc,16544
4
+ maa/context.py,sha256=dYCvRNqq2iCL8lIyp2TkZorGB5KNI34L3pGzlpdL7co,6454
5
+ maa/controller.py,sha256=V9ALn24vQX-mWngZbuapBcv-_HNHCtUwHXa3Em2X13s,22517
6
+ maa/custom_action.py,sha256=honGd28UaKWzApYBHO9_Cka8hPfzZUy6HBUfIdfQiaU,2554
7
+ maa/custom_recognition.py,sha256=nfNgPKq9a6t2eoXwKMJRvZMXTh31Jn0JfxUMsfGI33Y,3384
8
+ maa/define.py,sha256=qec4GQkYi6AtorJ1ix880Fz67bpZULJOV3VpZEDd2Es,13341
9
+ maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
10
+ maa/library.py,sha256=u6gbEHDV3I0y69-ZoBo1p6-bAtP4jqSQa4FICuzaw3U,3961
11
+ maa/notification_handler.py,sha256=LFJY6YqF9fJSkRsvpmj6ZL5DexMN_cEOj-HmpWpB9o0,5442
12
+ maa/resource.py,sha256=sCGAK1FFjZCaf01t_FPdtl4pMDQsybhEjmafp9XfITA,12222
13
+ maa/tasker.py,sha256=FDZwh9ai9Z-1hytRUFAiEwXGhruvHMCKPrbGSAOWxmY,14449
14
+ maa/toolkit.py,sha256=H7P58dPLKzEm_aZMsDJ98IaMZnTE-hcFgK8MKnN0F6g,11381
15
+ maa/agent/__init__.py,sha256=K4vyyD6YgLR6PEQl86t4oKP4eViCdNr3Br94dNk8YjM,257
16
+ maa/agent/agent_server.py,sha256=e0yE_ffWJlTPydJbYLK9OhCM5fVVlZQIcvEQMjB5V68,3636
17
+ maa/bin/DirectML.dll,sha256=d7Dbg_-QPyMj9cr1OEmdda9gOLvqI7eVn30jLZpKudQ,18444832
18
+ maa/bin/MaaAdbControlUnit.dll,sha256=06TfNmR9ZTTHTRE_8KK8jImgfxC3HFOLUEQMV2CoidE,848384
19
+ maa/bin/MaaAgentClient.dll,sha256=vjwE8UrZviuqgFHgE4N3p953Bl5STS0_70UxNyNxJx4,1117184
20
+ maa/bin/MaaAgentServer.dll,sha256=3FeXam5bx0Pd4QN23hjA3A8LhaOuSMWiAqnQm5sbWDA,1355264
21
+ maa/bin/MaaDbgControlUnit.dll,sha256=aeSza2fOIAeHrxlza5ES5PlktLnfw6xBbcVNS3ncPWE,393216
22
+ maa/bin/MaaFramework.dll,sha256=TMBNsOKfAsgKmmJ4fqjw_2ht2_4SE8MZMnMePrWg4G8,1985536
23
+ maa/bin/MaaToolkit.dll,sha256=gRbJqhOG0Ocr_KJzN7lSX0QROfirAKNNLMd1EDk9uI0,775168
24
+ maa/bin/MaaUtils.dll,sha256=vmT3c3CBx9j3sgb1R5eOp3QehpWIMJkyCyJMSHU94Os,561664
25
+ maa/bin/MaaWin32ControlUnit.dll,sha256=YfnEDX5M4t2TDAelmCrMGO5O5jwfNf60dGMnODjyXqU,349696
26
+ maa/bin/fastdeploy_ppocr_maa.dll,sha256=MV81jpK680X5eubE6nN5k7s1eBYGsrOkPRDaE4FroYY,1049088
27
+ maa/bin/onnxruntime_maa.dll,sha256=8UdZF1p9WfckO4KXPN4Yv72iYRiONt0nIVF7Vj_eggk,19039744
28
+ maa/bin/opencv_world4_maa.dll,sha256=KHFcyAPt8fDWvIue9FX7XSKQx2lqsAtmyQcsCqQIZVg,12862464
29
+ maafw-4.4.1.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
30
+ maafw-4.4.1.dist-info/METADATA,sha256=EjAy1dUkGwkbs7Xe_VU9TqPLD0lBOp412sIct4XUd5g,24435
31
+ maafw-4.4.1.dist-info/WHEEL,sha256=CUnyDJaykcVTxcKkonAaC86WeSAkytRwcxeIq_huwCo,93
32
+ maafw-4.4.1.dist-info/RECORD,,
@@ -1,32 +0,0 @@
1
- maa/__init__.py,sha256=t2Z9yJWrSZfH16xYN67bKpiPEHDf7iaiw4wi0PjmU8U,250
2
- maa/agent_client.py,sha256=qx1-3VGp97JB_UMlbkvK-O_GTigbdqD6U4gGKi2yQW4,4049
3
- maa/buffer.py,sha256=XFr1MnWt-xmZkhQ_2ZzGfiqSJJwmphY4U07EEzMNYQc,16544
4
- maa/context.py,sha256=dYCvRNqq2iCL8lIyp2TkZorGB5KNI34L3pGzlpdL7co,6454
5
- maa/controller.py,sha256=V9ALn24vQX-mWngZbuapBcv-_HNHCtUwHXa3Em2X13s,22517
6
- maa/custom_action.py,sha256=V-kJ-5ahcImnzrZBbAH_RJqoiQ7RjBT39ffdSOi9_c4,2495
7
- maa/custom_recognition.py,sha256=P8Kfh4PWoQXyw7loE-9zv_VCD2HUcE6qkIXCK_Ye9a4,3372
8
- maa/define.py,sha256=qec4GQkYi6AtorJ1ix880Fz67bpZULJOV3VpZEDd2Es,13341
9
- maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
10
- maa/library.py,sha256=u6gbEHDV3I0y69-ZoBo1p6-bAtP4jqSQa4FICuzaw3U,3961
11
- maa/notification_handler.py,sha256=LFJY6YqF9fJSkRsvpmj6ZL5DexMN_cEOj-HmpWpB9o0,5442
12
- maa/resource.py,sha256=sCGAK1FFjZCaf01t_FPdtl4pMDQsybhEjmafp9XfITA,12222
13
- maa/tasker.py,sha256=cAkYW8Mu5rAgsPlSGacTjJ830sF2yFtvlmXRvIJt-A4,14811
14
- maa/toolkit.py,sha256=H7P58dPLKzEm_aZMsDJ98IaMZnTE-hcFgK8MKnN0F6g,11381
15
- maa/agent/__init__.py,sha256=K4vyyD6YgLR6PEQl86t4oKP4eViCdNr3Br94dNk8YjM,257
16
- maa/agent/agent_server.py,sha256=e0yE_ffWJlTPydJbYLK9OhCM5fVVlZQIcvEQMjB5V68,3636
17
- maa/bin/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
18
- maa/bin/MaaAdbControlUnit.dll,sha256=a7OUzHGmqmI5IlbJyY9abzSyTHzdPmylufkWMoFAoT8,1326080
19
- maa/bin/MaaAgentClient.dll,sha256=FfBt53UHtE6ZMrLwbWvXdpKejW_HuGsvezX866TzsaI,1973760
20
- maa/bin/MaaAgentServer.dll,sha256=4JKJVVV1K87wRvaz0Kn5URPnxSWgdyPbSz_hiWmRLco,2224640
21
- maa/bin/MaaDbgControlUnit.dll,sha256=MaId0oj_gNkB4sqyjVUvQiZ7JzFGTxrzzvCZtoC0giY,775680
22
- maa/bin/MaaFramework.dll,sha256=VXA4Jy78wg2S8m0BVu2mca3BVQd_2Gjdlu-MeYl4Q-0,2802688
23
- maa/bin/MaaToolkit.dll,sha256=Vkg5Sp_fJRh5c6ZlzDU3r4VazosYFhjuP-ybptpYFJY,1308672
24
- maa/bin/MaaUtils.dll,sha256=oHTKMOr7Hve6qkLQ2goRDqS3ocFK3H0QnButbW3qyNk,1009664
25
- maa/bin/MaaWin32ControlUnit.dll,sha256=ABa8UIVQtVdlyDER8t6Wz4GGvBVfxyhzL3yAMno5uPM,1558016
26
- maa/bin/fastdeploy_ppocr_maa.dll,sha256=HowKaHyB31cTK8ZoPAgxlPQOEKUM_jEJoCvyku5hj6k,1168384
27
- maa/bin/onnxruntime_maa.dll,sha256=rlFVEdC1cB6Yc4EbYuvoyGOr9o941NbLaOzwkaghAVo,19161600
28
- maa/bin/opencv_world4_maa.dll,sha256=-RoYA6M1PHqnM0Yc-SpKY07rk1mx7PNH6CuxkutS9yw,18250752
29
- maafw-4.4.0b1.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
30
- maafw-4.4.0b1.dist-info/METADATA,sha256=u6eY1Ea3cJATCaymxYiILgM47r50Uh6E5acWt8r215E,24356
31
- maafw-4.4.0b1.dist-info/WHEEL,sha256=CUnyDJaykcVTxcKkonAaC86WeSAkytRwcxeIq_huwCo,93
32
- maafw-4.4.0b1.dist-info/RECORD,,
File without changes