MaaFw 4.5.5__py3-none-macosx_13_0_x86_64.whl → 4.5.6__py3-none-macosx_13_0_x86_64.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
Binary file
Binary file
maa/bin/libMaaUtils.dylib CHANGED
Binary file
maa/toolkit.py CHANGED
@@ -125,37 +125,33 @@ class Toolkit:
125
125
  @staticmethod
126
126
  def pi_register_custom_recognition(
127
127
  name: str, recognition: "CustomRecognition", inst_id: int = 0 # type: ignore
128
- ) -> bool:
128
+ ) -> None:
129
129
  Toolkit._set_api_properties()
130
130
 
131
131
  # avoid gc
132
132
  Toolkit._pi_custom_recognition_holder[inst_id][name] = recognition
133
133
 
134
- return bool(
135
- Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition(
136
- ctypes.c_uint64(inst_id),
137
- name.encode(),
138
- recognition.c_handle,
139
- recognition.c_arg,
140
- )
134
+ Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition(
135
+ ctypes.c_uint64(inst_id),
136
+ name.encode(),
137
+ recognition.c_handle,
138
+ recognition.c_arg,
141
139
  )
142
140
 
143
141
  @staticmethod
144
142
  def pi_register_custom_action(
145
143
  name: str, action: "CustomAction", inst_id: int = 0 # type: ignore
146
- ) -> bool:
144
+ ) -> None:
147
145
  Toolkit._set_api_properties()
148
146
 
149
147
  # avoid gc
150
148
  Toolkit._pi_custom_recognition_holder[inst_id][name] = action
151
149
 
152
- return bool(
153
- Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomAction(
154
- ctypes.c_uint64(inst_id),
155
- name.encode(),
156
- action.c_handle,
157
- action.c_arg,
158
- ),
150
+ Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomAction(
151
+ ctypes.c_uint64(inst_id),
152
+ name.encode(),
153
+ action.c_handle,
154
+ action.c_arg,
159
155
  )
160
156
 
161
157
  @staticmethod
@@ -306,9 +302,7 @@ class Toolkit:
306
302
  MaaToolkitDesktopWindowHandle
307
303
  ]
308
304
 
