fix: 移除 fetchCmd 中的 screenfetch,简化系统信息获取命令
This commit is contained in:
parent
a45d1d64d2
commit
8d7b0cd266
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,3 +41,4 @@ docker-compose.full.yml
|
|||||||
policy.yaml
|
policy.yaml
|
||||||
logs/panic.log
|
logs/panic.log
|
||||||
go.sum
|
go.sum
|
||||||
|
logs/log.txt
|
||||||
|
@ -15,7 +15,7 @@ func init() {
|
|||||||
handler.RegisterHandler("!fetch", fetchSelf, constants.LEVEL_USER)
|
handler.RegisterHandler("!fetch", fetchSelf, constants.LEVEL_USER)
|
||||||
}
|
}
|
||||||
|
|
||||||
var fetchCmd = []string{"fastfetch", "screenfetch", "neofetch"}
|
var fetchCmd = []string{"fastfetch", "neofetch"}
|
||||||
|
|
||||||
type SystemInfo struct {
|
type SystemInfo struct {
|
||||||
OS string
|
OS string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user