Skip to content

Commit

Permalink
fix for command line files and setup.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
KingKDot committed Mar 24, 2024
1 parent ac3405d commit b55f941
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
)
Expand Down

0 comments on commit b55f941

Please sign in to comment.