From 3af784e45e59ff43a699acccf3a91fc49f9501f9 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 31 Mar 2021 20:48:13 +0800 Subject: [PATCH] update: add requirement description for .NET 5.0 --- README.md | 4 ++++ build.bat | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 287e6b48..6f4bbbe8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ 开源的Git客户端,仅用于Windows。 +## 注意 + +**3.x 依赖 .NET 5,请先安装之** + ## 下载 [发行版](https://gitee.com/sourcegit/SourceGit/releases/) diff --git a/build.bat b/build.bat index 1eb1ea34..17f49131 100644 --- a/build.bat +++ b/build.bat @@ -1,5 +1,5 @@ cd src rmdir /s /q bin rmdir /s /q obj -dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true --self-contained false +dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true --no-self-contained -o publish cd .. \ No newline at end of file