Improved start.cmd
This commit is contained in:
parent
7955f5d95c
commit
4837ca8f35
1 changed files with 2 additions and 6 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue