From 41520351bbf4e34432c7a211112f0e90f8b72a17 Mon Sep 17 00:00:00 2001 From: martinrotter Date: Mon, 11 May 2020 10:17:31 +0200 Subject: [PATCH] Update .travis-install-linux.sh --- resources/scripts/.travis-install-linux.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/scripts/.travis-install-linux.sh b/resources/scripts/.travis-install-linux.sh index e5d8bc4b0..da76f1dce 100755 --- a/resources/scripts/.travis-install-linux.sh +++ b/resources/scripts/.travis-install-linux.sh @@ -20,6 +20,12 @@ chmod a+x linuxdeployqt-continuous-x86_64.AppImage # Create AppImage. unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH ./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -bundle-non-qt-libs -no-translations + +if [ "$USE_WEBENGINE" = true ]; then + # Copy some NSS3 files to prevent WebEngine crashes. + cp /usr/lib/x86_64-linux-gnu/nss/* ./AppDir/usr/lib/ -v +fi + ./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -appimage -no-translations # Rename AppImaage. @@ -39,4 +45,4 @@ fi mv "$imagename" "$imagenewname" -ls \ No newline at end of file +ls