Fix build for Windows on ARM.

This commit is contained in:
John Preston
2026-07-17 21:44:18 +04:00
parent b6fa6a3691
commit e76e3fcb10
+8 -2
View File
@@ -291,10 +291,16 @@ if %BuildUWP% neq 0 (
) else (
if not exist "%ReleasePath%\deploy" mkdir "%ReleasePath%\deploy"
if not exist "%ReleasePath%\deploy\%AppVersionStrMajor%" mkdir "%ReleasePath%\deploy\%AppVersionStrMajor%"
mkdir "%DeployPath%\%BinaryName%\modules\%Platform%\d3d" || goto error
if %BuildARM% neq 0 (
mkdir "%DeployPath%\%BinaryName%" || goto error
) else (
mkdir "%DeployPath%\%BinaryName%\modules\%Platform%\d3d" || goto error
)
move "%ReleasePath%\%BinaryName%.exe" "%DeployPath%\%BinaryName%\" || goto error
xcopy "%ReleasePath%\modules\%Platform%\d3d\d3dcompiler_47.dll" "%DeployPath%\%BinaryName%\modules\%Platform%\d3d\" || goto error
if %BuildARM% equ 0 (
xcopy "%ReleasePath%\modules\%Platform%\d3d\d3dcompiler_47.dll" "%DeployPath%\%BinaryName%\modules\%Platform%\d3d\" || goto error
)
move "%ReleasePath%\Updater.exe" "%DeployPath%\" || goto error
move "%ReleasePath%\%BinaryName%.pdb" "%DeployPath%\" || goto error
move "%ReleasePath%\Updater.pdb" "%DeployPath%\" || goto error