Skip to content

Commit e3702db

Browse files
committed
Don't deploy icuuc.dll into the application folder
1 parent e4325b8 commit e3702db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build-arch.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ echo Deploying Qt dependencies
222222
%WINDEPLOYQT_CMD% --dir %DEPLOY_FOLDER% --%BUILD_CONFIG% --qmldir %SOURCE_ROOT%\app\gui --no-opengl-sw --no-compiler-runtime --no-sql %WINDEPLOYQT_ARGS% %BUILD_FOLDER%\app\%BUILD_CONFIG%\Moonlight.exe
223223
if !ERRORLEVEL! NEQ 0 goto Error
224224

225-
echo Deleting unused styles
225+
echo Deleting unused files
226226
rem Qt 5.x directories
227227
rmdir /s /q %DEPLOY_FOLDER%\QtQuick\Controls.2\Fusion
228228
rmdir /s /q %DEPLOY_FOLDER%\QtQuick\Controls.2\Imagine
@@ -234,6 +234,8 @@ rmdir /s /q %DEPLOY_FOLDER%\qml\QtQuick\Controls\Universal
234234
rmdir /s /q %DEPLOY_FOLDER%\qml\QtQuick\Controls\Windows
235235
rmdir /s /q %DEPLOY_FOLDER%\qml\QtQuick\Controls\FluentWinUI3
236236
rmdir /s /q %DEPLOY_FOLDER%\qml\QtQuick\NativeStyle
237+
rem icuuc.dll ships with all supported OSes (and Qt incorrectly deploys the x64 version on ARM64)
238+
del %DEPLOY_FOLDER%\icuuc.dll
237239

238240
if "%SIGN%"=="1" (
239241
echo Signing deployed binaries

0 commit comments

Comments
 (0)