mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-03 10:32:33 +00:00
Removed check on start.cmd
This commit is contained in:
parent
8515e7ff33
commit
f29181a8ee
10
start.cmd
10
start.cmd
@ -1,16 +1,6 @@
|
||||
@echo off
|
||||
TITLE PocketMine-MP server software for Minecraft: Pocket Edition
|
||||
cd /d %~dp0
|
||||
FOR /F "tokens=*" %%i in ('php -r "echo 1;"') do SET PHPOUTPUT=%%i
|
||||
if not "%PHPOUTPUT%"=="1" (
|
||||
FOR /F "tokens=*" %%i in ('bin\php\php -r "echo 1;"') do SET PHPOUTPUT=%%i
|
||||
if not "%PHPOUTPUT%"=="1" (
|
||||
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||
echo [INFO] Please use the Windows installer from the homepage
|
||||
pause
|
||||
exit
|
||||
)
|
||||
)
|
||||
if exist bin\php\php.exe (
|
||||
if exist bin\mintty.exe (
|
||||
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o CursorType=0 -o CursorBlinks=1 -h never -t "PocketMine-MP" -i bin/pocketmine.ico -w max bin\php\php.exe -d enable_dl=On PocketMine-MP.php --enable-ansi %*
|
||||
|
Loading…
x
Reference in New Issue
Block a user