Commit Graph

90 Commits

Author SHA1 Message Date
Constrat
e0d8ed1d36 chore: update comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 17:06:21 +02:00
cibimo
e0d9d1c56a fix: 使 python 脚本支持从 github 获取文件长度并更新 (#13457) 2025-08-06 09:36:04 +08:00
MistEO
2be3d62525 chore: ota.maa.plus -> api.maa.plus 2025-05-15 23:19:13 +08:00
uye
aa03b49467 chore: 添加 python 资源加载示例 2024-12-17 13:31:50 +08:00
uye
2fed7334b6 Revert "chore: 在Python脚本中添加活动关导航下载与加载的示例 (#3916)"
This reverts commit 63aa79c8fb.
2024-12-17 13:14:09 +08:00
uye
ea6c4cad25 Revert "chore: 改进Python脚本中incremental_path参数说明"
This reverts commit 5639004cb2.
2024-12-17 13:13:41 +08:00
Rbqwow
fea4919eaf docs: 修复被随机排序破坏的超链接 2024-07-16 18:08:35 +08:00
EvATive7
e6555b4e44 chore: update python API (#9538)
* chore: update python API

* fix: remove non-exist return value

* style: docstring of param of set_static_option

* feat: python API get_image
2024-07-08 21:52:01 +08:00
dantmnf
636c6931d9 fix: check before destroy callback 2024-06-11 23:42:17 +08:00
uye
fa0fa3d0c0 chore: 更新 py 回调 2024-06-11 03:10:22 +08:00
Lin Chengfeng
b89b3d44fd fix: match the correct file suffix 2024-03-18 20:17:30 +08:00
Yuang Xia
0ee23d1a28 fix: sample.py 获取地址从相对路径改为绝对路径 (#7483)
#7420 
待测试,我的环境是 Ubuntu 20.04,只能测了下在这么改了以后我的电脑上获取的路径是正常的了,但因为环境没有符合要求 glibc
的那些东西,所以不确定这么改以后到底能不能正常运行。
以及不确定会不会影响到 Win 环境下的正常运行。
2023-12-07 10:51:47 +08:00
Zhao Zuohong
5639004cb2 chore: 改进Python脚本中incremental_path参数说明 2023-09-22 17:23:30 +08:00
Zhao Zuohong
63aa79c8fb chore: 在Python脚本中添加活动关导航下载与加载的示例 (#3916) 2023-09-20 11:44:48 +08:00
松坂砂糖浆
361c0883f7 把多镜像下载器应用于Python接口 (#6247) 2023-09-11 09:54:31 +08:00
MistEO
857eb4e3cf fix: 修复Python更新器中重试次数的问题 (#5402) 2023-07-16 03:38:07 +08:00
Q-ModifiedJ
a0df0b3602 fix: 修复Python更新器中重试次数的问题
原代码中重试次数超过2后失效
修改后,重试次数将在所有备用下载站间均匀分配
2023-07-14 21:37:55 +08:00
希斯亚托莉
9488055957 修改 __name__ == '__main__' 的任务 2023-07-14 12:19:21 +08:00
希斯亚托莉
74a3decb3e 更新建立缓存目录的方式 2023-07-14 09:21:17 +08:00
希斯亚托莉
cd5bc1210a 同时请求多个镜像url
*不适合有API请求限制的服务器=。=*
2023-07-13 23:28:09 +08:00
希斯亚托莉
d2cdb8b2fc 多镜像下载请求,避免缓慢下载 2023-07-13 19:42:05 +08:00
希斯亚托莉
add71be8dd 使用高效明了的字典推导式 2023-07-12 16:49:55 +08:00
MistEO
1a8a086e4e Update asst.py 2023-07-11 21:50:17 +08:00
DoyoDia
16e7d226e7 beta后面的数忘了不能舍了() 2023-07-09 21:22:42 +08:00
DoyoDia
721f27afd2 更新pythonAPI使其适配现版本 2023-07-09 21:10:40 +08:00
Sherkey
bad78f696f feat: 支持从bluestacks.conf中读取模拟器核心编号 2023-05-10 12:54:38 +08:00
Horror Proton
3c4faef29f perf: imporve ota building speed 2023-04-28 00:18:27 +08:00
Horror Proton
7d37f54abe chore: use maatouch in python script by default
maatouch is more compatable for android in docker
2023-03-10 13:17:41 +08:00
yuanyan3060
03f65c154e 增加一个task,可以执行tasks.json内任意一个task 2023-03-10 00:45:07 +08:00
Horror Proton
05ae3620b4 feat: add fallback for python library search, etc. 2023-03-05 20:05:32 +08:00
LambdaLe
b73fc2c159 feat: Python添加Hyperv蓝叠的端口获取与模拟器启动函数 2023-02-22 20:45:40 +08:00
MistEO
686e84a98a fix: 修复文档链接 2023-02-15 21:29:49 +08:00
陈泽煊
1c2484cb52 fix:包路径问题修复 2023-02-05 17:18:08 +08:00
陈泽煊
07382c52da 重构了Python接口结构 2023-02-04 11:51:35 +08:00
SarContDeli
e3fce88ee7 feat: Python接口的MAA更新器 2023-02-02 21:36:32 +08:00
trance233
97d6847753 Update asst.py
修改环境变量设置流程, 避免空环境变量问题
2022-12-17 21:25:05 +08:00
trance233
adb398afd3 Update asst.py
修正枚举类使用错误, 删除部分冗余代码
2022-12-17 16:53:44 +08:00
trance233
a7539c7af1 Update asst.py
修正Python枚举类型使用错误
2022-12-17 16:47:40 +08:00
popjdh
75670a9081 修改Python额外配置接口命名 2022-12-17 13:27:27 +08:00
popjdh
a375af59e0 Python触控配置接口解耦, 增加使用例 2022-12-17 12:28:01 +08:00
popjdh
ccb0e5c31a 完善Python触控配置接口 2022-12-17 12:04:49 +08:00
popjdh
56841ccd94 添加Python触控配置接口 2022-12-17 11:50:05 +08:00
MistEO
d9dcbb6289 chore: breaking rename 2022-12-02 00:22:47 +08:00
MistEO
8ff2c5e1d0 fix: 修复项目配置错误 2022-12-02 00:14:59 +08:00
MistEO
c27fc7fbb1 refactor: 重构 PackageTask 2022-11-25 23:16:29 +08:00
MistEO
fcdb718c69 fix: 修复手动停止时回调消息错误,新增TaskChainStopped回调消息
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/2442
2022-10-26 23:48:33 +08:00
Horror Proton
887dde6bb0 fix: fix an if branch in asst.py 2022-10-17 20:56:34 +08:00
MistEO
fc139c5ba9 feat: 新增AsstSetUserDir接口 2022-10-09 15:59:52 +08:00
Hao Guan
f2b461bde6 feat: use VisionOCR for apple platform 2022-10-07 04:57:51 +10:00
MistEO
19f6d5307f feat: py接口新增支持加载外服增量资源 2022-08-28 16:11:18 +08:00