File size: 758 Bytes
e59bd9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
REM LPU AI Accelerator V7.1.1 — environment self-check launcher.
REM Starts NOTHING (no server, no window) - safe to double-click anytime.
REM Explicit python.exe call (bypasses any broken .py association).

setlocal
set "LPU_ROOT=%~dp0.."
cd /d "%LPU_ROOT%"

set "PY="
if exist "%LPU_ROOT%\.venv\Scripts\python.exe" (
    set "PY=%LPU_ROOT%\.venv\Scripts\python.exe"
) else if exist "C:\ipara\Ipara.co\Scripts\python.exe" (
    set "PY=C:\ipara\Ipara.co\Scripts\python.exe"
) else if exist "C:\Ipara.co\Scripts\python.exe" (
    set "PY=C:\Ipara.co\Scripts\python.exe"
)

if defined PY (
    "%PY%" run_lpu.py --check %*
) else (
    py -3 run_lpu.py --check %* 2>nul || python run_lpu.py --check %*
)
if errorlevel 1 pause
exit /b %ERRORLEVEL%