mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Allow for command-line arguments to starter scripts
This commit is contained in:
parent
d9e9b9fd22
commit
50ae0953ac
2 changed files with 6 additions and 6 deletions
|
|
@ -28,15 +28,15 @@ ping 127.0.0.1 -n 3 -w 1000>nul
|
|||
) else (
|
||||
if exist php.cmd (
|
||||
if exist bin\ansicon.exe (
|
||||
bin\ansicon.exe php.cmd -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||
bin\ansicon.exe php.cmd -d enable_dl=On PocketMine-MP.php --enable-ansi %*
|
||||
) else (
|
||||
php.cmd -d enable_dl=On PocketMine-MP.php
|
||||
php.cmd -d enable_dl=On PocketMine-MP.php %*
|
||||
)
|
||||
) else (
|
||||
if exist bin\ansicon.exe (
|
||||
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi
|
||||
bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi %*
|
||||
) else (
|
||||
php -d enable_dl=On PocketMine-MP.php
|
||||
php -d enable_dl=On PocketMine-MP.php %*
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue