diff --git a/tools/chatgui/build.sh b/tools/chatgui/build.sh index dfc5765f..0b055915 100755 --- a/tools/chatgui/build.sh +++ b/tools/chatgui/build.sh @@ -44,6 +44,12 @@ test ${PIPESTATUS[0]} -eq 0 || { log "Build FAILED"; exit 1; } log "" log "[3/4] Deploying runtime DLLs..." +RLOTTIE_DLL="$SRC_DIR/rlottie_build/librlottie.dll" +[ -f "$RLOTTIE_DLL" ] || { log " ERROR: librlottie.dll not found: $RLOTTIE_DLL"; exit 1; } +cp "$RLOTTIE_DLL" "$BUILD_DIR/librlottie.dll" || { + log " ERROR: cannot copy $RLOTTIE_DLL -> $BUILD_DIR/librlottie.dll"; exit 1; +} +log " OK: librlottie.dll (from $RLOTTIE_DLL; copied to $BUILD_DIR/librlottie.dll)" FFMPEG_BIN="$SRC_DIR/ffmpeg/ffmpeg_build/install/bin" MAIN_DLLS=( "Qt[56]Core.dll" "Qt[56]Gui.dll" "Qt[56]Network.dll" "Qt[56]Widgets.dll" "platforms/qwindows.dll" @@ -61,7 +67,7 @@ for d in "${MAIN_DLLS[@]}"; do fi done if [ "$DLLS_PRESENT" -eq 1 ]; then - log " SKIP: main runtime DLLs already present; copying and recursive dependency scan skipped" + log " SKIP: main runtime DLLs already present; recursive dependency scan skipped" else WINDEPLOYQT="/ucrt64/bin/windeployqt" if [ -x "$WINDEPLOYQT" ]; then @@ -166,8 +172,6 @@ else for d in /ucrt64/share/qt5/plugins /ucrt64/lib/qt5/plugins; do cp "$d/platforms/qwindows.dll" "$BUILD_DIR/platforms/" 2>/dev/null && break done - cp "$SRC_DIR/rlottie_build/librlottie.dll" "$BUILD_DIR/" 2>/dev/null && log " OK: librlottie.dll" || log " WARN: librlottie.dll not found" - # Проверяем тот же основной комплект после копирования. log " Verifying main runtime DLLs..." MISSING=0