mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
自定义下载绑定设备apk
This commit is contained in:
parent
7bdcc1d936
commit
bfd2aa5f64
3 changed files with 13 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ export class Panel extends ZZZPlugin {
|
||||||
async bindDeviceHelp() {
|
async bindDeviceHelp() {
|
||||||
const msgs = [
|
const msgs = [
|
||||||
'绑定设备帮助',
|
'绑定设备帮助',
|
||||||
'https://mirror.ghproxy.com/https://raw.githubusercontent.com/forchannot/get_device_info/main/app/build/outputs/apk/debug/app-debug.apk',
|
settings.getConfig('config')?.url,
|
||||||
'1. 使用常用米游社手机下载以上APK,并安装',
|
'1. 使用常用米游社手机下载以上APK,并安装',
|
||||||
'2. 打开后点击按钮复制',
|
'2. 打开后点击按钮复制',
|
||||||
'3. 给机器人发送"%绑定设备"指令',
|
'3. 给机器人发送"%绑定设备"指令',
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,6 @@ render:
|
||||||
scale: 100 # 渲染精度
|
scale: 100 # 渲染精度
|
||||||
query:
|
query:
|
||||||
others: true # 允许查询他人信息
|
others: true # 允许查询他人信息
|
||||||
|
|
||||||
|
# 自定义绑定设备下载url
|
||||||
|
url: https://ghproxy.mihomo.me/https://raw.githubusercontent.com/forchannot/get_device_info/main/app/build/outputs/apk/debug/app-debug.apk
|
||||||
|
|
@ -44,6 +44,15 @@ export function supportGuoba() {
|
||||||
placeholder: '请输入数字',
|
placeholder: '请输入数字',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'config.url',
|
||||||
|
label: '绑定设备下载url',
|
||||||
|
bottomHelpMessage: '设置自定义的绑定绑定设备下载url',
|
||||||
|
component:'Input',
|
||||||
|
componentProps: {
|
||||||
|
placeholder: '请输入绑定设备apk下载url',
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'config.query.others',
|
field: 'config.query.others',
|
||||||
label: '查询他人信息',
|
label: '查询他人信息',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue