From 18f71d3862cf4d965ad02ed76f7830c1ccfba575 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Sat, 13 Feb 2021 12:38:36 +0800 Subject: [PATCH] Update PostBuild.bat --- Netch/PostBuild.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Netch/PostBuild.bat b/Netch/PostBuild.bat index e4dfe115..990c4956 100644 --- a/Netch/PostBuild.bat +++ b/Netch/PostBuild.bat @@ -1,13 +1,15 @@ if %Configuration%==Release ( :: Merge dlls -%ILMergeConsolePath% /wildcards /out:%TargetDir%NetchMerged.exe ^ +%ILMergeConsolePath% /wildcards /out:%TargetDir%Netch.exe ^ /lib:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319" ^ /targetplatform:v4,"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8" ^ %TargetDir%Netch.exe ^ %TargetDir%*.dll DEL /f %TargetDir%*.dll >NUL 2>&1 -MOVE /Y %TargetDir%NetchMerged.exe %TargetDir%Netch.exe >NUL + +DEL /f %TargetDir%*.config >NUL 2>&1 +DEL /f %TargetDir%*.pdb >NUL 2>&1 ) RD /S /Q %TargetDir%bin >NUL 2>&1 @@ -18,8 +20,6 @@ XCOPY /s /Y %SolutionDir%binaries %TargetDir%bin\ >NUL XCOPY /s /Y %SolutionDir%translations\i18n %TargetDir%i18n\ >NUL XCOPY /s /Y %SolutionDir%modes\mode %TargetDir%mode\ >NUL -DEL /f %TargetDir%*.config >NUL 2>&1 -DEL /f %TargetDir%*.pdb >NUL 2>&1 RD /s /Q %TargetDir%x86 >NUL 2>&1 exit 0 \ No newline at end of file