diff --git a/README.md b/README.md index c09c7867..71cc6c3b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.bat b/build.bat index 7e745b10..e5918014 100644 --- a/build.bat +++ b/build.bat @@ -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 ../ \ No newline at end of file