mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Improved scripts
This commit is contained in:
parent
2b24dab57b
commit
160aa3a199
@ -7,6 +7,7 @@ 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.
|
||||||
echo [INFO] Please use the Windows installer from the homepage
|
echo [INFO] Please use the Windows installer from the homepage
|
||||||
|
pause
|
||||||
) else (
|
) else (
|
||||||
if exist php.cmd (
|
if exist php.cmd (
|
||||||
if exist bin\ansicon.exe (
|
if exist bin\ansicon.exe (
|
||||||
@ -21,5 +22,8 @@ echo [INFO] Please use the Windows installer from the homepage
|
|||||||
php -d enable_dl=On PocketMine-MP.php %*
|
php -d enable_dl=On PocketMine-MP.php %*
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
if errorlevel 1 (
|
||||||
pause
|
pause
|
||||||
|
)
|
||||||
|
)
|
||||||
|
3
start.sh
3
start.sh
@ -8,9 +8,6 @@ rm -r -f ./php5/
|
|||||||
fi
|
fi
|
||||||
if [ -f ./bin/php ]; then
|
if [ -f ./bin/php ]; then
|
||||||
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||||
read -p "Press [Enter] to continue..."
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
php -d enable_dl=On PocketMine-MP.php $@
|
php -d enable_dl=On PocketMine-MP.php $@
|
||||||
read -p "Press [Enter] to continue..."
|
|
||||||
exit 0
|
exit 0
|
Loading…
x
Reference in New Issue
Block a user