mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 10:24:14 +08:00
16 lines
234 B
Batchfile
16 lines
234 B
Batchfile
@echo off
|
|
|
|
cd /d "%~dp0"
|
|
|
|
set "venv=.env"
|
|
set "reqs_file=requirements.txt"
|
|
|
|
if exist "%venv%" (
|
|
rmdir /s /q "%venv%"
|
|
)
|
|
|
|
python -m venv "%venv%"
|
|
timeout /t 1 /nobreak
|
|
call "%venv%\Scripts\activate.bat"
|
|
pip install -r "%reqs_file%"
|