From eb0355312c9a050a5788aacaecc3c9b49ed13cf2 Mon Sep 17 00:00:00 2001 From: Sheyiyuan <2125107118@qq.com> Date: Tue, 3 Dec 2024 09:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=89=80=E6=9C=89ws=E6=97=A0?= =?UTF-8?q?=E5=93=8D=E5=BA=94api=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index abb8261..bc0fa51 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,8 @@ import ( func main() { //如果没有参数,则启动WebUI if len(os.Args) <= 1 { - startWebUI() + initCore() + fmt.Println("请修改配置文件后,使用-p参数连接协议端开始运行。") return } cmdArgs := os.Args[1:]