From 437703e26d6a3159623a2a2b487e3e7c39cb1925 Mon Sep 17 00:00:00 2001 From: freedom Date: Thu, 10 Aug 2023 16:25:20 -0600 Subject: [PATCH] delete old builds before zipping new ones just incase, rar still funny layout --- batchcmp.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/batchcmp.bat b/batchcmp.bat index 06aecb5..84a298f 100644 --- a/batchcmp.bat +++ b/batchcmp.bat @@ -1,4 +1,6 @@ -7z a -r "%~dp0bin\bin.7z" "%~dp0bin\*.exe" -WinRAR a -r "%~dp0bin\bin.rar" "%~dp0bin\*.exe" +del /s "%~dp0\*.7z" +del /s "%~dp0\*.rar" +7z a -r "%~dp0\bin.7z" "%~dp0bin\*.exe" +WinRAR a -r "%~dp0\bin.rar" "%~dp0bin\*.exe" del /s "%~dp0bin\*.exe" pause \ No newline at end of file