更新icqq版本到0.3.1,适配icqq新增协议。 (#87)

This commit is contained in:
小飞 2023-04-25 15:29:44 +08:00 committed by GitHub
parent 09321b5a8c
commit a3987232fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -25,6 +25,8 @@ if (qq) {
break break
case 5: case 5:
title += ' iPad' title += ' iPad'
case 6:
title += ' 安卓8.8.88'
} }
} }

View File

@ -32,16 +32,17 @@ export default async function createQQ () {
type: 'list', type: 'list',
message: '请选择登录端口:', message: '请选择登录端口:',
name: 'platform', name: 'platform',
default: '5', default: '6',
choices: ['iPad', '安卓手机', '安卓手表', 'MacOS', 'aPad'], choices: ['iPad', '安卓手机', '安卓手表', 'MacOS', 'aPad','安卓8.8.88'],
filter: (val) => { filter: (val) => {
switch (val) { switch (val) {
case '安卓8.8.88':return 6
case 'iPad':return 5 case 'iPad':return 5
case 'MacOS':return 4 case 'MacOS':return 4
case '安卓手机':return 1 case '安卓手机':return 1
case '安卓手表':return 3 case '安卓手表':return 3
case 'aPad':return 2 case 'aPad':return 2
default:return 5 default:return 6
} }
} }
} }

View File

@ -21,7 +21,7 @@
"chalk": "^5.2.0", "chalk": "^5.2.0",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
"https-proxy-agent": "5.0.1", "https-proxy-agent": "5.0.1",
"icqq": "^0.2.3", "icqq": "^0.3.1",
"image-size": "^1.0.2", "image-size": "^1.0.2",
"inquirer": "^8.2.5", "inquirer": "^8.2.5",
"lodash": "^4.17.21", "lodash": "^4.17.21",