| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| if exist .venv\Scripts\python.exe goto dependencies | |
| python -m venv .venv | |
| if errorlevel 1 exit /b 1 | |
| :dependencies | |
| .venv\Scripts\python.exe -m pip install -r requirements.txt | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe scripts\demo_innovation.py | |
| if errorlevel 1 exit /b 1 | |
| start "" "innovation_demo\preview.png" | |
| endlocal | |