Skip to content

Commit 1ef8850

Browse files
chore: update interface interface_config schema files from MaaFramework - 2025-12-21 02:29:17 UTC
1 parent 0be9e6b commit 1ef8850

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

deps/tools/interface.schema.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@
272272
"title": "控制器类型",
273273
"enum": [
274274
"Adb",
275-
"Win32"
275+
"Win32",
276+
"PlayCover"
276277
]
277278
},
278279
"display_short_side": {
@@ -356,6 +357,26 @@
356357
}
357358
},
358359
"additionalProperties": false
360+
},
361+
"playcover": {
362+
"type": "object",
363+
"title": "PlayCover 控制器配置",
364+
"description": "PlayCover 控制器的具体配置(仅 macOS)",
365+
"properties": {
366+
"address": {
367+
"type": "string",
368+
"title": "默认服务地址",
369+
"description": "PlayTools 服务的默认地址,格式为 host:port",
370+
"examples": ["127.0.0.1:1717"]
371+
},
372+
"uuid": {
373+
"type": "string",
374+
"title": "默认 Bundle Identifier",
375+
"description": "应用的默认 Bundle Identifier",
376+
"examples": ["com.hypergryph.arknights"]
377+
}
378+
},
379+
"additionalProperties": false
359380
}
360381
},
361382
"required": [

deps/tools/interface_config.schema.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": {
1414
"title": "控制器类型",
1515
"type": "string",
16-
"enum": ["Adb", "Win32"]
16+
"enum": ["Adb", "Win32", "PlayCover"]
1717
}
1818
}
1919
},
@@ -39,6 +39,20 @@
3939
"title": "Win32配置",
4040
"type": "object"
4141
},
42+
"playcover": {
43+
"title": "PlayCover配置",
44+
"type": "object",
45+
"properties": {
46+
"address": {
47+
"title": "服务地址",
48+
"type": "string"
49+
},
50+
"uuid": {
51+
"title": "Bundle Identifier",
52+
"type": "string"
53+
}
54+
}
55+
},
4256
"resource": {
4357
"title": "激活的资源",
4458
"type": "string"

0 commit comments

Comments
 (0)