From 359a0947ff153a20dfdba3009bbc3e6ae39d7b04 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 13 Sep 2021 11:53:38 +0800 Subject: [PATCH] feature: provide win-x64 runtime executables --- README.md | 5 +++-- build.bat | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71cc6c3b..51e8599a 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,9 @@ | 文件 | 运行时 | 说明 | | ---------------- | ------------------ | ----------------------------------- | -| SourceGit.net5.0.exe | .NET 5 | 需要自行安装 .NET 5运行时 | -| SourceGit.net4.8.exe | .NET Framework 4.8 | Windows 10 内置该运行时,不需要安装 | +| SourceGit.net5.0.x86.exe | .NET 5 x86 | 需要自行安装 .NET 5运行时 | +| SourceGit.net5.0.x64.exe | .NET 5 x64 | 需要自行安装 .NET 5运行时 | +| SourceGit.net4.8.exe | .NET Framework 4.8 | Windows 10 内置该运行时,不需要安装 | > 【注】本软件为GIT的**图形前端**,需先自行安装Git diff --git a/build.bat b/build.bat index e5918014..02927c0e 100644 --- a/build.bat +++ b/build.bat @@ -16,6 +16,13 @@ rmdir /s /q bin rmdir /s /q obj dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish cd ..\publish -ren SourceGit.exe SourceGit.net5.0.exe +ren SourceGit.exe SourceGit.net5.0.x86.exe + +cd ..\src +rmdir /s /q bin +rmdir /s /q obj +dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish +cd ..\publish +ren SourceGit.exe SourceGit.net5.0.x64.exe cd ../ \ No newline at end of file