Improved start.cmd

This commit is contained in:
PeratX 2016-02-10 10:00:08 +08:00
commit 4837ca8f35

View file

@ -9,8 +9,8 @@ if exist bin\php\php.exe (
set PHP_BINARY=php
)
if exist PocketMine-iTX.phar (
set POCKETMINE_FILE=PocketMine-iTX.phar
if exist Genisys.phar (
set POCKETMINE_FILE=Genisys.phar
) else (
if exist PocketMine-MP.phar (
set POCKETMINE_FILE=PocketMine-MP.phar
@ -33,12 +33,8 @@ if exist PocketMine-iTX.phar (
)
)
REM if exist bin\php\php_wxwidgets.dll (
REM %PHP_BINARY% %POCKETMINE_FILE% --enable-gui %*
REM ) else (
if exist bin\mintty.exe (
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="DejaVu Sans Mono" -o FontHeight=10 -o CursorType=0 -o CursorBlinks=1 -h error -t "PocketMine-iTX" -i bin/pocketmine.ico -w max %PHP_BINARY% %POCKETMINE_FILE% --enable-ansi %*
) else (
%PHP_BINARY% -c bin\php %POCKETMINE_FILE% %*
)
REM )