From b55f941a4bc2be3584898c9cb56cc71d3d0f89b5 Mon Sep 17 00:00:00 2001 From: KDot227 Date: Sun, 24 Mar 2024 13:49:57 -0500 Subject: [PATCH] fix for command line files and setup.bat --- setup.bat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/setup.bat b/setup.bat index 8acca96..c760079 100644 --- a/setup.bat +++ b/setup.bat @@ -15,10 +15,27 @@ if %errorlevel%==0 ( python -m pip install -r requirements.txt --upgrade +if "%1"=="" ( + goto :normal +) else ( + goto :build +) + +:build +pushd src +python -m main -f %1 +popd +goto :out + + +:normal pushd src python -m main popd +goto :out + +:out if %USERNAME%==this1 ( pyclean . )