Jenkins build can be start without rename
Only windows in my heart)00)
This commit is contained in:
parent
d961ebee00
commit
81387d6361
1 changed files with 11 additions and 7 deletions
18
start.cmd
18
start.cmd
|
|
@ -14,16 +14,20 @@ if exist PocketMine-iTX.phar (
|
|||
) else (
|
||||
if exist PocketMine-MP.phar (
|
||||
set POCKETMINE_FILE=PocketMine-MP.phar
|
||||
) else(
|
||||
) else (
|
||||
if exist PocketMine-Soft.phar (
|
||||
set POCKETMINE_FILE=PocketMine-Soft.phar
|
||||
) else(
|
||||
if exist src\pocketmine\PocketMine.php (
|
||||
set POCKETMINE_FILE=src\pocketmine\PocketMine.php
|
||||
)else (
|
||||
) else (
|
||||
if exist src\pocketmine\PocketMine.php (
|
||||
set POCKETMINE_FILE=src\pocketmine\PocketMine.php
|
||||
) else (
|
||||
if exist Genisys_1.0dev_*.phar (
|
||||
set POCKETMINE_FILE=Genisys_1.0dev_*.phar
|
||||
) else (
|
||||
echo "Couldn't find a valid PocketMine-iTX installation"
|
||||
pause
|
||||
exit 1
|
||||
exit 8
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
@ -33,7 +37,7 @@ REM if exist bin\php\php_wxwidgets.dll (
|
|||
REM %PHP_BINARY% %POCKETMINE_FILE% --enable-gui %*
|
||||
REM ) else (
|
||||
if exist bin\mintty.exe (
|
||||
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="DejaVu Sans Mono" -o FontHeight=10 -o CursorType=0 -o CursorBlinks=1 -h error -t "PocketMine-MP" -i bin/pocketmine.ico -w max %PHP_BINARY% %POCKETMINE_FILE% --enable-ansi %*
|
||||
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="DejaVu Sans Mono" -o FontHeight=10 -o CursorType=0 -o CursorBlinks=1 -h error -t "PocketMine-iTX" -i bin/pocketmine.ico -w max %PHP_BINARY% %POCKETMINE_FILE% --enable-ansi %*
|
||||
) else (
|
||||
%PHP_BINARY% -c bin\php %POCKETMINE_FILE% %*
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue