!39 icqq版本升级(修复watch 扫码登陆,修复扫码登录提示密码错误问题,更改watch自动扫码登陆提示,修复token刷新失败问题,刷新间隔修改为12小时),更新后需要pnpm install升级依赖,配置文件notice支持热更新

Merge pull request !39 from touchscale/master
This commit is contained in:
Kokomi 2023-05-11 22:29:42 +00:00 committed by Gitee
commit 7021eb1887
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 12 additions and 1 deletions

View File

@ -62,6 +62,10 @@ class Cfg {
return this.getConfig('renderer'); return this.getConfig('renderer');
} }
get notice() {
return this.getConfig('notice');
}
/** 主人qq */ /** 主人qq */
get masterQQ () { get masterQQ () {
let masterQQ = this.getConfig('other').masterQQ || [] let masterQQ = this.getConfig('other').masterQQ || []
@ -99,6 +103,13 @@ class Cfg {
return { ...def, ...config } return { ...def, ...config }
} }
/** notice配置 */
getOther () {
let def = this.getdefSet('notice')
let config = this.getConfig('notice')
return { ...def, ...config }
}
/** /**
* @param app 功能 * @param app 功能
* @param name 配置文件名称 * @param name 配置文件名称

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.3.6", "icqq": "^0.3.10",
"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",