mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
修改Python额外配置接口命名
This commit is contained in:
@@ -2,7 +2,7 @@ import json
|
||||
import pathlib
|
||||
import time
|
||||
|
||||
from asst import ExternalConfigType, Asst, Message
|
||||
from asst import InstanceOptionType, Asst, Message
|
||||
|
||||
|
||||
@Asst.CallBackType
|
||||
@@ -28,9 +28,9 @@ if __name__ == "__main__":
|
||||
|
||||
## 设置额外配置
|
||||
# 触控方案配置
|
||||
# asst.set_external_config(ExternalConfigType.touch_type, 'maatouch')
|
||||
# asst.set_instance_option(InstanceOptionType.touch_type, 'maatouch')
|
||||
# 暂停下干员
|
||||
# asst.set_external_config(ExternalConfigType.deployment_with_pause, '1')
|
||||
# asst.set_instance_option(InstanceOptionType.deployment_with_pause, '1')
|
||||
|
||||
# 请自行配置 adb 环境变量,或修改为 adb 可执行程序的路径
|
||||
if asst.connect('adb.exe', '127.0.0.1:5555'):
|
||||
|
||||
Reference in New Issue
Block a user