MaaFw 4.5.5__py3-none-macosx_13_0_arm64.whl → 4.5.6__py3-none-macosx_13_0_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.

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=kyjtUkgGWwLeJQG1CFcoCypoMRb6Do8xY3qpmiTrDcQ,680600
18
- maa/bin/libMaaAgentClient.dylib,sha256=90MylpPf36S8FVlC-BByaih1XlYQJc4q9N6_1NVVrEY,1499656
19
- maa/bin/libMaaAgentServer.dylib,sha256=7Z6FxSzYShqkVV2sZMIWZ6ecMQqNgvlJ8j8-ShZOXME,1658680
20
- maa/bin/libMaaCustomControlUnit.dylib,sha256=IHg7-xdKEcudWJTdpQAim6WrcX051kFdizQpgr3NWdw,176944
21
- maa/bin/libMaaDbgControlUnit.dylib,sha256=8uLixNdfb3ZzLUSp5qw-zUlrpAJ82yvc-8Hs9ncKLpM,340360
22
- maa/bin/libMaaFramework.dylib,sha256=6c3QWDoTatAN6Sn2jJWuXghBY-Ms26KpmGMpeYWx3oM,2702376
23
- maa/bin/libMaaToolkit.dylib,sha256=w_t7O6apDfr1fnzQpjE8CNNzrEjOxJDKKRV-VLTnvJ4,956784
24
- maa/bin/libMaaUtils.dylib,sha256=dSNRVxk2GxmfpFeDqCWnZgUhV5bnBTc97B8GtzdvxbA,540720
17
+ maa/bin/libMaaAdbControlUnit.dylib,sha256=TaaAT9GTg4fMKFAftTa2lmJVPjDEs2RbdLaGczb3OTo,680600
18
+ maa/bin/libMaaAgentClient.dylib,sha256=63mYXkgxBOzshsXg2R2WdlxnLpR-bGbBPtqysVkz3G4,1499656
19
+ maa/bin/libMaaAgentServer.dylib,sha256=n2UCC2hNPi4BQZoO2FGmHtUMo_FjcWl0vPvHjuJQ0CY,1658680
20
+ maa/bin/libMaaCustomControlUnit.dylib,sha256=lf-Rri7ZsRu5FdMU2FeeERgJtEyMwSsFUMp6dUhq5kM,176944
21
+ maa/bin/libMaaDbgControlUnit.dylib,sha256=wxGoeAphBru4RUuxzp4vpSmi-MdWhY8da1UwkLN3L0A,340360
22
+ maa/bin/libMaaFramework.dylib,sha256=tWmHQSwckeUUjSr7MRkNYRAMgovStdPPSXnqLINm2SM,2702376
23
+ maa/bin/libMaaToolkit.dylib,sha256=oaAezzsKUAJnw-v2aTdakr67TGgmQbR5ISF72ayHtQ8,956784
24
+ maa/bin/libMaaUtils.dylib,sha256=qdeBrjpPnsJ1wJ3RfklS_ZHB7P1J75kXBLEtayyw4Zw,540944
25
25
  maa/bin/libfastdeploy_ppocr.dylib,sha256=XoLZqV8DlPvdayDrrfbDZ2Lz5eCWe3EWSsl3Xn1ADyk,4075576
26
26
  maa/bin/libonnxruntime.1.19.2.dylib,sha256=UwJhBhMB9rR6QH7IILUHa6E9yGZGoo16OpIsgWI0pEY,16542872
27
27
  maa/bin/libopencv_world4.4.11.0.dylib,sha256=MXXVcSC_x4KVj_JmyHEbQLALPiqjWZPFfuiLlhAW4Ww,11503968
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=SqRtGdpuogbgKRVwFY1Ga4NP7T5_9qclWQUlsSHr8Hw,101
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=SqRtGdpuogbgKRVwFY1Ga4NP7T5_9qclWQUlsSHr8Hw,101
31
+ maafw-4.5.6.dist-info/RECORD,,
File without changes