mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added shmop to build script
This commit is contained in:
@ -147,6 +147,7 @@ rm -f ./configure >> "$DIR/install.log" 2>&1
|
|||||||
--enable-sockets \
|
--enable-sockets \
|
||||||
--enable-shared=no \
|
--enable-shared=no \
|
||||||
--enable-static=yes \
|
--enable-static=yes \
|
||||||
|
--enable-shmop \
|
||||||
--enable-pcntl \
|
--enable-pcntl \
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
--enable-maintainer-zts \
|
--enable-maintainer-zts \
|
||||||
|
@ -51,7 +51,6 @@ class ConsoleAPI{
|
|||||||
function __destruct(){
|
function __destruct(){
|
||||||
$this->server->deleteEvent($this->event);
|
$this->server->deleteEvent($this->event);
|
||||||
$this->loop->stop = true;
|
$this->loop->stop = true;
|
||||||
@fclose(STDIN);
|
|
||||||
$this->loop->notify();
|
$this->loop->notify();
|
||||||
//$this->loop->join();
|
//$this->loop->join();
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
TITLE PocketMine-MP Server - by @shoghicp
|
TITLE PocketMine-MP Minecraft PE server
|
||||||
COLOR 0F
|
COLOR 0F
|
||||||
mode con: cols=90
|
mode con: cols=90
|
||||||
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.
|
echo [ERROR] Couldn't find PHP binary in PATH.
|
||||||
ping 127.0.0.1 -n 3 -w 1000>nul
|
|
||||||
) else (
|
) else (
|
||||||
if exist php.cmd (
|
if exist php.cmd (
|
||||||
if exist bin\ansicon.exe (
|
if exist bin\ansicon.exe (
|
||||||
|
Reference in New Issue
Block a user