mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
feature<build>: provide win-x64 runtime executables
This commit is contained in:
parent
717772c62b
commit
359a0947ff
2 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 ../
|
Loading…
Reference in a new issue