- @echo off
- rem Guanlan module uninstall entry (P9 dual-mode). Module: app_ontology
- set "HERE=%~dp0"
- if exist "%HERE%..\uninstall.bat" call "%HERE%..\uninstall.bat" %*
- if exist "%HERE%..\uninstall.bat" exit /b %errorlevel%
- set "PY="
- where py >nul 2>nul && set "PY=py -3"
- if not defined PY where python >nul 2>nul && set "PY=python"
- if not defined PY (
- echo [X] Python 3 not found.
- exit /b 2
- )
- %PY% "%HERE%..\app_common\app_common_guanlan\bootstrap.py" uninstall --module app_ontology %*
- exit /b %errorlevel%
|