2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Fixed packaging on some systems with different QT5 path

This commit is contained in:
gxcreator 2020-04-23 21:32:16 +03:00
parent ff0c49e1ce
commit 8af62c9997

6
.ci/scripts/windows/docker.sh Normal file → Executable file
View file

@ -29,7 +29,13 @@ echo 'Prepare binaries...'
cd .. cd ..
mkdir package mkdir package
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/' 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' \; find build/ -name "yuzu*.exe" -exec cp {} 'package' \;
# copy Qt plugins # copy Qt plugins