Pre Merge pull request !39 from touchscale/master
This commit is contained in:
commit
ddaf0023a5
|
@ -62,6 +62,10 @@ class Cfg {
|
|||
return this.getConfig('renderer');
|
||||
}
|
||||
|
||||
get notice() {
|
||||
return this.getConfig('notice');
|
||||
}
|
||||
|
||||
/** 主人qq */
|
||||
get masterQQ () {
|
||||
let masterQQ = this.getConfig('other').masterQQ || []
|
||||
|
@ -99,6 +103,13 @@ class Cfg {
|
|||
return { ...def, ...config }
|
||||
}
|
||||
|
||||
/** notice配置 */
|
||||
getOther () {
|
||||
let def = this.getdefSet('notice')
|
||||
let config = this.getConfig('notice')
|
||||
return { ...def, ...config }
|
||||
}
|
||||
|
||||
/**
|
||||
* @param app 功能
|
||||
* @param name 配置文件名称
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"chalk": "^5.2.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"icqq": "^0.3.6",
|
||||
"icqq": "^0.3.10",
|
||||
"image-size": "^1.0.2",
|
||||
"inquirer": "^8.2.5",
|
||||
"lodash": "^4.17.21",
|
||||
|
|
Loading…
Reference in New Issue