17 lines
340 B
Batchfile
17 lines
340 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0"
|
|
|
|
if not exist ".venv\Scripts\pythonw.exe" (
|
|
echo ERROR: ERP Local Agent Python environment was not found.
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist "ERPAgentDashboard.pyw" (
|
|
echo ERROR: ERPAgentDashboard.pyw was not found.
|
|
exit /b 1
|
|
)
|
|
|
|
start "" ".venv\Scripts\pythonw.exe" "ERPAgentDashboard.pyw"
|
|
exit /b 0
|