mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
added linux bin
This commit is contained in:
parent
6c1bb1cb15
commit
ecb23df0e0
404 changed files with 167369 additions and 0 deletions
14
start.sh
14
start.sh
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||
cd "$DIR"
|
||||
if [ -f ./php5/bin/php ]; then
|
||||
mkdir -m 0777 bin/
|
||||
mv ./php5/bin/php ./bin/php
|
||||
rm -r -f ./php5/
|
||||
fi
|
||||
if [ -f ./bin/php ]; then
|
||||
./bin/php -d enable_dl=On PocketMine-MP.php $@
|
||||
else
|
||||
echo "[WARNING] You are not using the standalone NostalgiaCore PHP binary."
|
||||
php -d enable_dl=On PocketMine-MP.php $@
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue