mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-29 12:18:39 +00:00
chore: dont remove imageformats\qjpeg.dll
This commit is contained in:
parent
1a23ff663b
commit
c761e2941c
2 changed files with 17 additions and 2 deletions
|
@ -34,7 +34,11 @@ if /i "%2"=="x64" (
|
|||
)
|
||||
|
||||
:: Ìáʾ
|
||||
echo 当前编译模式为debug %debug_mode% %cpu_mode%
|
||||
if /i %debug_mode% == "true" (
|
||||
echo 当前编译模式为 debug %cpu_mode%
|
||||
) else (
|
||||
echo 当前编译模式为debug release %cpu_mode%
|
||||
)
|
||||
|
||||
:: »·¾³±äÁ¿ÉèÖÃ
|
||||
if /i %cpu_mode% == x86 (
|
||||
|
|
|
@ -50,8 +50,19 @@ windeployqt %publish_path%\QtScrcpy.exe
|
|||
|
||||
:: 删除多余qt依赖包
|
||||
rmdir /s/q %publish_path%\iconengines
|
||||
rmdir /s/q %publish_path%\imageformats
|
||||
rmdir /s/q %publish_path%\translations
|
||||
|
||||
:: 截图功能需要qjpeg.dll
|
||||
del %publish_path%\imageformats\qgif.dll
|
||||
del %publish_path%\imageformats\qicns.dll
|
||||
del %publish_path%\imageformats\qico.dll
|
||||
::del %publish_path%\imageformats\qjpeg.dll
|
||||
del %publish_path%\imageformats\qsvg.dll
|
||||
del %publish_path%\imageformats\qtga.dll
|
||||
del %publish_path%\imageformats\qtiff.dll
|
||||
del %publish_path%\imageformats\qwbmp.dll
|
||||
del %publish_path%\imageformats\qwebp.dll
|
||||
|
||||
if /i %cpu_mode% == x86 (
|
||||
del %publish_path%\vc_redist.x86.exe
|
||||
) else (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue