diff --git a/CMakeLists.txt b/CMakeLists.txt index d3a1663..3b487a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(AntiClipSettings VERSION 1.4 LANGUAGES C CXX) +project(AntiClipSettings VERSION 1.5 LANGUAGES C CXX) set(APPLICATION_NAME "视觉防夹设备上位机工具") set(CMAKE_CXX_STANDARD 17) diff --git a/resources/build.ps1 b/resources/build.ps1 index 42d1c51..8a0b5de 100644 --- a/resources/build.ps1 +++ b/resources/build.ps1 @@ -48,6 +48,13 @@ function Deploy() { New-Item $deployPath -ItemType Directory Copy-Item $buildPath\AntiClipSettings.exe $deployPath\AntiClipSettings.exe & $qtHome\bin\windeployqt.exe $deployPath\AntiClipSettings.exe --qmldir=$qtHome\qml + Remove-Item -Path $deployPath\d3dcompiler_47.dll -Force + Remove-Item -Path $deployPath\Qt5RemoteObjects.dll -Force + Remove-Item -Path $deployPath\Qt5QuickTest.dll -Force + Remove-Item -Path $deployPath\translations -Recurse -Force # 暂时不需要翻译文件 + Remove-Item -Path $deployPath\qmltooling -Recurse -Force + Remove-Item -Path $deployPath\QtTest -Recurse -Force + Remove-Item -Path $deployPath\QtGraphicalEffects -Recurse -Force # $modules = "QmlCore" @@ -71,7 +78,8 @@ function Deploy() { Copy-Item -Path $boostRoot\lib\boost_$boost-vc143-mt-x64-1_83.dll -Destination $deployPath } - $ffmpegs = "avcodec-60", "avdevice-60", "avfilter-9", "avformat-60", "avutil-58", "postproc-57", "swresample-4", "swscale-7" + # 暂时不需要 avfilter-9、avformat-60 + $ffmpegs = "avcodec-60", "avdevice-60", "avutil-58", "postproc-57", "swresample-4", "swscale-7" foreach ($ffmpeg in $ffmpegs) { Copy-Item -Path $ffmpegRoot\bin\$ffmpeg.dll -Destination $deployPath }