From 0212bfa16f070b1b69ff2d4e80297e85fcb13547 Mon Sep 17 00:00:00 2001 From: var <49275759+var-mixer@users.noreply.github.com> Date: Wed, 2 Jun 2021 22:06:05 +0800 Subject: [PATCH] Update main.go --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 6bd7a7fc7..635fd1581 100644 --- a/main.go +++ b/main.go @@ -148,14 +148,14 @@ func main() { if terminal.RunningByDoubleClick() && !isFastStart { log.Warning("警告: 强烈不推荐通过双击直接运行本程序, 这将导致一些非预料的后果.") log.Warning("将等待10s后启动") - time.Sleep(time.Second * 10) + //time.Sleep(time.Second * 10) } if (conf.Account.Uin == 0 || (conf.Account.Password == "" && !conf.Account.Encrypt)) && !global.PathExists("session.token") { log.Warn("账号密码未配置, 将使用二维码登录.") if !isFastStart { log.Warn("将在 5秒 后继续.") - time.Sleep(time.Second * 5) + //time.Sleep(time.Second * 5) } } @@ -232,7 +232,7 @@ func main() { } if !isFastStart { log.Info("Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消.") - time.Sleep(time.Second * 5) + //time.Sleep(time.Second * 5) } log.Info("开始尝试登录并同步消息...") log.Infof("使用协议: %v", func() string {