MaaFw 3.0.1__py3-none-win_arm64.whl → 3.0.4__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MaaFw
3
- Version: 3.0.1
3
+ Version: 3.0.4
4
4
  Summary: An automation black-box testing framework based on image recognition
5
5
  Author: MaaXYZ
6
6
  Project-URL: Homepage, https://github.com/MaaXYZ/MaaFramework
@@ -155,7 +155,7 @@ _请留意,仅当您准备开发 MaaFramework 本身时,才需要阅读本
155
155
  - [boost](https://www.boost.org/)
156
156
  Boost provides free peer-reviewed portable C++ source libraries.
157
157
  - [meojson](https://github.com/MistEO/meojson)
158
- A modern all-platform Json/Json5 parser/serializer, which is header-only and used magic!
158
+ Next-gen C++ JSON/JSON5 Serialization Engine | Zero Dependency | Header-Only | Unleash JSON Potential
159
159
  - [minitouch](https://github.com/DeviceFarmer/minitouch)
160
160
  Minimal multitouch event producer for Android.
161
161
  - [maatouch](https://github.com/MaaAssistantArknights/MaaTouch)
@@ -8,21 +8,21 @@ maa/define.py,sha256=d86Bu4_M4EAW-O19WLvjN6AC4Y-xpP1Kv-xf45g99Zc,13168
8
8
  maa/job.py,sha256=MUI5T2X9ON9c7Dl6yo_0pp8Ulpn25XOD_uEdGm2k-TA,1231
9
9
  maa/library.py,sha256=AwdFx_zWHEah81NwOmD-SDzysSuVbsreDLIaxpWsXvY,1267
10
10
  maa/notification_handler.py,sha256=1sFukH3R5l9Fp73CP7DV8fv6gTYge_kb6foSDNcNERY,5251
11
- maa/resource.py,sha256=AdlQHc58bU2AjSx-9k9V_657pIMgaVMXqtURsJEN6Mw,9379
11
+ maa/resource.py,sha256=XJ4zGYaM2onao45FUSicv3ghClrba4xQhyD_f4eLyww,9825
12
12
  maa/tasker.py,sha256=whGIavf89NoiPffEoRJk3xtzeW8NUyzMoi6ZIo2d5b8,14409
13
13
  maa/toolkit.py,sha256=BE_o8XgznuW1d_7YairYHOrqOp5Ha9GYMcinsYYBgVM,11163
14
14
  maa/bin/DirectML.dll,sha256=d7Dbg_-QPyMj9cr1OEmdda9gOLvqI7eVn30jLZpKudQ,18444832
15
- maa/bin/MaaAdbControlUnit.dll,sha256=XVLlSk7x48BDMjhWud6XAkIA1eaCqZo1xFDEgLm0HA4,856576
16
- maa/bin/MaaDbgControlUnit.dll,sha256=lhD22NLQpXdhBt3MC2EFN4e7NwbQuQayMSIdockvxtQ,397824
17
- maa/bin/MaaFramework.dll,sha256=F8cehiU7UblCbOJTIrG2BY45EUP4kUzlqgz33o3EeIA,1800704
18
- maa/bin/MaaToolkit.dll,sha256=pMyQwLECaWsEHdXR9SzYAmjbRXxU-hny1UWe0N94w8s,717824
19
- maa/bin/MaaUtils.dll,sha256=KJJ-7bti295iMXws80woO4FkaGemE223bBBlflN2EEI,572416
20
- maa/bin/MaaWin32ControlUnit.dll,sha256=wGuOKWMUoNYrgVxdJgtYtoknzEfJq-1dJKnVuijT_lk,352768
15
+ maa/bin/MaaAdbControlUnit.dll,sha256=5Q0K5L5dam-4PCOnGORcxANlsvdPU0SSDAxjJi2P5gk,856576
16
+ maa/bin/MaaDbgControlUnit.dll,sha256=JCfzBPJ05tZLWUWPVwaSE5XJCLWbsZKo5K2jv7blvXc,397824
17
+ maa/bin/MaaFramework.dll,sha256=OJS_acLiDnCc90tDgx3lygiVIn7RPpqXmVLTfXKwli8,1800704
18
+ maa/bin/MaaToolkit.dll,sha256=RBCYGb9Xo4Yhur9RdeWGd7mnKx3TKDp7-3wJsYWuoBs,717824
19
+ maa/bin/MaaUtils.dll,sha256=WSTnJKfEKJFriLyw8rnAHK_tmcjKXz34GXPJ9kcLn34,572416
20
+ maa/bin/MaaWin32ControlUnit.dll,sha256=ZhGxZi1bQZujYBxbxFVDiaJjKsLlB1F-LkUbWIQM5Yk,352768
21
21
  maa/bin/fastdeploy_ppocr_maa.dll,sha256=lidtCQOzeYsOBcEJzcuhynypH1fkibZa-uBlcO0hx6g,1097728
22
22
  maa/bin/onnxruntime_maa.dll,sha256=76uDwY3lectM4kzFxzK8qKL9cOsUrV5QsuNgh8Q74jo,19155456
23
23
  maa/bin/opencv_world4_maa.dll,sha256=zmZOpjQHQ4y24pbPJvQjQcfMM5paGKzkYf1GB3TWTj0,15078400
24
- MaaFw-3.0.1.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
25
- MaaFw-3.0.1.dist-info/METADATA,sha256=KY87hJV7Udn3z26mwlJjUMOERDDcbo98myoE8mFdUCE,12027
26
- MaaFw-3.0.1.dist-info/WHEEL,sha256=O27GNqVAQSliuXXmsD8fgZIOcWx2wEKSJh_dY7N8eLM,95
27
- MaaFw-3.0.1.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
28
- MaaFw-3.0.1.dist-info/RECORD,,
24
+ MaaFw-3.0.4.dist-info/LICENSE.md,sha256=RG51X65V_wNLuyG-RGcLXxFsKyZnlH5wNvK_5mMlOag,7560
25
+ MaaFw-3.0.4.dist-info/METADATA,sha256=iym8WbiPF-hUC1xXVNcFz83sV4Y1_LLooKsVLYqg31U,12044
26
+ MaaFw-3.0.4.dist-info/WHEEL,sha256=O27GNqVAQSliuXXmsD8fgZIOcWx2wEKSJh_dY7N8eLM,95
27
+ MaaFw-3.0.4.dist-info/top_level.txt,sha256=G8r2L__aYaMq4S3R70G6NsfEROiVp08kUcWvATzk2J8,4
28
+ MaaFw-3.0.4.dist-info/RECORD,,
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/resource.py CHANGED
@@ -96,6 +96,14 @@ class Resource:
96
96
  """
97
97
  return self.use_auto_ep()
98
98
 
99
+ def custom_recognition(self, name: str):
100
+
101
+ def wrapper_recognition(recognition):
102
+ self.register_custom_recognition(name=name, recognition=recognition())
103
+ return recognition
104
+
105
+ return wrapper_recognition
106
+
99
107
  def register_custom_recognition(
100
108
  self, name: str, recognition: "CustomRecognition" # type: ignore
101
109
  ) -> bool:
@@ -131,6 +139,14 @@ class Resource:
131
139
  )
132
140
  )
133
141
 
142
+ def custom_action(self, name: str):
143
+
144
+ def wrapper_action(action):
145
+ self.register_custom_action(name=name, action=action())
146
+ return action
147
+
148
+ return wrapper_action
149
+
134
150
  def register_custom_action(self, name: str, action: "CustomAction") -> bool: # type: ignore
135
151
  # avoid gc
136
152
  self._custom_action_holder[name] = action
File without changes