소스 검색

Starting the Editor without an empty console window

Ivan K 10 년 전
부모
커밋
e4304645a2
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      bin/Editor.bat

+ 1 - 2
bin/Editor.bat

@@ -1,5 +1,4 @@
-@echo off
 if exist "%~dp0Urho3DPlayer.exe" (set "DEBUG=") else (set "DEBUG=_d")
 if exist "%~dp0Urho3DPlayer.exe" (set "DEBUG=") else (set "DEBUG=_d")
 if exist "%~dp0..\share\Urho3D\Resources" (set "OPT1=-pp ..\share\Urho3D\Resources") else (set "OPT1=")
 if exist "%~dp0..\share\Urho3D\Resources" (set "OPT1=-pp ..\share\Urho3D\Resources") else (set "OPT1=")
 if [%1] == [] (set "OPT2=-w -s") else (set "OPT2=")
 if [%1] == [] (set "OPT2=-w -s") else (set "OPT2=")
-"%~dp0Urho3DPlayer%DEBUG%" Scripts/Editor.as %OPT1% %OPT2% %*
+start "" "%~dp0Urho3DPlayer%DEBUG%" Scripts/Editor.as %OPT1% %OPT2% %*