1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00

Add files via upload

This commit is contained in:
George King
2025-01-04 10:11:40 +01:00
committed by GitHub
parent 0016d713ae
commit 9ee7ec2068

View File

@ -12,7 +12,7 @@ set "VCMIFolder=VCMI"
REM Define Inno Setup version REM Define Inno Setup version
set InnoSetupVer=6 set InnoSetupVer=6
REM Uncomment this line and set custom UCRT source path, otherwise it will be detected automatically from installed Windows 10 SDK REM Uncomment this line and set custom UCRT source path, otherwise latest installed Windows 10 SDK will be used
REM set "UCRTFilesPath=%ProgFiles%\Windows Kits\10\Redist\10.0.22621.0\ucrt\DLLs" REM set "UCRTFilesPath=%ProgFiles%\Windows Kits\10\Redist\10.0.22621.0\ucrt\DLLs"
REM Normally, there is no need to modify anything below this line. REM Normally, there is no need to modify anything below this line.
@ -44,9 +44,9 @@ REM Dynamically locate the UCRT path if not defined
if not defined UCRTFilesPath ( if not defined UCRTFilesPath (
set "UCRTBasePath=!ProgFiles!\Windows Kits\10\Redist" set "UCRTBasePath=!ProgFiles!\Windows Kits\10\Redist"
set "UCRTFilesPath=" set "UCRTFilesPath="
for /d %%d in ("!UCRTBasePath!\*") do ( for /f "delims=" %%d in ('dir /b /ad /on "!UCRTBasePath!"') do (
if exist "%%d\ucrt\DLLs" ( if exist "!UCRTBasePath!\%%d\ucrt\DLLs" (
set "UCRTFilesPath=%%d\ucrt\DLLs" set "UCRTFilesPath=!UCRTBasePath!\%%d\ucrt\DLLs"
) )
) )
) )