MaaFw 4.4.0b2__py3-none-manylinux2014_aarch64.whl → 4.4.1__py3-none-manylinux2014_aarch64.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.

Binary file
Binary file
Binary file
Binary file
Binary file
maa/bin/libMaaToolkit.so CHANGED
Binary file
maa/bin/libMaaUtils.so CHANGED
Binary file
Binary file
Binary file
maa/bin/libstdc++.so.6 ADDED
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.0b2
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,31 @@
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/libMaaAdbControlUnit.so,sha256=IuDRvw0kc15-qI-vt2vx5P4-oDaX-3_cgRpWFjoCNME,1033920
18
+ maa/bin/libMaaAgentClient.so,sha256=OBw4vNbP1WBs6r9oZzzDTwxYLsbJAyi985Kr1VGmCfs,1627584
19
+ maa/bin/libMaaAgentServer.so,sha256=NyFQJoEpHUk1Ybe3EdCwc4gaOTQNCMbZ-a3jELpCUhE,2059816
20
+ maa/bin/libMaaDbgControlUnit.so,sha256=Uph6OBy2RMLHEojDnGDm1WwvpE-FAn3CdCVrSN1n1Eg,389032
21
+ maa/bin/libMaaFramework.so,sha256=ViLo2rmXAuqbROn5hHR01oYzCqn9UoGVlJ2EysTTeLA,2917456
22
+ maa/bin/libMaaToolkit.so,sha256=VOfzbHc6Od78gN-8dRsO4ZsNulqkS51TnmDeFipiGkU,1116760
23
+ maa/bin/libMaaUtils.so,sha256=GWwDEvfDYgyvI2B9cQ_nEO392xf4LzhjL5qrEJfTYeA,777048
24
+ maa/bin/libfastdeploy_ppocr.so,sha256=NmZcCeFdOHYrqaSWWb18g7qdrT4n2IzA7hWW9j0zO3s,6001992
25
+ maa/bin/libonnxruntime.so.1,sha256=DcOF3yLXjHCeLlgNWPEhnR_zzQ3rP9IQvL_CfsOKBF8,18838352
26
+ maa/bin/libopencv_world4.so.411,sha256=wqxNNr-1QCtx5W0e46RpxSUf-2-dMhI3cuINXDytTeg,13841640
27
+ maa/bin/libstdc++.so.6,sha256=Aa4nDv1qZPl1pGAzPQcIwxXFKog0avAbUEOhqnc-Fsg,14204224
28
+ maafw-4.4.1.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
29
+ maafw-4.4.1.dist-info/METADATA,sha256=EjAy1dUkGwkbs7Xe_VU9TqPLD0lBOp412sIct4XUd5g,24435
30
+ maafw-4.4.1.dist-info/WHEEL,sha256=8rPUfYBEmDdlgJUoJH6dpknsfcdCdyH-ZatJmZBsaqM,105
31
+ maafw-4.4.1.dist-info/RECORD,,
@@ -1,30 +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/libMaaAdbControlUnit.so,sha256=LMJPxgKfUBSRXg8qGbHPZKUwGTfzZEcLOYtW839oWa4,16855080
18
- maa/bin/libMaaAgentClient.so,sha256=8e_KYv1M63rIWg_TEeJCWLqiurZFoXOZyq2Qh7SY4xw,8232088
19
- maa/bin/libMaaAgentServer.so,sha256=-ffuMYP-q3sSltddN7yGxJLbcxlOPvLZR54FiSJnDec,15585648
20
- maa/bin/libMaaDbgControlUnit.so,sha256=3L3OQWtwILym1j2OpZk31BcKORjPloC_5eq2VSDhDOA,4585816
21
- maa/bin/libMaaFramework.so,sha256=2oCAaMYBJttJWdSxaJjFqgf_o3ZXwN8gV5NS8zQvFpQ,50875440
22
- maa/bin/libMaaToolkit.so,sha256=6_uv1SwbVguLINsMVXj-Ib_g7qYd1Rrn6P-WQgXU5NI,15370648
23
- maa/bin/libMaaUtils.so,sha256=xajN6rHJDT9KUtRKngSa_JU9zjQSH5sYHE37-CCheH0,6538000
24
- maa/bin/libfastdeploy_ppocr.so,sha256=OPB9oG0O7ZGNZUuY9U0nPsWcWnIN9xu1s0PRvXkmUEY,5815536
25
- maa/bin/libonnxruntime.so.1,sha256=LiAUFtvZ6eh6yGCoDoqSdN1fWR6LCyscxjQbOpdo14w,19769616
26
- maa/bin/libopencv_world4.so.408,sha256=fb-nh6oI32qImBiK1hRu7gSoe1u7r2aRbXxyCIgxPaA,16272176
27
- maafw-4.4.0b2.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
28
- maafw-4.4.0b2.dist-info/METADATA,sha256=HW5JiXBi4dY3E-cK3_8a8F-U5nYoHiKG5XG0uittEqU,24356
29
- maafw-4.4.0b2.dist-info/WHEEL,sha256=8rPUfYBEmDdlgJUoJH6dpknsfcdCdyH-ZatJmZBsaqM,105
30
- maafw-4.4.0b2.dist-info/RECORD,,
File without changes