mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #6495 from lat9nq/mingw-vista-style
ci: windows: Copy the Qt styles directory when packaging
This commit is contained in:
commit
0e2c1a5739
|
@ -18,19 +18,20 @@ cd ..
|
||||||
mkdir package
|
mkdir package
|
||||||
|
|
||||||
if [ -d "/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/" ]; then
|
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_PLUGINS_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins'
|
||||||
else
|
else
|
||||||
#fallback to qt
|
#fallback to qt
|
||||||
QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt/plugins/platforms/'
|
QT_PLUGINS_PATH='/usr/x86_64-w64-mingw32/lib/qt/plugins'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
find build/ -name "yuzu*.exe" -exec cp {} 'package' \;
|
find build/ -name "yuzu*.exe" -exec cp {} 'package' \;
|
||||||
|
|
||||||
# copy Qt plugins
|
# copy Qt plugins
|
||||||
mkdir package/platforms
|
mkdir package/platforms
|
||||||
cp "${QT_PLATFORM_DLL_PATH}/qwindows.dll" package/platforms/
|
cp -v "${QT_PLUGINS_PATH}/platforms/qwindows.dll" package/platforms/
|
||||||
cp -rv "${QT_PLATFORM_DLL_PATH}/../mediaservice/" package/
|
cp -rv "${QT_PLUGINS_PATH}/mediaservice/" package/
|
||||||
cp -rv "${QT_PLATFORM_DLL_PATH}/../imageformats/" package/
|
cp -rv "${QT_PLUGINS_PATH}/imageformats/" package/
|
||||||
|
cp -rv "${QT_PLUGINS_PATH}/styles/" package/
|
||||||
rm -f package/mediaservice/*d.dll
|
rm -f package/mediaservice/*d.dll
|
||||||
|
|
||||||
for i in package/*.exe; do
|
for i in package/*.exe; do
|
||||||
|
|
Loading…
Reference in a new issue