mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Fixed bug in build script
This commit is contained in:
parent
4532d5d020
commit
1bc1fbca96
9
Make.bat
9
Make.bat
@ -26,18 +26,19 @@ goto CANCEL-END
|
|||||||
:BUILD-DEBUG-ALL
|
:BUILD-DEBUG-ALL
|
||||||
if exist *.miz del *.miz
|
if exist *.miz del *.miz
|
||||||
c:\php\php Make.php debug
|
c:\php\php Make.php debug
|
||||||
goto END
|
goto COPY-TO-DCS
|
||||||
|
|
||||||
:BUILD-DEBUG-PERSIAN
|
:BUILD-DEBUG-PERSIAN
|
||||||
if exist *.miz del *.miz
|
if exist *.miz del *.miz
|
||||||
c:\php\php Make.php debug persiangulf
|
c:\php\php Make.php debug persiangulf
|
||||||
goto END
|
goto COPY-TO-DCS
|
||||||
|
|
||||||
:BUILD-RELEASE
|
:BUILD-RELEASE
|
||||||
if exist *.miz del *.miz
|
if exist *.miz del *.miz
|
||||||
c:\php\php Make.php release
|
c:\php\php Make.php release
|
||||||
goto END
|
goto COPY-TO-DCS
|
||||||
|
|
||||||
|
:COPY-TO-DCS
|
||||||
@REM -------------------------------------------
|
@REM -------------------------------------------
|
||||||
@REM COPY OUTPUT MIZ FILES TO DCS'S MISSIONS DIRECTORY
|
@REM COPY OUTPUT MIZ FILES TO DCS'S MISSIONS DIRECTORY
|
||||||
@REM -------------------------------------------
|
@REM -------------------------------------------
|
||||||
@ -46,7 +47,7 @@ if not exist *.miz goto END
|
|||||||
echo Copying output MIZ files to %userprofile%\Saved Games\DCS\Missions...
|
echo Copying output MIZ files to %userprofile%\Saved Games\DCS\Missions...
|
||||||
copy /y *.miz "%userprofile%\Saved Games\DCS\Missions"
|
copy /y *.miz "%userprofile%\Saved Games\DCS\Missions"
|
||||||
echo DONE
|
echo DONE
|
||||||
echo.
|
goto END
|
||||||
|
|
||||||
:CANCEL-END
|
:CANCEL-END
|
||||||
echo.
|
echo.
|
||||||
|
|||||||
2
Make.php
2
Make.php
@ -9,7 +9,7 @@ if (!is_dir("./_DebugOutput"))
|
|||||||
|
|
||||||
function packMiz($theaterJson, $debugMode)
|
function packMiz($theaterJson, $debugMode)
|
||||||
{
|
{
|
||||||
echo " Writing ZIP file...\n";
|
echo " Creating ".($debugMode ? "debug" : "release")." .miz file...\n";
|
||||||
$zip = new ZipArchive();
|
$zip = new ZipArchive();
|
||||||
|
|
||||||
$suffix = "";
|
$suffix = "";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user