This commit is contained in:
cdle
2021-10-19 22:43:05 +08:00
parent 852665999e
commit e797ce1c74
10 changed files with 35 additions and 20 deletions
+4
View File
@@ -7,6 +7,7 @@ import (
"os"
"os/exec"
"regexp"
"runtime"
"strings"
"time"
@@ -58,6 +59,9 @@ func initSys() {
Cron: "*/1 * * * *",
Admin: true,
Handle: func(s Sender) interface{} {
if runtime.GOOS == "windows" {
return "windows系统不支持此命令"
}
if s.GetImType() == "fake" && !sillyGirl.GetBool("auto_update", true) {
return nil
}