From 8af62c9997f8255f22bfa70545878db2344a44da Mon Sep 17 00:00:00 2001 From: gxcreator Date: Thu, 23 Apr 2020 21:32:16 +0300 Subject: [PATCH] Fixed packaging on some systems with different QT5 path --- .ci/scripts/windows/docker.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 100644 => 100755 .ci/scripts/windows/docker.sh diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh old mode 100644 new mode 100755 index beb554b65..a55541e10 --- a/.ci/scripts/windows/docker.sh +++ b/.ci/scripts/windows/docker.sh @@ -29,7 +29,13 @@ echo 'Prepare binaries...' cd .. mkdir package -QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/' +if [ -d "/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/" ]; then + QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/' +else + #fallback to qt + QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt/plugins/platforms/' +fi + find build/ -name "yuzu*.exe" -exec cp {} 'package' \; # copy Qt plugins