@echo off

:: Dependencies
set PYBLISH_BASE=%~dp0git\pyblish-base
set PYBLISH_MAYA=%~dp0git\pyblish-maya
set PYBLISH_NUKE=%~dp0git\pyblish-nuke
set PYBLISH_QML=%~dp0git\pyblish-qml
set PYBLISH_LITE=%~dp0git\pyblish-lite
set MINDBENDER_CORE=%~dp0git\mindbender-core
set MINDBENDER_LAUNCHER=%~dp0git\mindbender-launcher
set MINDBENDER_EXAMPLE=%~dp0git\mindbender-example\projects

set PATH=%~dp0bin\windows\syncthing;%PATH%
set PATH=%~dp0bin\windows\python36;%PATH%
set PATH=%~dp0bin\windows;%PATH%
set PATH=%~dp0bin;%PATH%

set PYTHONPATH=%MINDBENDER_LAUNCHER%;%PYTHONPATH%

:: ---------------------------------------------------------
::
:: Edit here
::
:: ---------------------------------------------------------

if "%MINDBENDER_PROJECTS%"=="" set MINDBENDER_PROJECTS=%MINDBENDER_EXAMPLE%

python -u -m launcher --root %MINDBENDER_PROJECTS%
@echo off

:: Dependencies
set PYBLISH_BASE=%~dp0git\pyblish-base
set PYBLISH_MAYA=%~dp0git\pyblish-maya
set PYBLISH_NUKE=%~dp0git\pyblish-nuke
set PYBLISH_QML=%~dp0git\pyblish-qml
set PYBLISH_LITE=%~dp0git\pyblish-lite
set MINDBENDER_CORE=%~dp0git\mindbender-core
set MINDBENDER_LAUNCHER=%~dp0git\mindbender-launcher
set MINDBENDER_EXAMPLE=%~dp0git\mindbender-example\projects

set PATH=%~dp0bin\windows\syncthing;%PATH%
set PATH=%~dp0bin\windows\python36;%PATH%
set PATH=%~dp0bin\windows;%PATH%
set PATH=%~dp0bin;%PATH%

set PYTHONPATH=%MINDBENDER_LAUNCHER%;%PYTHONPATH%

if "%MINDBENDER_PROJECTS%"=="" set MINDBENDER_PROJECTS=%MINDBENDER_EXAMPLE%

:: ---------------------------------------------------------
::
:: Edit here
::
:: ---------------------------------------------------------

set PYBLISHGUI=pyblish_qml

python -u -m launcher --root %MINDBENDER_PROJECTS%
Set Default GUI to Pyblish QML
Set Default GUI to Pyblish QML
