oas-gui.bat 464 B

12345678910111213141516171819202122
  1. @rem
  2. @echo off
  3. set "_root=%~dp0"
  4. set "_root=%_root:~0,-1%"
  5. cd "%_root%"
  6. echo "%_root%
  7. color F0
  8. set "_pyBin=%_root%\toolkit"
  9. set "_GitBin=%_root%\toolkit\Git\mingw64\bin"
  10. set "_adbBin=%_root%\toolkit\Lib\site-packages\adbutils\binaries"
  11. set "PATH=%_root%\toolkit\alias;%_root%\toolkit\command;%_pyBin%;%_pyBin%\Scripts;%_GitBin%;%_adbBin%;%PATH%"
  12. title Oas Updater
  13. python -m deploy.installer
  14. if %errorlevel% neq 0 (
  15. pause > nul
  16. ) else (
  17. python gui.py
  18. )