mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix RPATH on QtWebEngineProcess for Linux AppImage
[skip AppVeyor] [skip osx] [publish binaries] Reported when testing #4597
This commit is contained in:
@@ -66,6 +66,8 @@ rm -rf squashfs-root
|
||||
|
||||
# Generate AppImage
|
||||
wget --no-verbose "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||
# Fix RPATH on QtWebEngineProcess
|
||||
patchelf --set-rpath '$ORIGIN/../lib' appdir/libexec/QtWebEngineProcess
|
||||
chmod a+x appimagetool-x86_64.AppImage
|
||||
./appimagetool-x86_64.AppImage appdir
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -ev
|
||||
|
||||
# Install fuse2, required to run older AppImages
|
||||
sudo add-apt-repository -y universe
|
||||
sudo apt install libfuse2
|
||||
|
||||
# Install qt5.15
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq qtbase5-dev qt5-qmake qtbase5-dev-tools qttools5-dev
|
||||
@@ -65,4 +61,8 @@ wget --no-verbose https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0
|
||||
tar xf ghr_v0.16.2_linux_amd64.tar.gz
|
||||
mv ghr_v0.16.2_linux_amd64 ghr
|
||||
|
||||
# Install fuse2 required to run older AppImages, and patchelf to fix QtWebEngineProcess
|
||||
sudo add-apt-repository -y universe
|
||||
sudo apt install libfuse2 patchelf
|
||||
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user