-
Notifications
You must be signed in to change notification settings - Fork 392
PI 2.5 协议草案,引入 interface 相关环境变量 #1225
Copy link
Copy link
Closed
Description
# 当前已实现的 PI 协议版本
PI_INTERFACE_VERSION=v2.5.0
PI_CLIENT_NAME=MFAA/MXU/VSCODE/MPE/MaaDebugger/xxx
# ui 版本号
PI_CLIENT_VERSION=v1.0.0
PI_CLIENT_LANGUAGE=zh_cn/en_us/xxx
# ui 使用的 maafw 版本号
PI_CLIENT_MAAFW_VERSION=v5.9.0
# 项目版本号 (interface.version 字段)
PI_VERSION=v2.2.0
# interface 中的完整 object,但是将其中的 i18n label desc 等字段替换完成后的 json oneline
PI_CONTROLLER={"name":"Win32-Window","label":"Win32-默认","description":"默认控制器","type":"Win32","win32":{"class_regex":"UnityWndClass","window_regex":"Endfield","screencap":"Background","mouse":"SendMessageWithCursorPos","keyboard":"PostMessage"},"permission_required":true}
# interface 中的完整 object,但是将其中的 i18n label desc 等字段替换完成后的 json oneline
PI_RESOURCE={"name":"官服","label":"官服","path":["./resource"]}
其他看看有没有啥修改和补充的,着重 agent 本身没法获取到的东西(所以可能主要是 ui 自身属性 和 interface 的内容) @MaaXYZ/ui-developers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels