diff options
Diffstat (limited to 'installer/pip_install.cmd')
-rw-r--r-- | installer/pip_install.cmd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installer/pip_install.cmd b/installer/pip_install.cmd index 9b8a0b1..3dbaf4f 100644 --- a/installer/pip_install.cmd +++ b/installer/pip_install.cmd @@ -3,10 +3,10 @@ if "x%1" equ "x" goto :EOF if "x%2" equ "x" goto :EOF -set server_dir="..\servers\%1" -rd /Q /S "%server_dir%" 2>NUL +set server_dir=..\servers\%1 +if exist "%server_dir%" rd /Q /S "%server_dir%" md "%server_dir%" -cd "%server_dir%" +cd /d "%server_dir%" python3 -m venv ./venv venv\bin\pip3 install %2 |