mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated start.cmd
This commit is contained in:
parent
2ddb626edb
commit
3813ef73ea
1 changed files with 12 additions and 4 deletions
16
start.cmd
16
start.cmd
|
|
@ -26,10 +26,18 @@ if not "%PHPOUTPUT%"=="1" (
|
|||
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||
ping 127.0.0.1 -n 3 -w 1000>nul
|
||||
) else (
|
||||
if exist bin\ansicon.exe (
|
||||
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||
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 (
|
||||
php -d enable_dl=On PocketMine-MP.php
|
||||
)
|
||||
if exist bin\ansicon.exe (
|
||||
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||
) else (
|
||||
php -d enable_dl=On PocketMine-MP.php
|
||||
)
|
||||
)
|
||||
)
|
||||
pause
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue