Urho3D/bin/Editor.bat
2017-08-03 22:01:56 +08:00

8 lines
297 B
Batchfile

@echo off
setlocal
set "dirname=%~dp0"
if %0 == "%~dpnx0" where /q "%cd%:%~nx0" && set "dirname=%cd%\"
if exist "%dirname%Urho3DPlayer.exe" (set "DEBUG=") else (set "DEBUG=_d")
if [%1] == [] (set "OPT1=-w -s") else (set "OPT1=")
start "" "%dirname%Urho3DPlayer%DEBUG%" Scripts/Editor.as %OPT1% %*