更新icqq版本到0.3.1,适配icqq新增协议。 (#87)
This commit is contained in:
parent
09321b5a8c
commit
a3987232fa
|
@ -25,6 +25,8 @@ if (qq) {
|
|||
break
|
||||
case 5:
|
||||
title += ' iPad'
|
||||
case 6:
|
||||
title += ' 安卓8.8.88'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,16 +32,17 @@ export default async function createQQ () {
|
|||
type: 'list',
|
||||
message: '请选择登录端口:',
|
||||
name: 'platform',
|
||||
default: '5',
|
||||
choices: ['iPad', '安卓手机', '安卓手表', 'MacOS', 'aPad'],
|
||||
default: '6',
|
||||
choices: ['iPad', '安卓手机', '安卓手表', 'MacOS', 'aPad','安卓8.8.88'],
|
||||
filter: (val) => {
|
||||
switch (val) {
|
||||
case '安卓8.8.88':return 6
|
||||
case 'iPad':return 5
|
||||
case 'MacOS':return 4
|
||||
case '安卓手机':return 1
|
||||
case '安卓手表':return 3
|
||||
case 'aPad':return 2
|
||||
default:return 5
|
||||
default:return 6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"chalk": "^5.2.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"icqq": "^0.2.3",
|
||||
"icqq": "^0.3.1",
|
||||
"image-size": "^1.0.2",
|
||||
"inquirer": "^8.2.5",
|
||||
"lodash": "^4.17.21",
|
||||
|
|
Loading…
Reference in New Issue