styleui.cmd 597 B

1234567891011121314151617181920212223242526272829
  1. @ECHO OFF
  2. REM
  3. REM Copyright (c) Contributors to the Open 3D Engine Project.
  4. REM For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. REM
  6. REM SPDX-License-Identifier: Apache-2.0 OR MIT
  7. REM
  8. REM
  9. REM
  10. SETLOCAL
  11. SET CMD_DIR=%~dp0
  12. SET CMD_DIR=%CMD_DIR:~0,-1%
  13. SET SDKS_DIR=%CMD_DIR%\..\..\Code\SDKs
  14. SET PYTHON_DIR=%SDKS_DIR%\Python
  15. IF EXIST %PYTHON_DIR% GOTO PYTHON_READY
  16. ECHO Missing: %PYTHON_DIR%
  17. GOTO :EOF
  18. :PYTHON_READY
  19. SET PYTHON=%PYTHON_DIR%\x64\python.exe
  20. SET STYLEUI_DIR=%CMD_DIR%
  21. SET PYTHONPATH=%STYLEUI_DIR%
  22. %PYTHON% %STYLEUI_DIR%\styleui.py %*