Skip to content

Commit

Permalink
https://github.com/MagicFoundation/Alcinoe/issues/343
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Oct 17, 2024
1 parent e5e4d4f commit 541c2a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Embarcadero/Athens/Update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ if "%ALBaseDir%"=="" (
IF ERRORLEVEL 1 goto ERROR
)

FOR /F "usebackq tokens=3*" %%A IN (`reg query "HKCU\Software\Embarcadero\BDS\%ALDelphiVersion%" /v RootDir`) DO set EmbSourceDir=%%A %%B
set EmbSourceDir=%EmbSourceDir:~0,-1%source

for /f "tokens=2*" %%A in ('reg query "HKLM\SOFTWARE\WOW6432Node\Embarcadero\BDS\%ALDelphiVersion%" /v "RootDir"') do set EmbSourceDir=%%B
set EmbSourceDir=%EmbSourceDir:~0,-1%\source
if not exist "%ALBaseDir%\Source\Alcinoe.inc" goto ERROR

SET FileName=%ALBaseDir%\Embarcadero\Athens\fmx
Expand Down

0 comments on commit 541c2a2

Please sign in to comment.