uninstall.bat 510 B

1234567891011121314
  1. @echo off
  2. rem Guanlan module uninstall entry (P9 dual-mode). Module: app_ontology
  3. set "HERE=%~dp0"
  4. if exist "%HERE%..\uninstall.bat" call "%HERE%..\uninstall.bat" %*
  5. if exist "%HERE%..\uninstall.bat" exit /b %errorlevel%
  6. set "PY="
  7. where py >nul 2>nul && set "PY=py -3"
  8. if not defined PY where python >nul 2>nul && set "PY=python"
  9. if not defined PY (
  10. echo [X] Python 3 not found.
  11. exit /b 2
  12. )
  13. %PY% "%HERE%..\app_common\app_common_guanlan\bootstrap.py" uninstall --module app_ontology %*
  14. exit /b %errorlevel%