mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Improved scripts
This commit is contained in:
parent
2b24dab57b
commit
160aa3a199
2 changed files with 6 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ FOR /F "tokens=*" %%i in ('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
|
||||
) else (
|
||||
if exist php.cmd (
|
||||
if exist bin\ansicon.exe (
|
||||
|
|
@ -20,6 +21,9 @@ echo [INFO] Please use the Windows installer from the homepage
|
|||
) else (
|
||||
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
|
||||
if [ -f ./bin/php ]; then
|
||||
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||
read -p "Press [Enter] to continue..."
|
||||
exit 0
|
||||
fi
|
||||
php -d enable_dl=On PocketMine-MP.php $@
|
||||
read -p "Press [Enter] to continue..."
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue