Add venv creation message

This commit is contained in:
OleSTEEP 2024-05-04 23:51:40 +03:00
parent 0ad60b5b94
commit bf7c97d125
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,6 @@
@Echo off
if not defined VIRTUAL_ENV goto :venv_error
mkdir output
mkdir output\bin
python -m pip install -r FFMpeg-Compressor\requirements.txt || goto :exit
@ -12,6 +14,10 @@ move /Y output\rendroid-unpack.exe output\bin
python -m nuitka --jobs=%NUMBER_OF_PROCESSORS% --output-dir=output --follow-imports --onefile --output-filename=vnds2renpy VNDS-to-RenPy/convert.py || goto :exit
move /Y output\vnds2renpy.exe output\bin
:venv_error
echo "Please create and activate venv before running this script: python -m venv .\venv && .\venv\Scripts\activate.bat"
goto :exit
:exit
pause
exit /b %exitlevel%