blob: 36c9db43c477cf8512b5eb392c92505ed1910ea1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -o pipefail
_APPDIR=/usr/lib/@appname@
_RUNNAM="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${_APPDIR}/plugins:${QT_PLUGIN_PATH}"
export QML2_IMPORT_PATH="${_APPDIR}/qml:${QML2_IMPORT_PATH}"
export QTWEBENGINE_DISABLE_SANDBOX=1
cd "${_APPDIR}"
exec "${_RUNNAM}" "$@" || exit $?
|