From 4fea1da99e713f285da7944580b541bd21afaafe Mon Sep 17 00:00:00 2001 From: Zeus Date: Tue, 12 Nov 2024 19:30:18 +0100 Subject: [PATCH] https://github.com/MagicFoundation/Alcinoe/issues/341 --- Embarcadero/Athens/Update.bat | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Embarcadero/Athens/Update.bat b/Embarcadero/Athens/Update.bat index 4e25f15ba..5754fa8ba 100644 --- a/Embarcadero/Athens/Update.bat +++ b/Embarcadero/Athens/Update.bat @@ -24,6 +24,12 @@ IF EXIST "%FileName%" goto ERROR mkdir "%FileName%" mkdir "%FileName%\common" +SET FileName=%ALBaseDir%\Embarcadero\Athens\data +IF EXIST "%FileName%" rmdir /s /q "%FileName%" +IF EXIST "%FileName%" goto ERROR +mkdir "%FileName%" +mkdir "%FileName%\firedac" + echo Copy "%EmbSourceDir%\fmx" xcopy /Q "%EmbSourceDir%\fmx" "%ALBaseDir%\Embarcadero\Athens\fmx" IF ERRORLEVEL 1 goto ERROR @@ -34,6 +40,9 @@ IF EXIST "%EmbSourceDir%\rtl\common\System.Skia.API.pas" ( IF ERRORLEVEL 1 goto ERROR ) +echo Copy "%EmbSourceDir%\data\firedac" +xcopy /Q "%EmbSourceDir%\data\firedac" "%ALBaseDir%\Embarcadero\Athens\data\firedac" + echo Patch the locally copied source code git -C "%ALBaseDir%" apply --ignore-space-change --ignore-whitespace --whitespace=nowarn .\Embarcadero\Athens\Athens.patch -v