309
- Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition.restype = (
310
- None
311
- )
305
+ Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition.restype = None
312
306
  Library.toolkit().MaaToolkitProjectInterfaceRegisterCustomRecognition.argtypes = [
313
307
  ctypes.c_uint64,
314
308
  ctypes.c_char_p,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MaaFw
3
- Version: 4.5.5
3
+ Version: 4.5.6
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
@@ -11,21 +11,21 @@ maa/library.py,sha256=u6gbEHDV3I0y69-ZoBo1p6-bAtP4jqSQa4FICuzaw3U,3961
11
11
  maa/notification_handler.py,sha256=dpbIEKTqCvW9mj6am49Fd9ntoM39OCadhOGrvkmhyyI,5502
12
12
  maa/resource.py,sha256=sCGAK1FFjZCaf01t_FPdtl4pMDQsybhEjmafp9XfITA,12222
13
13
  maa/tasker.py,sha256=8eGK83RhsVXh1Px2_eHhUBd6epaubIGDN0FG4soi4xM,14232
14
- maa/toolkit.py,sha256=H7P58dPLKzEm_aZMsDJ98IaMZnTE-hcFgK8MKnN0F6g,11381
14
+ maa/toolkit.py,sha256=otPnF4GcZTI9zktbGm8QDHUcxfs8OYASvZuH3XekP2Y,11246
15
15
  maa/agent/__init__.py,sha256=K4vyyD6YgLR6PEQl86t4oKP4eViCdNr3Br94dNk8YjM,257
16
16
  maa/agent/agent_server.py,sha256=e0yE_ffWJlTPydJbYLK9OhCM5fVVlZQIcvEQMjB5V68,3636
17
- maa/bin/libMaaAdbControlUnit.dylib,sha256=88Bm1BeBiEomPCNAKC5ri62l6zYL2RzVQ3uuNkTs1GI,710760
18
- maa/bin/libMaaAgentClient.dylib,sha256=gVj_fIjKjPLHNK0bW0xHcGxc1Z2LJMbMyuhRSeC9Ou8,1516000
19
- maa/bin/libMaaAgentServer.dylib,sha256=Ukc_VUiYpNP_MhSLyP0yr37IXxVzqWVtLEIeAf9FG3w,1668048
20
- maa/bin/libMaaCustomControlUnit.dylib,sha256=QiKM0Zi2iowtnUaHeO_NoOPMc9MVsCLlKD5Eb60-_68,155344
21
- maa/bin/libMaaDbgControlUnit.dylib,sha256=VVaTsUb--3PqnStZ9LamdlkKGITWvKr0JKVUAhMv2TY,322552
22
- maa/bin/libMaaFramework.dylib,sha256=V4uWsN_ovxEynj3HRA6sfJa7-h5ojj26-NMXp2okJqU,2848256
23
- maa/bin/libMaaToolkit.dylib,sha256=HrL_i5cNm6ygMOdvI927sWb4X0BEflE-dbNxg9rYl8s,978032
24
- maa/bin/libMaaUtils.dylib,sha256=S9h0tJQvJ7-vzjMp7YUbivgQAu4pzq98QCKTpo-pCMU,541440
17
+ maa/bin/libMaaAdbControlUnit.dylib,sha256=w7cRyr6TDMTsHGJG095TGq5ksuGVtTk7CZcPBour9fo,710760
18
+ maa/bin/libMaaAgentClient.dylib,sha256=d4Ni9sM5a0yuNSzl7J_O-3g_p9YKr1z5CunnrquHZNA,1516000
19
+ maa/bin/libMaaAgentServer.dylib,sha256=As8Bi-DYUgAOrOJnDnCKE5NqjlHqOrPTCZk-UCy4AWs,1668048
20
+ maa/bin/libMaaCustomControlUnit.dylib,sha256=fP1HIaCq8nBH6SEf1WGiY5RR19r2GADaADMZGHxbmOE,155344
21
+ maa/bin/libMaaDbgControlUnit.dylib,sha256=sbnqVwM0eVD69Kv4N0hA-U4ZbLZ3NHk1Q89VBneE1PM,322552
22
+ maa/bin/libMaaFramework.dylib,sha256=k7LEEl0ODAGtqLEyPqjQR5qcDFvir20vB2I_nqp0DOk,2848256
23
+ maa/bin/libMaaToolkit.dylib,sha256=VQRK9G2tl3Kd7zpXSt-XyhdMRLjD14-7OdDfI_3ignU,978032
24
+ maa/bin/libMaaUtils.dylib,sha256=WNoU43w-L4HcDynSeMJOLk5tJZZdexyWYL2SXaWXa0M,541648
25
25
  maa/bin/libfastdeploy_ppocr.dylib,sha256=sxz7f4Y-oSEMndpA6G1RlUiStljgPqawvMX7yhOpU9U,5098216
26
26
  maa/bin/libonnxruntime.1.19.2.dylib,sha256=JVkSbb22roRZEAn9IuH3SGni4TNuTwcaIm2bZmAdVwU,18703184
27
27
  maa/bin/libopencv_world4.4.11.0.dylib,sha256=fNt8IKMU_0HTpI_HAZqKLW4W_vHq-WqWQLSXgti__2U,13427848
28
- maafw-4.5.5.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
29
- maafw-4.5.5.dist-info/METADATA,sha256=Jp-6D2WC4-2VSOLFixgPAfQXK-Dim4tc4a_FOASUNZQ,24481
30
- maafw-4.5.5.dist-info/WHEEL,sha256=uH4n7Su0XdKLw9IB_vCifAJxZvl_ChRwTrm1-ddvWvA,102
31
- maafw-4.5.5.dist-info/RECORD,,
28
+ maafw-4.5.6.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
29
+ maafw-4.5.6.dist-info/METADATA,sha256=65yNLtSTVd90xvyfIwpV9KYqgYS6RHcBHnMsU_2gTK4,24481
30
+ maafw-4.5.6.dist-info/WHEEL,sha256=uH4n7Su0XdKLw9IB_vCifAJxZvl_ChRwTrm1-ddvWvA,102
31
+ maafw-4.5.6.dist-info/RECORD,,
File without changes