mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
travis/linux: set QTWEBENGINE_DISABLE_SANDBOX=1 (#4216)
There is an issue with qtwebengine (chromium) and glibc 2.34 affecting Arch and similar rolling release distributions when using Qt<5.15.5 See: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/374204 Fixes: https://github.com/GoldenCheetah/GoldenCheetah/issues/4196 [publish binaries]
This commit is contained in:
@@ -18,6 +18,15 @@ mkdir -p appdir
|
||||
# Executable
|
||||
cp GoldenCheetah appdir
|
||||
|
||||
# AppRun file
|
||||
cat >appdir/AppRun <<EOF
|
||||
#!/bin/bash
|
||||
HERE="\$(dirname "\$(readlink -f "\${0}")")"
|
||||
export QTWEBENGINE_DISABLE_SANDBOX=1
|
||||
exec "\${HERE}/GoldenCheetah" "\$@"
|
||||
EOF
|
||||
chmod a+x appdir/AppRun
|
||||
|
||||
# Desktop file
|
||||
cat >appdir/GoldenCheetah.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
|
||||
Reference in New Issue
Block a user