ci: force correct qt platform plugin

This commit is contained in:
itsmattkc
2022-01-30 13:05:07 -08:00
parent b0c5f47695
commit 5a99f21e06
+7
View File
@@ -408,6 +408,13 @@ jobs:
mv Olive.sym "$SYM_DIR"
fi
if [ "${{ matrix.os-arch }}" == "arm64" ]
then
# macdeployqt is smart enough to pull the right libraries, but not the right platform
# plugin. We have to replace it with the correct arm64 one.
cp $DEP_LOCATION/plugins/platforms/libqcocoa.dylib $BUNDLE_NAME/Contents/PlugIns/platforms
fi
- name: Deploy Packages
working-directory: ${{ runner.workspace }}/build
shell: bash