From f70a2811f30809c3132aa56b7631021ca601930f Mon Sep 17 00:00:00 2001 From: Ethan Henderson Date: Thu, 26 Oct 2023 15:42:41 -0600 Subject: [PATCH] Overwrite existing build Signed-off-by: Ethan Henderson --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 94dd8ae..c12a1bc 100644 --- a/build.py +++ b/build.py @@ -5,7 +5,7 @@ os.system('pip install -U pyinstaller pyclean') os.system('pyinstaller --onefile --noconsole -p=.\\venv\\Lib\\site-packages -i .\\assets\\logo.ico main.py') -os.system('copy .\\dist\\main.exe .\\MobaHinted.exe /a') +os.system('copy .\\dist\\main.exe .\\MobaHinted.exe /a /y') os.system('rmdir /s /q .\\build\\, .\\dist\\') os.system('pyclean .\\hinter') os.system('del /f /q .\\main.spec')