From 93f3786059ef294b936627ee49590866477bc195 Mon Sep 17 00:00:00 2001 From: fkx4-p <42882359+fkx4-p@users.noreply.github.com> Date: Thu, 1 Oct 2020 20:25:09 +0800 Subject: [PATCH] Update quick_start.md --- docs/quick_start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quick_start.md b/docs/quick_start.md index 273c4d3d..d95c2b27 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -107,13 +107,13 @@ enable ws?(Y/n) ## 如何自己构建 -1. [下载源码](https://github.com/Mrs4s/go-cqhttp/archive/master.zip)并解压 +1. [下载源码](https://github.com/Mrs4s/go-cqhttp/archive/master.zip)并解压 || 使用`git clone https://github.com/Mrs4s/go-cqhttp.git`来拉取 2. [下载golang binary release](https://golang.google.cn/dl/)并安装或者[自己构建golang](https://golang.google.cn/doc/install/source) 3. 在`cmd`或Linux命令行中,`cd`到目录中 -4. 输入`go build main.go`,`Enter`运行 +4. 输入`go build -ldflags "-s -w -extldflags '-static'"`,`Enter`运行 *注:可以使用*`go env -w GOPROXY=https://goproxy.cn,direct`*来加速国内依赖安装速度*