From 1bc1fbca968b64f779bf6cdbc40303048ab8be1f Mon Sep 17 00:00:00 2001 From: Ambroise Garel <47314805+akaAgar@users.noreply.github.com> Date: Tue, 29 Jul 2025 15:49:39 +0200 Subject: [PATCH] Fixed bug in build script --- Make.bat | 9 +++++---- Make.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Make.bat b/Make.bat index 1d4b3c7..1505db4 100644 --- a/Make.bat +++ b/Make.bat @@ -26,18 +26,19 @@ goto CANCEL-END :BUILD-DEBUG-ALL if exist *.miz del *.miz c:\php\php Make.php debug -goto END +goto COPY-TO-DCS :BUILD-DEBUG-PERSIAN if exist *.miz del *.miz c:\php\php Make.php debug persiangulf -goto END +goto COPY-TO-DCS :BUILD-RELEASE if exist *.miz del *.miz c:\php\php Make.php release -goto END +goto COPY-TO-DCS +:COPY-TO-DCS @REM ------------------------------------------- @REM COPY OUTPUT MIZ FILES TO DCS'S MISSIONS DIRECTORY @REM ------------------------------------------- @@ -46,7 +47,7 @@ if not exist *.miz goto END echo Copying output MIZ files to %userprofile%\Saved Games\DCS\Missions... copy /y *.miz "%userprofile%\Saved Games\DCS\Missions" echo DONE -echo. +goto END :CANCEL-END echo. diff --git a/Make.php b/Make.php index 7211067..dcf141f 100644 --- a/Make.php +++ b/Make.php @@ -9,7 +9,7 @@ if (!is_dir("./_DebugOutput")) function packMiz($theaterJson, $debugMode) { - echo " Writing ZIP file...\n"; + echo " Creating ".($debugMode ? "debug" : "release")." .miz file...\n"; $zip = new ZipArchive(); $suffix = "";