From 8e0018480b504f585f8b7875a4b989fc06bbbe67 Mon Sep 17 00:00:00 2001 From: luocai Date: Tue, 3 Dec 2024 18:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80=E6=89=93=E5=8C=85=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/build.ps1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/build.ps1 b/resources/build.ps1 index 0e3e96d..7a1c4c5 100644 --- a/resources/build.ps1 +++ b/resources/build.ps1 @@ -50,8 +50,12 @@ function Deploy() { Copy-Item $buildPath\AntiClipSettings.exe $deployPath\视觉防夹设备上位机工具v$version.exe & $qtHome\bin\windeployqt.exe $deployPath\视觉防夹设备上位机工具v$version.exe --qmldir=$qtHome\qml # Remove-Item -Path $deployPath\d3dcompiler_47.dll -Force # 删了这个会导致Windows 7 无法正常显示 + Remove-Item -Path $deployPath\Qt5Multimedia.dll -Force + Remove-Item -Path $deployPath\Qt5MultimediaQuick.dll -Force Remove-Item -Path $deployPath\Qt5RemoteObjects.dll -Force + Remove-Item -Path $deployPath\Qt5Test.dll -Force Remove-Item -Path $deployPath\Qt5QuickTest.dll -Force + Remove-Item -Path $deployPath\Qt5WinExtras.dll -Force Remove-Item -Path $deployPath\translations -Recurse -Force # 暂时不需要翻译文件 Remove-Item -Path $deployPath\qmltooling -Recurse -Force Remove-Item -Path $deployPath\QtTest -Recurse -Force @@ -79,8 +83,8 @@ function Deploy() { Copy-Item -Path $boostRoot\lib\boost_$boost-vc143-mt-x64-1_83.dll -Destination $deployPath } - # 暂时不需要 avfilter-9、avformat-60 - $ffmpegs = "avcodec-60", "avdevice-60", "avutil-58", "postproc-57", "swresample-4", "swscale-7" + # 暂时不需要 avfilter-9、avformat-60、postproc-57、avdevice-60 + $ffmpegs = "avcodec-60", "avutil-58", "swresample-4", "swscale-7" foreach ($ffmpeg in $ffmpegs) { Copy-Item -Path $ffmpegRoot\bin\$ffmpeg.dll -Destination $deployPath }