File size: 692 Bytes
e0265b9
 
 
c61c435
e0265b9
c61c435
 
 
 
 
 
e0265b9
c61c435
 
e0265b9
 
 
c61c435
 
 
e0265b9
 
c61c435
e0265b9
c61c435
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
setlocal
cd /d "%~dp0"
python -c "import PySide6, psutil, PIL" 2>nul
if errorlevel 1 (
  echo ADAM's desktop requirements are missing from this Python environment.
  echo Install them with:
  echo   python -m pip install -r "%~dp0requirements.txt"
  echo.
  pause
  exit /b 1
)
rem Optional trainers and collectors are connected through ADAM Settings.
rem Their dependencies belong to their own environments, not startup.
python main.py
if errorlevel 1 (
  echo.
  echo ADAM could not start. Check the application log for details.
  echo To install the application requirements, run:
  echo   python -m pip install -r "%~dp0requirements.txt"
  echo.
  pause
  exit /b 1
)
endlocal