Skip to content

Commit

Permalink
Athens 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Dec 13, 2023
1 parent ba8520f commit c8e7a52
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Embarcadero/Athens/Update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mkdir "%FileName%"
mkdir "%FileName%\ios"
mkdir "%FileName%\osx"
mkdir "%FileName%\android"
mkdir "%FileName%\net"

echo Copy "%EmbSourceDir%\fmx"
xcopy /Q "%EmbSourceDir%\fmx" "%ALBaseDir%\Embarcadero\Athens\fmx"
Expand All @@ -49,6 +50,10 @@ IF EXIST "%EmbSourceDir%\rtl\android" (
IF ERRORLEVEL 1 goto ERROR
)

echo Copy "%EmbSourceDir%\rtl\net"
xcopy /Q "%EmbSourceDir%\rtl\net" "%ALBaseDir%\Embarcadero\Athens\rtl\net"
IF ERRORLEVEL 1 goto ERROR

echo Patch the locally copied source code
git -C "%ALBaseDir%" apply --ignore-space-change --ignore-whitespace .\Embarcadero\Athens\Athens.patch -v

Expand All @@ -67,9 +72,9 @@ IF EXIST "%TmpFileName%" del "%TmpFileName%"
IF EXIST "%TmpFileName%" goto ERROR
certutil -dump "%~1" | findstr /C:"ef bb bf" > nul
if %errorlevel% equ 0 (
echo {$HINTS OFF}{>"%TmpFileName%"
echo {$HINTS OFF}{$WARNINGS OFF}{>"%TmpFileName%"
) else (
echo {$HINTS OFF}>"%TmpFileName%"
echo {$HINTS OFF}{$WARNINGS OFF}>"%TmpFileName%"
)
type "%~1">>"%TmpFileName%"
del "%~1"
Expand Down

0 comments on commit c8e7a52

Please sign in to comment.