aboutsummaryrefslogtreecommitdiff
path: root/.ci/scripts
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2021-12-15 01:10:07 -0700
committerliushuyu <liushuyu011@gmail.com>2021-12-15 20:57:01 -0700
commit3f765ea9a4598a5b68e8210aec75067f901172b9 (patch)
treebb3ed9be9344d37bbdf4eb7456813246bda3da1f /.ci/scripts
parentb3fc36d9898543d3aa1db336d6b398efb003552d (diff)
video_core/codecs: (re-spin) refactor ffmpeg searching and handling
Diffstat (limited to '.ci/scripts')
-rwxr-xr-x.ci/scripts/windows/docker.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh
index 155d8a5c8..584b9b39f 100755
--- a/.ci/scripts/windows/docker.sh
+++ b/.ci/scripts/windows/docker.sh
@@ -41,12 +41,11 @@ for i in package/*.exe; do
done
pip3 install pefile
-python3 .ci/scripts/windows/scan_dll.py package/*.exe "package/"
-python3 .ci/scripts/windows/scan_dll.py package/imageformats/*.dll "package/"
+python3 .ci/scripts/windows/scan_dll.py package/*.exe package/imageformats/*.dll "package/"
# copy FFmpeg libraries
EXTERNALS_PATH="$(pwd)/build/externals"
-FFMPEG_DLL_PATH="$(find ${EXTERNALS_PATH} -maxdepth 1 -type d | grep ffmpeg)/bin"
+FFMPEG_DLL_PATH="$(find "${EXTERNALS_PATH}" -maxdepth 1 -type d | grep 'ffmpeg-')/bin"
find ${FFMPEG_DLL_PATH} -type f -regex ".*\.dll" -exec cp -v {} package/ ';'
# copy libraries from yuzu.exe path