2021-04-29 21:02:21 -07:00
|
|
|
@echo off
|
|
|
|
|
2021-04-29 05:05:55 -07:00
|
|
|
rmdir /s /q publish
|
|
|
|
|
2021-03-01 18:57:19 -08:00
|
|
|
cd src
|
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
2021-05-12 20:07:28 -07:00
|
|
|
dotnet publish SourceGit_48.csproj --nologo -c Release -r win-x86 -o ..\publish\net48
|
2021-06-28 19:19:38 -07:00
|
|
|
ilrepack /ndebug /out:..\publish\SourceGit.exe ..\publish\net48\SourceGit.exe ..\publish\net48\Newtonsoft.Json.dll ..\publish\net48\Ookii.Dialogs.Wpf.dll
|
2021-04-29 21:02:21 -07:00
|
|
|
cd ..\publish
|
|
|
|
ren SourceGit.exe SourceGit_48.exe
|
|
|
|
rmdir /s /q net48
|
2021-04-05 18:48:35 -07:00
|
|
|
|
2021-04-29 21:02:21 -07:00
|
|
|
cd ..\src
|
2021-04-05 18:48:35 -07:00
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
2021-05-12 20:07:28 -07:00
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
2021-04-29 05:05:55 -07:00
|
|
|
|
|
|
|
cd ../
|