MaaFw 4.5.5__py3-none-win_amd64.whl → 4.5.6__py3-none-win_amd64.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/MaaFramework.dll CHANGED
Binary file
maa/bin/MaaToolkit.dll CHANGED
Binary file
maa/bin/MaaUtils.dll CHANGED
Binary file
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,23 +11,23 @@ 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
17
  maa/bin/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
18
- maa/bin/MaaAdbControlUnit.dll,sha256=lE3tDPRDoVcp_M2FWvmAumeEOZVRaK_7mBtcfvvpNiE,737280
19
- maa/bin/MaaAgentClient.dll,sha256=xjeWcyEAq1T3vEtlYHpK9m9fiXAOf1GceiVjSizCflI,974336
20
- maa/bin/MaaAgentServer.dll,sha256=otbanRjaA1RZ_pTUaePn-3ej5F5t1FSt3HwihZ8CE4Y,1055744
21
- maa/bin/MaaCustomControlUnit.dll,sha256=SN13VH3Jc3EP_idacg3Hyi7ZgbFbyQh4lSJCrNm9oV8,268800
22
- maa/bin/MaaDbgControlUnit.dll,sha256=DJmHRdXPJZBmpn8l-JNfGDhDaGHfWW8gGQYzGErfeQw,393728
23
- maa/bin/MaaFramework.dll,sha256=-kt671WTl6ExK1SAPBgzx3In3KwUaon-ybvRkqaiUG0,1710080
24
- maa/bin/MaaToolkit.dll,sha256=dQWfZIJtr9o2Pj07xyxF0meCYAQQ1x8oMpd5GfCJ6bY,750592
25
- maa/bin/MaaUtils.dll,sha256=93PbCubmTE80s1cd09xftvJEoZJmE5DWfwuGHbtaIUw,547840
26
- maa/bin/MaaWin32ControlUnit.dll,sha256=P9sJ9rkB0mpRNcaVMpKZUZ51LQgS27rxkp39Sdc0MJ4,339968
18
+ maa/bin/MaaAdbControlUnit.dll,sha256=Syv5BGh0ecbVieMOC_KWdTNggC5F1uIT6CzXC9kW5EY,737280
19
+ maa/bin/MaaAgentClient.dll,sha256=EI-AdP7b7AawMM4DXacrkoR6rrNSVKAEp8HlUd2juZI,974336
20
+ maa/bin/MaaAgentServer.dll,sha256=fOMuod-hYE6s9DWjKOSg4IKIh5sQBcJMuuYzWHHxObw,1055744
21
+ maa/bin/MaaCustomControlUnit.dll,sha256=W7pw-iQu0BMXrIIPOhYf1hsfMSXhK3oUKlFmlM4CHkA,268800
22
+ maa/bin/MaaDbgControlUnit.dll,sha256=GODsD0KJNaN5kWFWlq3cCyADYMtHZZGW5aElLWpb7tg,393728
23
+ maa/bin/MaaFramework.dll,sha256=sLn-7f9IuL-iu6U-zMMZ03WlwjgDFan35HwOqbWu-qk,1710080
24
+ maa/bin/MaaToolkit.dll,sha256=a6AS1VWCiCYgN5C6SF2cX2_bNkXRmsmbJF3n0VHyfr0,750592
25
+ maa/bin/MaaUtils.dll,sha256=wolsD2ASyyzXGG95m2QWtRaztDLAwgF6CICBw9G6cPM,554496
26
+ maa/bin/MaaWin32ControlUnit.dll,sha256=JW191x0dLCVWop2SFiHfk3-ZOH1rfeeLyhZT-2QQyi0,339968
27
27
  maa/bin/fastdeploy_ppocr_maa.dll,sha256=c70vvbc3vuptIB3ZkLCPI-4cVq1RLl8XRH2YLdq29DM,1139200
28
28
  maa/bin/onnxruntime_maa.dll,sha256=HLty25697ciOCaDY2yBmYwlZ5nj8jHPkAq5RyDE2W20,19152896
29
29
  maa/bin/opencv_world4_maa.dll,sha256=00pIR1cEQtqw8r4sloZi-QTisXo12jv06v48EGecNTo,13983744
30
- maafw-4.5.5.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
31
- maafw-4.5.5.dist-info/METADATA,sha256=Jp-6D2WC4-2VSOLFixgPAfQXK-Dim4tc4a_FOASUNZQ,24481
32
- maafw-4.5.5.dist-info/WHEEL,sha256=k6hccRrl6UmjGsv-l-15TwZnTH21KqjgBTXuBtbSCtM,93
33
- maafw-4.5.5.dist-info/RECORD,,
30
+ maafw-4.5.6.dist-info/licenses/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
31
+ maafw-4.5.6.dist-info/METADATA,sha256=65yNLtSTVd90xvyfIwpV9KYqgYS6RHcBHnMsU_2gTK4,24481
32
+ maafw-4.5.6.dist-info/WHEEL,sha256=k6hccRrl6UmjGsv-l-15TwZnTH21KqjgBTXuBtbSCtM,93
33
+ maafw-4.5.6.dist-info/RECORD,,
File without changes