mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
update<build>: rename output binary name
This commit is contained in:
parent
fc4667f26c
commit
65ac3dd67a
2 changed files with 4 additions and 4 deletions
|
@ -26,8 +26,8 @@
|
|||
|
||||
| 文件 | 运行时 | 说明 |
|
||||
| ---------------- | ------------------ | ----------------------------------- |
|
||||
| SourceGit.exe | .NET 5 | 需要自行安装 .NET 5运行时 |
|
||||
| SourceGit_48.exe | .NET Framework 4.8 | Windows 10 内置该运行时,不需要安装 |
|
||||
| SourceGit.net5.0.exe | .NET 5 | 需要自行安装 .NET 5运行时 |
|
||||
| SourceGit.net4.8.exe | .NET Framework 4.8 | Windows 10 内置该运行时,不需要安装 |
|
||||
|
||||
> 【注】本软件为GIT的**图形前端**,需先自行安装Git
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ rmdir /s /q obj
|
|||
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net48 -o ..\publish\net48
|
||||
ilrepack /ndebug /wildcards /out:..\publish\SourceGit.exe ..\publish\net48\SourceGit.exe ..\publish\net48\*.dll
|
||||
cd ..\publish
|
||||
ren SourceGit.exe SourceGit.net48.exe
|
||||
ren SourceGit.exe SourceGit.net4.8.exe
|
||||
rmdir /s /q net48
|
||||
|
||||
cd ..\src
|
||||
|
@ -16,6 +16,6 @@ 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.net50.exe
|
||||
ren SourceGit.exe SourceGit.net5.0.exe
|
||||
|
||||
cd ../
|
Loading…
Reference in a new issue