mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-20 18:06:40 +00:00
Updated start.cmd
This commit is contained in:
parent
2ddb626edb
commit
3813ef73ea
@ -25,6 +25,13 @@ FOR /F "tokens=*" %%i in ('php -r "echo 1;"') do SET PHPOUTPUT=%%i
|
|||||||
if not "%PHPOUTPUT%"=="1" (
|
if not "%PHPOUTPUT%"=="1" (
|
||||||
echo [ERROR] Couldn't find PHP binary in PATH.
|
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||||
ping 127.0.0.1 -n 3 -w 1000>nul
|
ping 127.0.0.1 -n 3 -w 1000>nul
|
||||||
|
) else (
|
||||||
|
if exist php.cmd (
|
||||||
|
if exist bin\ansicon.exe (
|
||||||
|
bin\ansicon.exe php.cmd -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||||
|
) else (
|
||||||
|
php.cmd -d enable_dl=On PocketMine-MP.php
|
||||||
|
)
|
||||||
) else (
|
) else (
|
||||||
if exist bin\ansicon.exe (
|
if exist bin\ansicon.exe (
|
||||||
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi
|
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||||
@ -32,4 +39,5 @@ ping 127.0.0.1 -n 3 -w 1000>nul
|
|||||||
php -d enable_dl=On PocketMine-MP.php
|
php -d enable_dl=On PocketMine-MP.php
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
pause
|
pause
|
||||||
|
Loading…
x
Reference in New Issue
Block a user