mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 11:27:07 +00:00
Fix start.cmd ¬¬
This commit is contained in:
parent
fc3fb651b2
commit
401c201a97
@ -3,9 +3,12 @@ TITLE PocketMine-MP server software for Minecraft: Pocket Edition
|
|||||||
cd /d %~dp0
|
cd /d %~dp0
|
||||||
FOR /F "tokens=*" %%i in ('php -r "echo 1;"') do SET PHPOUTPUT=%%i
|
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.
|
FOR /F "tokens=*" %%i in ('bin\php\php -r "echo 1;"') do SET PHPOUTPUT=%%i
|
||||||
echo [INFO] Please use the Windows installer from the homepage
|
if not "%PHPOUTPUT%"=="1" (
|
||||||
pause
|
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||||
|
echo [INFO] Please use the Windows installer from the homepage
|
||||||
|
pause
|
||||||
|
)
|
||||||
) else (
|
) else (
|
||||||
if exist bin\php\php.exe (
|
if exist bin\php\php.exe (
|
||||||
if exist bin\mintty.exe (
|
if exist bin\mintty.exe (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user