fix: 移除 fetchCmd 中的 screenfetch,简化系统信息获取命令

This commit is contained in:
lixiangwuxian 2025-03-29 14:54:55 +08:00
parent a45d1d64d2
commit 8d7b0cd266
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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